/**
 * 2444.click - Theme Stylesheet
 * Prefix: w458c-
 * Colors: #34495E (bg), #C0C0C0 (text), #00FA9A (green), #7FFF00 (chartreuse), #2E8B57 (sea green)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --w458c-bg: #34495E;
  --w458c-bg-dark: #2C3E50;
  --w458c-bg-light: #3D566E;
  --w458c-text: #C0C0C0;
  --w458c-text-light: #E8E8E8;
  --w458c-accent: #00FA9A;
  --w458c-chartreuse: #7FFF00;
  --w458c-sea-green: #2E8B57;
  --w458c-font-size: 62.5%;
  --w458c-radius: 8px;
  --w458c-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --w458c-transition: all 0.3s ease;
}

/* Reset & Base */
html {
  font-size: var(--w458c-font-size);
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--w458c-bg);
  color: var(--w458c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--w458c-accent);
  text-decoration: none;
  transition: var(--w458c-transition);
}

a:hover {
  color: var(--w458c-chartreuse);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.w458c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--w458c-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  box-shadow: var(--w458c-shadow);
  border-bottom: 1px solid rgba(0, 250, 154, 0.15);
}

.w458c-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w458c-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.w458c-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w458c-accent);
  letter-spacing: 1px;
}

.w458c-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w458c-btn-reg {
  background: linear-gradient(135deg, var(--w458c-accent), var(--w458c-sea-green));
  color: var(--w458c-bg-dark);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--w458c-transition);
  min-height: 32px;
}

.w458c-btn-reg:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 250, 154, 0.4);
}

.w458c-btn-login {
  background: transparent;
  color: var(--w458c-accent);
  border: 1.5px solid var(--w458c-accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w458c-transition);
  min-height: 32px;
}

.w458c-btn-login:hover {
  background: rgba(0, 250, 154, 0.1);
}

.w458c-menu-toggle {
  background: none;
  border: none;
  color: var(--w458c-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay */
.w458c-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--w458c-transition);
}

.w458c-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.w458c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w458c-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 70px 16px 24px;
}

.w458c-menu-active {
  right: 0;
}

.w458c-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--w458c-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.w458c-mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--w458c-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--w458c-transition);
}

.w458c-mobile-menu a:hover {
  color: var(--w458c-accent);
  background: rgba(0, 250, 154, 0.05);
  padding-left: 22px;
}

.w458c-menu-title {
  color: var(--w458c-accent);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 8px 16px 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: none !important;
}

/* Main Content */
main {
  padding-top: 56px;
}

@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

.w458c-container {
  padding: 0 12px;
  max-width: 430px;
  margin: 0 auto;
}

/* Carousel */
.w458c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--w458c-radius);
  margin: 8px 0;
}

.w458c-slides-wrapper {
  position: relative;
  width: 100%;
  padding-top: 42%;
}

.w458c-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.w458c-slide-active {
  opacity: 1;
}

.w458c-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--w458c-radius);
}

.w458c-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.w458c-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--w458c-transition);
}

.w458c-dot-active {
  background: var(--w458c-accent);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.w458c-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w458c-accent);
  padding: 16px 0 10px;
  border-bottom: 2px solid var(--w458c-sea-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.w458c-section-title i {
  font-size: 2rem;
}

/* Game Grid */
.w458c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 0 16px;
}

.w458c-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--w458c-transition);
  border-radius: var(--w458c-radius);
  padding: 6px;
}

.w458c-game-item:hover {
  background: rgba(0, 250, 154, 0.08);
  transform: translateY(-2px);
}

.w458c-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--w458c-radius);
  border: 1.5px solid rgba(0, 250, 154, 0.15);
  object-fit: cover;
}

.w458c-game-item p {
  font-size: 1.1rem;
  color: var(--w458c-text);
  margin-top: 4px;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Modules */
.w458c-module {
  background: var(--w458c-bg-light);
  border-radius: var(--w458c-radius);
  padding: 16px;
  margin: 12px 0;
  border: 1px solid rgba(0, 250, 154, 0.1);
}

.w458c-module h2 {
  font-size: 1.6rem;
  color: var(--w458c-accent);
  margin-bottom: 10px;
}

.w458c-module h3 {
  font-size: 1.4rem;
  color: var(--w458c-chartreuse);
  margin: 10px 0 6px;
}

.w458c-module p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--w458c-text);
  margin-bottom: 8px;
}

.w458c-module ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.w458c-module li {
  font-size: 1.3rem;
  line-height: 1.5rem;
  color: var(--w458c-text);
  margin-bottom: 4px;
}

/* Promo Button in content */
.w458c-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w458c-accent), var(--w458c-sea-green));
  color: var(--w458c-bg-dark);
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--w458c-transition);
  text-align: center;
  margin: 8px 0;
}

.w458c-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(0, 250, 154, 0.5);
}

.w458c-promo-text {
  color: var(--w458c-accent);
  font-weight: 700;
  cursor: pointer;
  transition: var(--w458c-transition);
  text-decoration: underline;
}

.w458c-promo-text:hover {
  color: var(--w458c-chartreuse);
}

/* Footer */
.w458c-footer {
  background: var(--w458c-bg-dark);
  padding: 24px 12px 80px;
  margin-top: 24px;
  border-top: 1px solid rgba(0, 250, 154, 0.15);
}

@media (min-width: 769px) {
  .w458c-footer {
    padding-bottom: 24px;
  }
}

.w458c-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}

.w458c-footer-brand p {
  font-size: 1.2rem;
  color: var(--w458c-text);
  line-height: 1.5rem;
  margin-bottom: 4px;
}

.w458c-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 12px 0;
}

.w458c-footer-links a {
  font-size: 1.2rem;
  color: var(--w458c-text);
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--w458c-transition);
}

.w458c-footer-links a:hover {
  color: var(--w458c-accent);
  background: rgba(0, 250, 154, 0.1);
}

.w458c-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}

.w458c-footer-promo-btn {
  background: linear-gradient(135deg, var(--w458c-accent), var(--w458c-sea-green));
  color: var(--w458c-bg-dark);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w458c-transition);
}

.w458c-footer-promo-btn:hover {
  transform: scale(1.05);
}

.w458c-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(192, 192, 192, 0.6);
  margin-top: 12px;
}

/* Bottom Navigation */
.w458c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--w458c-bg-dark), #1a252f);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid rgba(0, 250, 154, 0.2);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
  .w458c-bottom-nav {
    display: none;
  }
}

.w458c-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--w458c-text);
  cursor: pointer;
  transition: var(--w458c-transition);
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
}

.w458c-bottom-nav-btn:hover,
.w458c-nav-active {
  color: var(--w458c-accent);
  background: rgba(0, 250, 154, 0.08);
  transform: scale(1.05);
}

.w458c-bottom-nav-btn i,
.w458c-bottom-nav-btn .material-icons {
  font-size: 22px;
}

.w458c-bottom-nav-btn ion-icon {
  font-size: 22px;
}

.w458c-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* FAQ Section */
.w458c-faq-item {
  border-bottom: 1px solid rgba(0, 250, 154, 0.1);
  padding: 12px 0;
}

.w458c-faq-item h3 {
  font-size: 1.4rem;
  color: var(--w458c-chartreuse);
  margin-bottom: 6px;
}

.w458c-faq-item p {
  font-size: 1.3rem;
  color: var(--w458c-text);
  line-height: 1.5rem;
}

/* Stats bar */
.w458c-stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  background: var(--w458c-bg-light);
  border-radius: var(--w458c-radius);
  margin: 12px 0;
}

.w458c-stat-item {
  text-align: center;
}

.w458c-stat-item .w458c-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w458c-accent);
}

.w458c-stat-item .w458c-stat-label {
  font-size: 1.1rem;
  color: var(--w458c-text);
}

/* Payment methods */
.w458c-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 8px 0;
}

.w458c-payment-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--w458c-text);
  border: 1px solid rgba(0, 250, 154, 0.15);
}

/* Winner ticker */
.w458c-winner-list {
  max-height: 180px;
  overflow: hidden;
}

.w458c-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 1.2rem;
}

.w458c-winner-name {
  color: var(--w458c-text);
}

.w458c-winner-amount {
  color: var(--w458c-accent);
  font-weight: 700;
}

/* App download CTA */
.w458c-app-cta {
  background: linear-gradient(135deg, var(--w458c-bg-light), var(--w458c-sea-green));
  border-radius: var(--w458c-radius);
  padding: 20px 16px;
  text-align: center;
  margin: 12px 0;
}

.w458c-app-cta h2 {
  color: var(--w458c-accent);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.w458c-app-cta p {
  font-size: 1.3rem;
  color: var(--w458c-text-light);
  margin-bottom: 12px;
}

/* Testimonials */
.w458c-testimonial {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--w458c-radius);
  padding: 12px;
  margin: 8px 0;
  border-left: 3px solid var(--w458c-accent);
}

.w458c-testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--w458c-text);
  margin-bottom: 4px;
}

.w458c-testimonial-author {
  font-size: 1.1rem;
  color: var(--w458c-sea-green);
  font-weight: 600;
}

/* Category highlights */
.w458c-cat-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(0, 250, 154, 0.05);
  border-radius: var(--w458c-radius);
  margin: 8px 0;
  cursor: pointer;
  transition: var(--w458c-transition);
}

.w458c-cat-highlight:hover {
  background: rgba(0, 250, 154, 0.12);
}

.w458c-cat-highlight img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
}

.w458c-cat-highlight-text h3 {
  font-size: 1.3rem;
  color: var(--w458c-accent);
  margin-bottom: 2px;
}

.w458c-cat-highlight-text p {
  font-size: 1.1rem;
  color: var(--w458c-text);
}
