/* nh881 click - design.css
   All custom classes use the s0c8- prefix.
   Palette: #4DB6AC | #F0FDFF | #212F3D | #5F9EA0 | #20B2AA
   Dark tones are backgrounds, light tones are text/accents. */

:root {
  --s0c8-primary: #4DB6AC;
  --s0c8-secondary: #5F9EA0;
  --s0c8-accent: #20B2AA;
  --s0c8-bg: #212F3D;
  --s0c8-bg-alt: #18242F;
  --s0c8-surface: #2A3A4A;
  --s0c8-text: #F0FDFF;
  --s0c8-text-muted: #B8D4D0;
  --s0c8-gold: #F4C95D;
  --s0c8-radius: 1.2rem;
  --s0c8-shadow: 0 0.4rem 1.6rem rgba(0,0,0,0.35);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--s0c8-bg);
  color: var(--s0c8-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--s0c8-primary); text-decoration: none; }

.s0c8-container { width: 100%; padding: 0 1.2rem; }
.s0c8-wrapper { max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.s0c8-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--s0c8-bg-alt), var(--s0c8-bg));
  border-bottom: 0.2rem solid var(--s0c8-primary);
  box-shadow: var(--s0c8-shadow);
}
.s0c8-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
  min-height: 5.6rem;
}
.s0c8-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--s0c8-text); font-weight: 700; font-size: 1.5rem;
}
.s0c8-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.s0c8-logo .s0c8-logo-accent { color: var(--s0c8-primary); }

.s0c8-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s0c8-menu-btn {
  background: transparent; border: 0.1rem solid var(--s0c8-secondary);
  color: var(--s0c8-text); width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem; font-size: 2rem; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Buttons ---------- */
.s0c8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.4rem; border-radius: 2.4rem;
  font-weight: 700; font-size: 1.3rem; border: none; cursor: pointer;
  min-height: 4rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.s0c8-btn:active { transform: scale(0.96); }
.s0c8-btn-primary { background: linear-gradient(135deg, var(--s0c8-primary), var(--s0c8-accent)); color: #06231F; }
.s0c8-btn-secondary { background: transparent; border: 0.15rem solid var(--s0c8-primary); color: var(--s0c8-primary); }
.s0c8-btn-gold { background: linear-gradient(135deg, var(--s0c8-gold), #E0A93A); color: #2A1E00; }
.s0c8-btn-block { width: 100%; }
.s0c8-btn-lg { padding: 1rem 1.6rem; font-size: 1.4rem; min-height: 4.6rem; }

/* ---------- Mobile menu ---------- */
#x0c89-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 78%; max-width: 320px; height: 100vh;
  background: var(--s0c8-bg-alt);
  z-index: 9999; padding: 6rem 1.6rem 2rem;
  transition: right 0.28s ease; overflow-y: auto;
  border-left: 0.2rem solid var(--s0c8-primary);
}
.s0c8-menu-open { right: 0 !important; }
.s0c8-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; display: none;
}
.s0c8-menu-open + .s0c8-menu-overlay { display: block; }
#x0c89-mobile-menu h3 {
  color: var(--s0c8-primary); font-size: 1.4rem; margin: 1.6rem 0 0.6rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.s0c8-menu-link {
  display: block; padding: 1rem 0.8rem; color: var(--s0c8-text);
  border-bottom: 0.1rem solid rgba(77,182,172,0.15); font-size: 1.4rem;
}
.s0c8-menu-link:active { background: rgba(77,182,172,0.12); }

/* ---------- Main / sections ---------- */
.s0c8-main { padding-top: 6rem; }
.s0c8-section { padding: 2rem 0; }
.s0c8-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--s0c8-text);
  margin-bottom: 1rem; padding-left: 0.8rem;
  border-left: 0.4rem solid var(--s0c8-primary);
}
.s0c8-section-sub { color: var(--s0c8-text-muted); font-size: 1.3rem; margin-bottom: 1.2rem; }

/* ---------- Carousel ---------- */
.s0c8-carousel {
  position: relative; width: 100%; height: 18rem;
  border-radius: var(--s0c8-radius); overflow: hidden;
  box-shadow: var(--s0c8-shadow); margin-bottom: 1.6rem;
}
.s0c8-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.s0c8-slide-active { opacity: 1; }
.s0c8-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.s0c8-carousel-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(33,47,61,0.78); padding: 0.8rem 1rem; border-radius: 1rem;
}
.s0c8-carousel-caption strong { color: var(--s0c8-primary); font-size: 1.3rem; }
.s0c8-carousel-caption span { color: var(--s0c8-text); font-size: 1.2rem; display: block; }
.s0c8-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 2;
}
.s0c8-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(240,253,255,0.4); border: none; cursor: pointer;
}
.s0c8-dot-active { background: var(--s0c8-primary); }

/* ---------- Game grid ---------- */
.s0c8-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s0c8-game-card {
  background: var(--s0c8-surface); border-radius: 1rem; overflow: hidden;
  cursor: pointer; position: relative; transition: transform 0.15s ease;
  border: 0.1rem solid rgba(77,182,172,0.2);
}
.s0c8-game-card:active { transform: scale(0.95); }
.s0c8-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.s0c8-game-name {
  font-size: 1.1rem; color: var(--s0c8-text); text-align: center;
  padding: 0.5rem 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s0c8-game-badge {
  position: absolute; top: 0.4rem; left: 0.4rem;
  background: var(--s0c8-gold); color: #2A1E00; font-size: 0.9rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 0.5rem;
}
.s0c8-cat-heading {
  font-size: 1.5rem; color: var(--s0c8-primary); font-weight: 700;
  margin: 1.6rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}

/* ---------- Cards / features ---------- */
.s0c8-card {
  background: var(--s0c8-surface); border-radius: var(--s0c8-radius);
  padding: 1.4rem; margin-bottom: 1.2rem; box-shadow: var(--s0c8-shadow);
  border: 0.1rem solid rgba(77,182,172,0.15);
}
.s0c8-card h3 { color: var(--s0c8-primary); font-size: 1.5rem; margin-bottom: 0.6rem; }
.s0c8-card p { color: var(--s0c8-text-muted); font-size: 1.3rem; }
.s0c8-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.s0c8-feature-item {
  background: var(--s0c8-surface); border-radius: 1rem; padding: 1.2rem;
  text-align: center; border: 0.1rem solid rgba(77,182,172,0.15);
}
.s0c8-feature-item .material-icons,
.s0c8-feature-item .s0c8-icon { font-size: 2.6rem; color: var(--s0c8-primary); }
.s0c8-feature-item h4 { font-size: 1.3rem; margin: 0.6rem 0 0.3rem; color: var(--s0c8-text); }
.s0c8-feature-item p { font-size: 1.1rem; color: var(--s0c8-text-muted); }

/* ---------- Testimonials ---------- */
.s0c8-testimonial {
  background: var(--s0c8-surface); border-radius: 1rem; padding: 1.2rem;
  margin-bottom: 1rem; border-left: 0.3rem solid var(--s0c8-accent);
}
.s0c8-testimonial p { font-size: 1.25rem; color: var(--s0c8-text); margin-bottom: 0.5rem; }
.s0c8-testimonial .s0c8-author { color: var(--s0c8-primary); font-size: 1.1rem; font-weight: 700; }

/* ---------- Winners ---------- */
.s0c8-winner-row {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--s0c8-surface); padding: 0.8rem 1rem; border-radius: 0.8rem;
  margin-bottom: 0.6rem;
}
.s0c8-winner-row .s0c8-amount { color: var(--s0c8-gold); font-weight: 700; font-size: 1.2rem; margin-left: auto; }

/* ---------- Payment ---------- */
.s0c8-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s0c8-pay-chip {
  background: var(--s0c8-surface); border: 0.1rem solid rgba(77,182,172,0.3);
  color: var(--s0c8-text); padding: 0.6rem 1rem; border-radius: 2rem; font-size: 1.1rem;
}

/* ---------- SEO content ---------- */
.s0c8-seo-text { font-size: 1.3rem; color: var(--s0c8-text-muted); line-height: 1.7; }
.s0c8-seo-text a { color: var(--s0c8-primary); border-bottom: 0.1rem dotted var(--s0c8-primary); }
.s0c8-seo-text h2, .s0c8-seo-text h3 { color: var(--s0c8-text); margin: 1.2rem 0 0.5rem; }
.s0c8-seo-text p { margin-bottom: 0.8rem; }
.s0c8-seo-text ul { padding-left: 1.6rem; margin-bottom: 0.8rem; }

/* ---------- Footer ---------- */
.s0c8-footer {
  background: var(--s0c8-bg-alt); border-top: 0.2rem solid var(--s0c8-primary);
  padding: 2rem 1.2rem 6rem; margin-top: 2rem;
}
.s0c8-footer-brand { font-size: 1.3rem; color: var(--s0c8-text-muted); margin-bottom: 1rem; }
.s0c8-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 1.2rem;
}
.s0c8-footer-links a { color: var(--s0c8-text); font-size: 1.2rem; padding: 0.3rem 0; }
.s0c8-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.s0c8-footer-copy { color: var(--s0c8-text-muted); font-size: 1.1rem; border-top: 0.1rem solid rgba(255,255,255,0.08); padding-top: 1rem; }

/* ---------- Bottom navigation ---------- */
.s0c8-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--s0c8-bg-alt), #0E1820);
  border-top: 0.15rem solid var(--s0c8-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 6rem; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.4);
}
.s0c8-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; background: transparent; border: none; color: var(--s0c8-text-muted);
  font-size: 1rem; cursor: pointer; transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none; padding: 0.4rem 0;
}
.s0c8-bottomnav-btn .material-icons,
.s0c8-bottomnav-btn .s0c8-nav-icon { font-size: 2.4rem; }
.s0c8-bottomnav-btn:active { transform: scale(0.9); }
.s0c8-bottomnav-btn:hover { color: var(--s0c8-primary); }
.s0c8-nav-active { color: var(--s0c8-primary); }
.s0c8-nav-active .material-icons,
.s0c8-nav-active .s0c8-nav-icon { color: var(--s0c8-gold); }
.s0c8-nav-label { font-size: 1rem; line-height: 1.1; }

/* Mobile bottom padding for content clearance */
@media (max-width: 768px) {
  .s0c8-main { padding-bottom: 80px; }
  .s0c8-footer { padding-bottom: 7rem; }
}

/* Desktop: hide bottom nav, widen layout */
@media (min-width: 769px) {
  body { max-width: 960px; }
  .s0c8-bottomnav { display: none; }
  .s0c8-header-inner, .s0c8-wrapper, .s0c8-carousel, .s0c8-footer { max-width: 960px; }
  .s0c8-grid { grid-template-columns: repeat(6, 1fr); }
  .s0c8-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Utility */
.s0c8-center { text-align: center; }
.s0c8-mt1 { margin-top: 1rem; }
.s0c8-mb1 { margin-bottom: 1rem; }
.s0c8-cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.s0c8-pill {
  display: inline-block; background: rgba(77,182,172,0.18); color: var(--s0c8-primary);
  padding: 0.3rem 0.9rem; border-radius: 2rem; font-size: 1.1rem; font-weight: 700;
}
