/**
 * 55577.sbs - Main Stylesheet
 * All classes use w3410- prefix for namespace isolation
 * Color palette: #0E1621 | #FFF8DC | #E0E0E0 | #8FBC8F | #7FFF00 | #006400
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --w3410-primary: #006400;
  --w3410-bg: #0E1621;
  --w3410-text: #FFF8DC;
  --w3410-text-light: #E0E0E0;
  --w3410-accent: #8FBC8F;
  --w3410-highlight: #7FFF00;
  --w3410-dark: #0E1621;
  --w3410-card-bg: #162030;
  --w3410-border: #1e3040;
  --w3410-radius: 0.8rem;
  --w3410-radius-sm: 0.5rem;
  --w3410-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--w3410-bg);
  color: var(--w3410-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--w3410-highlight); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.w3410-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w3410-dark);
  border-bottom: 1px solid var(--w3410-border);
  max-width: 430px; margin: 0 auto;
}
.w3410-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; height: 48px;
}
.w3410-logo-area {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer;
}
.w3410-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.w3410-logo-area span {
  font-size: 1.6rem; font-weight: 700; color: var(--w3410-highlight);
  letter-spacing: 1px;
}
.w3410-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w3410-btn-reg, .w3410-btn-login {
  border: none; border-radius: var(--w3410-radius-sm);
  padding: 0.5rem 1.2rem; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: transform 0.15s, opacity 0.15s;
}
.w3410-btn-reg {
  background: var(--w3410-highlight); color: var(--w3410-dark);
}
.w3410-btn-login {
  background: transparent; color: var(--w3410-highlight);
  border: 1px solid var(--w3410-highlight);
}
.w3410-btn-reg:hover, .w3410-btn-login:hover { transform: scale(1.05); opacity: 0.9; }
.w3410-menu-btn {
  background: none; border: none; color: var(--w3410-text-light);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu */
.w3410-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none; opacity: 0; transition: opacity 0.3s;
}
.w3410-overlay-active { display: block; opacity: 1; }
.w3410-mobile-menu {
  position: fixed; top: 0; right: -260px; width: 260px; height: 100%;
  background: var(--w3410-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem;
  border-left: 1px solid var(--w3410-border);
}
.w3410-menu-active { right: 0; }
.w3410-mobile-menu a {
  display: block; padding: 1rem 0; color: var(--w3410-text-light);
  font-size: 1.4rem; border-bottom: 1px solid var(--w3410-border);
  transition: color 0.2s;
}
.w3410-mobile-menu a:hover { color: var(--w3410-highlight); text-decoration: none; }
.w3410-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--w3410-text);
  font-size: 2.4rem; cursor: pointer;
}

/* Main Content */
.w3410-main { padding-top: 48px; }

/* Carousel */
.w3410-carousel {
  position: relative; overflow: hidden;
  border-radius: 0 0 var(--w3410-radius) var(--w3410-radius);
}
.w3410-slide { display: none; cursor: pointer; }
.w3410-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.w3410-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.w3410-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.w3410-dot-active { background: var(--w3410-highlight); }

/* Section */
.w3410-section {
  padding: 1.5rem 1rem;
}
.w3410-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--w3410-highlight);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w3410-primary);
}
.w3410-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.w3410-cat-title {
  font-size: 1.4rem; font-weight: 600; color: var(--w3410-accent);
  margin: 1.2rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--w3410-highlight);
}
.w3410-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.w3410-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.w3410-game-item:hover { transform: translateY(-2px); }
.w3410-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--w3410-radius-sm);
  object-fit: cover; border: 1px solid var(--w3410-border);
}
.w3410-game-item span {
  display: block; font-size: 1.1rem; color: var(--w3410-text-light);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.w3410-card {
  background: var(--w3410-card-bg); border-radius: var(--w3410-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: 1px solid var(--w3410-border);
}
.w3410-card h3 {
  font-size: 1.4rem; color: var(--w3410-highlight); margin-bottom: 0.8rem;
}
.w3410-card p {
  font-size: 1.3rem; color: var(--w3410-text-light); line-height: 1.8rem;
  margin-bottom: 0.5rem;
}
.w3410-card ul {
  padding-left: 1.5rem; color: var(--w3410-text-light); font-size: 1.3rem;
}
.w3410-card ul li { margin-bottom: 0.4rem; line-height: 1.7rem; }

/* Promo Button */
.w3410-promo-btn {
  display: inline-block; background: var(--w3410-highlight);
  color: var(--w3410-dark); padding: 0.8rem 2rem; border-radius: var(--w3410-radius);
  font-weight: 700; font-size: 1.4rem; cursor: pointer;
  border: none; transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; text-align: center;
}
.w3410-promo-btn:hover {
  transform: scale(1.05); box-shadow: 0 4px 15px rgba(127,255,0,0.3);
  text-decoration: none;
}

/* Testimonial */
.w3410-testimonial {
  background: var(--w3410-card-bg); border-radius: var(--w3410-radius);
  padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--w3410-highlight);
}
.w3410-testimonial p { font-size: 1.2rem; color: var(--w3410-text-light); font-style: italic; }
.w3410-testimonial cite {
  display: block; font-size: 1.1rem; color: var(--w3410-accent);
  margin-top: 0.4rem; font-style: normal;
}

/* Payment Grid */
.w3410-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.w3410-payment-item {
  background: var(--w3410-card-bg); border: 1px solid var(--w3410-border);
  border-radius: var(--w3410-radius-sm); padding: 0.6rem 1rem;
  font-size: 1.2rem; color: var(--w3410-text-light);
}

/* Winner Showcase */
.w3410-winner-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--w3410-border);
}
.w3410-winner-item:last-child { border-bottom: none; }
.w3410-winner-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--w3410-primary); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--w3410-highlight);
}
.w3410-winner-info { flex: 1; }
.w3410-winner-info span { font-size: 1.2rem; color: var(--w3410-text-light); }
.w3410-winner-amount {
  font-size: 1.3rem; font-weight: 700; color: var(--w3410-highlight);
}

/* Footer */
.w3410-footer {
  background: var(--w3410-dark); border-top: 1px solid var(--w3410-border);
  padding: 1.5rem 1rem 2rem; margin-top: 2rem;
}
.w3410-footer-brand {
  text-align: center; font-size: 1.2rem; color: var(--w3410-accent);
  margin-bottom: 1rem; line-height: 1.7rem;
}
.w3410-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.w3410-footer-links a {
  background: var(--w3410-card-bg); border: 1px solid var(--w3410-border);
  border-radius: var(--w3410-radius-sm); padding: 0.4rem 0.8rem;
  font-size: 1.1rem; color: var(--w3410-text-light);
  transition: color 0.2s;
}
.w3410-footer-links a:hover { color: var(--w3410-highlight); text-decoration: none; }
.w3410-footer-copy {
  text-align: center; font-size: 1.1rem; color: #555;
  margin-top: 0.8rem;
}

/* Bottom Nav */
.w3410-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--w3410-dark); border-top: 1px solid var(--w3410-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
}
.w3410-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; color: var(--w3410-text-light);
  cursor: pointer; transition: color 0.2s, transform 0.15s;
  padding: 0.3rem;
}
.w3410-bottom-btn i, .w3410-bottom-btn .material-icons {
  font-size: 22px; margin-bottom: 2px;
}
.w3410-bottom-btn span {
  font-size: 1rem; white-space: nowrap;
}
.w3410-bottom-btn:hover, .w3410-bottom-btn.w3410-active {
  color: var(--w3410-highlight); transform: scale(1.08);
}
.w3410-bottom-btn:active { transform: scale(0.95); }

/* Utility */
.w3410-text-center { text-align: center; }
.w3410-mb-1 { margin-bottom: 1rem; }
.w3410-mb-2 { margin-bottom: 2rem; }
.w3410-mt-1 { margin-top: 1rem; }
.w3410-highlight-text { color: var(--w3410-highlight); font-weight: 600; }

/* FAQ Accordion */
.w3410-faq-item {
  border: 1px solid var(--w3410-border); border-radius: var(--w3410-radius-sm);
  margin-bottom: 0.6rem; overflow: hidden;
}
.w3410-faq-q {
  padding: 0.8rem 1rem; background: var(--w3410-card-bg);
  font-weight: 600; font-size: 1.3rem; color: var(--w3410-text);
  cursor: pointer;
}
.w3410-faq-a {
  padding: 0.8rem 1rem; font-size: 1.2rem; color: var(--w3410-text-light);
  line-height: 1.7rem; background: rgba(22,32,48,0.5);
}

/* Step list */
.w3410-steps { counter-reset: step; }
.w3410-step-item {
  display: flex; gap: 0.8rem; margin-bottom: 0.8rem;
  align-items: flex-start;
}
.w3410-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--w3410-primary); color: var(--w3410-highlight);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; flex-shrink: 0;
}
.w3410-step-text {
  font-size: 1.3rem; color: var(--w3410-text-light); line-height: 1.7rem;
}

/* Responsive */
@media (min-width: 769px) {
  .w3410-bottom-nav { display: none; }
  .w3410-menu-btn { display: none; }
}
@media (max-width: 768px) {
  .w3410-main { padding-bottom: 80px; }
}
