/* Classic Game Zone - core base stylesheet | Prefix: s810- | English comments only. */
:root {
  --s810-primary: #FFAA00;
  --s810-bg: #212F3D;
  --s810-bg-light: #2c3e50;
  --s810-bg-dark: #18222d;
  --s810-text: #F8F8FF;
  --s810-text-muted: #696969;
  --s810-accent: #FFAA00;
  --s810-border: rgba(255, 170, 0, 0.25);
  --s810-radius: 1.0rem;
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--s810-bg);
  color: var(--s810-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--s810-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.s810-container { width: 100%; padding: 0 1.2rem; }
.s810-wrapper { padding: 1.2rem 0; }

/* ============ Header ============ */
.s810-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--s810-bg-dark);
  border-bottom: 2px solid var(--s810-primary);
  max-width: 430px;
  margin: 0 auto;
}
.s810-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.0rem;
  min-height: 5.2rem;
}
.s810-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s810-text);
  font-weight: 700;
  font-size: 1.6rem;
}
.s810-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.s810-logo span { color: var(--s810-primary); }

.s810-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.s810-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 2.0rem;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 3.6rem;
  text-decoration: none;
}
.s810-btn:active { transform: scale(0.96); }
.s810-btn:hover { text-decoration: none; }
.s810-btn-primary { background: var(--s810-primary); color: #1a1205; }
.s810-btn-outline {
  background: transparent;
  color: var(--s810-primary);
  border: 1.5px solid var(--s810-primary);
}
.s810-menu-btn {
  background: transparent;
  border: none;
  color: var(--s810-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Mobile menu ============ */
.s810-mobile-menu {
  position: fixed;
  top: 5.2rem; left: 0; right: 0;
  background: var(--s810-bg-light);
  border-bottom: 2px solid var(--s810-primary);
  max-width: 430px;
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.s810-menu-open { max-height: 60rem; }
.s810-mobile-menu ul { list-style: none; padding: 0.8rem 1.2rem; }
.s810-mobile-menu li { border-bottom: 1px solid rgba(248,248,255,0.08); }
.s810-mobile-menu li:last-child { border-bottom: none; }
.s810-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.0rem 0.4rem;
  color: var(--s810-text);
  font-size: 1.4rem;
}
.s810-mobile-menu a:hover { color: var(--s810-primary); }

/* ============ Main / sections ============ */
.s810-main { padding-top: 5.2rem; padding-bottom: 1.0rem; }
.s810-section { padding: 1.6rem 1.2rem; }
.s810-section h2 {
  font-size: 1.8rem;
  color: var(--s810-primary);
  margin-bottom: 0.8rem;
  line-height: 2.2rem;
}
.s810-section h3 {
  font-size: 1.5rem;
  color: var(--s810-text);
  margin: 1.0rem 0 0.6rem;
}
.s810-section p { margin-bottom: 0.8rem; color: var(--s810-text); }
.s810-text-muted { color: var(--s810-text-muted); }

/* ============ Hero / Carousel ============ */
.s810-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.0rem;
  margin: 1.0rem 0;
}
.s810-slides { position: relative; width: 100%; aspect-ratio: 16/9; }
.s810-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.s810-slide img { width: 100%; height: 100%; object-fit: cover; }
.s810-slide-active { opacity: 1; }
.s810-slide-caption {
  position: absolute;
  left: 1.0rem; bottom: 1.0rem;
  background: rgba(33,47,61,0.75);
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--s810-primary);
}
.s810-dots {
  position: absolute;
  bottom: 0.6rem; right: 1.0rem;
  display: flex; gap: 0.4rem;
}
.s810-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(248,248,255,0.4);
  border: none; cursor: pointer;
}
.s810-dot-active { background: var(--s810-primary); }

/* ============ Hero CTA banner ============ */
.s810-hero-cta {
  background: linear-gradient(135deg, var(--s810-primary), #ff8c00);
  color: #1a1205;
  padding: 1.6rem 1.2rem;
  border-radius: 1.0rem;
  margin: 1.0rem 0;
  text-align: center;
}
.s810-hero-cta h2 { color: #1a1205; font-size: 1.9rem; margin-bottom: 0.4rem; }
.s810-hero-cta p { color: #2a1d05; margin-bottom: 1.0rem; }
.s810-hero-cta .s810-btn { background: #1a1205; color: var(--s810-primary); }

/* ============ Game grid ============ */
.s810-cat-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  color: var(--s810-primary);
  margin: 1.6rem 0 0.8rem;
  border-left: 4px solid var(--s810-primary);
  padding-left: 0.8rem;
}
.s810-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s810-game-card {
  background: var(--s810-bg-light);
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255,170,0,0.12);
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  display: block;
}
.s810-game-card:active { transform: scale(0.96); }
.s810-game-card:hover { border-color: var(--s810-primary); text-decoration: none; }
.s810-game-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #0f1820;
}
.s810-game-name {
  padding: 0.4rem 0.5rem;
  font-size: 1.1rem;
  color: var(--s810-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Info cards ============ */
.s810-card {
  background: var(--s810-bg-light);
  border-radius: 1.0rem;
  padding: 1.2rem;
  margin-bottom: 1.0rem;
  border: 1px solid rgba(255,170,0,0.12);
}
.s810-card h3 { color: var(--s810-primary); margin-bottom: 0.6rem; }
.s810-features { display: grid; gap: 0.8rem; }
.s810-feature {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem;
  background: var(--s810-bg-dark);
  border-radius: 0.8rem;
}
.s810-feature .s810-ico { color: var(--s810-primary); font-size: 2.0rem; }
.s810-feature h4 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.s810-feature p { font-size: 1.2rem; color: var(--s810-text-muted); }

/* ============ RTP table ============ */
.s810-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.s810-rtp-table th, .s810-rtp-table td {
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid rgba(248,248,255,0.08);
  text-align: left;
}
.s810-rtp-table th { color: var(--s810-primary); }
.s810-rtp-table td:last-child { color: var(--s810-primary); font-weight: 700; }

/* ============ Testimonials ============ */
.s810-testimonials { display: grid; gap: 0.8rem; }
.s810-testimonial {
  background: var(--s810-bg-dark);
  border-radius: 0.8rem;
  padding: 1.0rem;
  border-left: 3px solid var(--s810-primary);
}
.s810-testimonial p { font-style: italic; font-size: 1.2rem; }
.s810-testimonial .s810-author { color: var(--s810-primary); font-size: 1.1rem; margin-top: 0.4rem; font-weight: 700; }

/* ============ Winners ============ */
.s810-winners { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
.s810-winner {
  background: var(--s810-bg-dark);
  border-radius: 0.6rem;
  padding: 0.6rem;
  text-align: center;
  font-size: 1.1rem;
}
.s810-winner .s810-amount { color: var(--s810-primary); font-weight: 700; font-size: 1.3rem; }

/* ============ Payment methods ============ */
.s810-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s810-payment {
  background: var(--s810-bg-dark);
  border-radius: 0.6rem;
  padding: 0.6rem 1.0rem;
  font-size: 1.2rem;
  display: flex; align-items: center; gap: 0.4rem;
  border: 1px solid rgba(255,170,0,0.15);
}
.s810-payment .s810-ico { color: var(--s810-primary); }

/* ============ App download CTA ============ */
.s810-app-cta {
  background: var(--s810-bg-light);
  border-radius: 1.0rem;
  padding: 1.4rem;
  text-align: center;
  border: 1px solid var(--s810-border);
  margin: 1.0rem 0;
}
.s810-app-cta h3 { color: var(--s810-primary); margin-bottom: 0.6rem; }
.s810-app-cta .s810-btn { margin: 0.6rem 0.4rem 0; }

/* ============ Play now banner ============ */
.s810-playnow {
  background: linear-gradient(135deg, var(--s810-primary), #ff8c00);
  color: #1a1205;
  border-radius: 1.0rem;
  padding: 1.4rem;
  text-align: center;
  margin: 1.0rem 0;
}
.s810-playnow h3 { color: #1a1205; margin-bottom: 0.4rem; font-size: 1.6rem; }
.s810-playnow .s810-btn { background: #1a1205; color: var(--s810-primary); }

/* ============ Inline promo link ============ */
.s810-link-text {
  color: var(--s810-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ============ Footer ============ */
.s810-footer {
  background: var(--s810-bg-dark);
  padding: 1.6rem 1.2rem 8.0rem;
  border-top: 2px solid var(--s810-primary);
  margin-top: 1.0rem;
}
.s810-footer p { font-size: 1.2rem; color: var(--s810-text-muted); margin-bottom: 0.8rem; }
.s810-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin: 0.8rem 0;
}
.s810-footer-links a { color: var(--s810-text); font-size: 1.2rem; padding: 0.4rem 0; }
.s810-footer-links a:hover { color: var(--s810-primary); }
.s810-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.s810-footer-promo .s810-btn { font-size: 1.1rem; padding: 0.4rem 0.9rem; }
.s810-copyright {
  font-size: 1.1rem; color: var(--s810-text-muted);
  text-align: center; margin-top: 0.8rem;
}

/* ============ Bottom navigation ============ */
.s810-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 6.0rem;
  background: var(--s810-bg-dark);
  border-top: 2px solid var(--s810-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
}
.s810-bottomnav-btn {
  flex: 1;
  min-width: 6.0rem;
  min-height: 6.0rem;
  background: transparent;
  border: none;
  color: var(--s810-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.0rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s810-bottomnav-btn .s810-ico { font-size: 2.2rem; }
.s810-bottomnav-btn .material-icons,
.s810-bottomnav-btn .ion-icon { font-size: 2.2rem; }
.s810-bottomnav-btn:active { transform: scale(0.92); }
.s810-bottomnav-btn:hover { color: var(--s810-primary); }
.s810-bottomnav-active { color: var(--s810-primary); }
.s810-bottomnav-badge {
  position: absolute;
  top: 0.4rem; right: 1.6rem;
  background: #e74c3c;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 1.0rem;
  padding: 0 0.4rem;
  min-width: 1.4rem;
  height: 1.4rem;
  line-height: 1.4rem;
  text-align: center;
}
.s810-bottomnav-btn { position: relative; }

/* ============ Desktop: hide bottom nav, show inline nav ============ */
@media (min-width: 769px) {
  .s810-bottomnav { display: none; }
}
@media (max-width: 768px) {
  .s810-main { padding-bottom: 7.0rem; }
}
