/* ============================================================
   789b3 - style-992b.css
   Mobile-first gaming site. All classes use w992b- prefix.
   Palette: #CD5C5C | #8B0000 | #AFEEEE | #2E4057
   ============================================================ */

:root {
  --w992b-primary: #CD5C5C;
  --w992b-deep: #8B0000;
  --w992b-light: #AFEEEE;
  --w992b-bg: #2E4057;
  --w992b-bg-dark: #1f2d3d;
  --w992b-text: #f3f7f8;
  --w992b-muted: #b6c2cc;
  --w992b-accent: #AFEEEE;
  --w992b-gold: #e8c46c;
  --w992b-radius: 12px;
  --w992b-shadow: 0 4px 14px rgba(0,0,0,.35);
}

* { 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: linear-gradient(160deg, var(--w992b-bg) 0%, var(--w992b-bg-dark) 100%);
  color: var(--w992b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

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

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

/* ---------- Header ---------- */
.w992b-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  background: rgba(46,64,87,.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--w992b-deep);
  box-shadow: var(--w992b-shadow);
}
.w992b-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; gap: .6rem;
}
.w992b-logo { display: flex; align-items: center; gap: .5rem; }
.w992b-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w992b-logo-text {
  font-size: 1.7rem; font-weight: 800; color: var(--w992b-primary);
  letter-spacing: .5px;
}
.w992b-header-btns { display: flex; align-items: center; gap: .5rem; }
.w992b-menu-btn {
  background: none; border: 0; color: var(--w992b-text);
  font-size: 2rem; cursor: pointer; padding: .2rem .5rem;
}

.w992b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border: 0; border-radius: 8px; padding: .6rem 1rem; font-size: 1.25rem;
  font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s;
  min-height: 36px; text-decoration: none;
}
.w992b-btn:active { transform: scale(.95); }
.w992b-btn-register { background: linear-gradient(135deg, var(--w992b-primary), var(--w992b-deep)); color: #fff; box-shadow: 0 2px 8px rgba(205,92,92,.4); }
.w992b-btn-login { background: transparent; color: var(--w992b-accent); border: 1px solid var(--w992b-accent); }

/* ---------- Mobile expandable menu ---------- */
.w992b-mobile-menu {
  max-height: 0; overflow: hidden;
  background: var(--w992b-bg-dark);
  transition: max-height .3s ease;
}
.w992b-mobile-menu.w992b-menu-open { max-height: 520px; }
.w992b-mobile-menu ul { list-style: none; padding: .4rem 1rem 1rem; }
.w992b-mobile-menu li a {
  display: block; padding: .9rem 1rem; color: var(--w992b-text);
  border-bottom: 1px solid rgba(175,238,238,.12); font-size: 1.3rem;
}
.w992b-mobile-menu li a:active { background: rgba(205,92,92,.15); }

/* ---------- Main / sections ---------- */
main { padding-top: 64px; padding-bottom: 80px; }
.w992b-section { padding: 1.6rem 0; }
.w992b-section-title {
  font-size: 1.8rem; font-weight: 800; margin-bottom: .9rem;
  color: var(--w992b-primary); display: flex; align-items: center; gap: .5rem;
}
.w992b-section-title i { color: var(--w992b-gold); }
.w992b-intro { color: var(--w992b-muted); font-size: 1.3rem; }

/* ---------- Carousel ---------- */
.w992b-carousel {
  position: relative; border-radius: var(--w992b-radius); overflow: hidden;
  box-shadow: var(--w992b-shadow); margin-bottom: 1.2rem;
}
.w992b-slide {
  display: none; cursor: pointer; position: relative;
}
.w992b-slide.w992b-slide-active { display: block; }
.w992b-slide img { width: 100%; height: 180px; object-fit: cover; }
.w992b-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  padding: 1.2rem 1rem .8rem; font-size: 1.3rem; font-weight: 700;
}
.w992b-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.4); color: #fff; cursor: pointer; font-size: 1.6rem;
}
.w992b-carousel-nav.w992b-prev { left: 8px; }
.w992b-carousel-nav.w992b-next { right: 8px; }
.w992b-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem;
}
.w992b-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: 0; cursor: pointer; }
.w992b-dot.w992b-dot-active { background: var(--w992b-gold); }

/* ---------- Filter chips ---------- */
.w992b-filter-row {
  display: flex; gap: .5rem; overflow-x: auto; padding: .4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.w992b-filter-chip {
  flex: 0 0 auto; padding: .5rem 1rem; border-radius: 20px;
  background: rgba(175,238,238,.1); color: var(--w992b-muted);
  font-size: 1.2rem; border: 1px solid rgba(175,238,238,.2); cursor: pointer;
  white-space: nowrap;
}
.w992b-filter-chip.w992b-chip-active {
  background: var(--w992b-primary); color: #fff; border-color: var(--w992b-primary);
}

/* ---------- Game grid ---------- */
.w992b-game-group { margin-bottom: 1.6rem; }
.w992b-group-title {
  font-size: 1.5rem; font-weight: 700; color: var(--w992b-gold);
  margin-bottom: .8rem; padding-left: .4rem;
  border-left: 3px solid var(--w992b-primary);
}
.w992b-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
}
.w992b-game-card {
  background: rgba(255,255,255,.05); border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: transform .15s; border: 1px solid rgba(175,238,238,.1);
  text-align: center;
}
.w992b-game-card:active { transform: scale(.95); }
.w992b-game-card img { width: 100%; height: 84px; object-fit: cover; }
.w992b-game-name {
  font-size: 1.05rem; padding: .35rem .2rem .5rem; color: var(--w992b-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-height: 30px;
}

/* ---------- Info / feature cards ---------- */
.w992b-card {
  background: rgba(255,255,255,.05); border-radius: var(--w992b-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: 1px solid rgba(175,238,238,.12);
}
.w992b-card h3 { font-size: 1.4rem; color: var(--w992b-primary); margin-bottom: .5rem; }
.w992b-card p { font-size: 1.25rem; color: var(--w992b-muted); margin-bottom: .4rem; }
.w992b-card ul { padding-left: 1.4rem; color: var(--w992b-muted); font-size: 1.2rem; }
.w992b-card li { margin-bottom: .3rem; }

.w992b-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem;
}
.w992b-feature-item {
  background: rgba(175,238,238,.06); border-radius: 10px; padding: 1rem .6rem;
  text-align: center; border: 1px solid rgba(175,238,238,.15);
}
.w992b-feature-item i { font-size: 2.2rem; color: var(--w992b-gold); margin-bottom: .4rem; }
.w992b-feature-item span { display: block; font-size: 1.15rem; font-weight: 600; }

/* ---------- Promo banner ---------- */
.w992b-promo-banner {
  background: linear-gradient(135deg, var(--w992b-deep), var(--w992b-primary));
  border-radius: var(--w992b-radius); padding: 1.2rem; text-align: center;
  margin-bottom: 1.2rem; box-shadow: var(--w992b-shadow);
}
.w992b-promo-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: .4rem; }
.w992b-promo-banner p { color: rgba(255,255,255,.9); font-size: 1.2rem; margin-bottom: .8rem; }
.w992b-promo-btn {
  display: inline-block; background: var(--w992b-gold); color: var(--w992b-deep);
  padding: .7rem 1.6rem; border-radius: 8px; font-weight: 800; font-size: 1.3rem;
  cursor: pointer;
}

/* ---------- Testimonials ---------- */
.w992b-testimonial {
  background: rgba(255,255,255,.05); border-radius: 10px; padding: 1rem;
  margin-bottom: .8rem; border-left: 3px solid var(--w992b-gold);
}
.w992b-testimonial .w992b-stars { color: var(--w992b-gold); font-size: 1.2rem; margin-bottom: .3rem; }
.w992b-testimonial p { font-size: 1.2rem; color: var(--w992b-muted); }
.w992b-testimonial .w992b-author { font-size: 1.1rem; color: var(--w992b-accent); margin-top: .3rem; }

/* ---------- Payment / winners compact ---------- */
.w992b-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.w992b-pay-chip {
  background: rgba(175,238,238,.1); border-radius: 8px; padding: .5rem .9rem;
  font-size: 1.1rem; color: var(--w992b-accent); border: 1px solid rgba(175,238,238,.2);
}
.w992b-winner-row {
  display: flex; justify-content: space-between; padding: .6rem 0;
  border-bottom: 1px dashed rgba(175,238,238,.15); font-size: 1.2rem;
}
.w992b-winner-row .w992b-amt { color: var(--w992b-gold); font-weight: 700; }

/* ---------- RTP table ---------- */
.w992b-rpt-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w992b-rpt-table th, .w992b-rpt-table td { padding: .6rem .4rem; text-align: left; border-bottom: 1px solid rgba(175,238,238,.12); }
.w992b-rpt-table th { color: var(--w992b-gold); }
.w992b-rpt-table td.w992b-rt-val { color: var(--w992b-accent); font-weight: 700; }

/* ---------- SEO content links ---------- */
.w992b-content p { font-size: 1.25rem; color: var(--w992b-muted); margin-bottom: .8rem; }
.w992b-content a { color: var(--w992b-primary); font-weight: 600; text-decoration: underline; }
.w992b-content h2 { font-size: 1.6rem; color: var(--w992b-primary); margin: 1.4rem 0 .6rem; }
.w992b-content h3 { font-size: 1.35rem; color: var(--w992b-gold); margin: 1rem 0 .4rem; }
.w992b-content ul { padding-left: 1.4rem; color: var(--w992b-muted); font-size: 1.2rem; margin-bottom: .8rem; }
.w992b-content li { margin-bottom: .3rem; }

/* ---------- Play now CTA ---------- */
.w992b-cta {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, var(--w992b-primary), var(--w992b-deep));
  color: #fff; padding: 1.1rem; border-radius: var(--w992b-radius);
  font-size: 1.5rem; font-weight: 800; cursor: pointer; border: 0;
  box-shadow: var(--w992b-shadow); margin: 1.2rem 0;
}

/* ---------- Footer ---------- */
.w992b-footer {
  background: var(--w992b-bg-dark); padding: 1.6rem 1.2rem 2rem;
  border-top: 2px solid var(--w992b-deep);
}
.w992b-footer-brand { font-size: 1.3rem; color: var(--w992b-muted); margin-bottom: 1rem; line-height: 1.6rem; }
.w992b-footer-links { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin-bottom: 1rem; }
.w992b-footer-links a {
  font-size: 1.15rem; color: var(--w992b-accent);
  padding: .3rem .6rem; border: 1px solid rgba(175,238,238,.2); border-radius: 6px;
}
.w992b-footer-promo { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.w992b-footer-promo button {
  flex: 1 1 auto; min-width: 45%; background: var(--w992b-primary); color: #fff;
  border: 0; border-radius: 8px; padding: .6rem; font-size: 1.15rem; font-weight: 700; cursor: pointer;
}
.w992b-footer-copy { font-size: 1.1rem; color: var(--w992b-muted); text-align: center; border-top: 1px solid rgba(175,238,238,.1); padding-top: .8rem; }

/* ---------- Mobile bottom nav ---------- */
.w992b-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto;
  height: 60px; background: rgba(31,45,61,.98);
  border-top: 2px solid var(--w992b-deep);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.w992b-bottomnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--w992b-muted);
  font-size: 1rem; min-width: 60px; min-height: 60px; cursor: pointer;
  gap: .15rem; transition: color .15s, transform .15s;
}
.w992b-bottomnav-btn i, .w992b-bottomnav-btn .material-icons-outlined,
.w992b-bottomnav-btn .ion { font-size: 24px; }
.w992b-bottomnav-btn:active { transform: scale(.9); }
.w992b-bottomnav-btn.w992b-nav-active { color: var(--w992b-primary); }
.w992b-bottomnav-btn.w992b-nav-active i,
.w992b-bottomnav-btn.w992b-nav-active .material-icons-outlined { color: var(--w992b-gold); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w992b-bottomnav { display: none; }
  main { padding-bottom: 2rem; }
}

/* Desktop tweaks */
@media (min-width: 431px) {
  body { max-width: 430px; }
}

/* Back-to-top FAB */
.w992b-fab-top {
  position: fixed; bottom: 72px; right: 14px; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--w992b-primary); color: #fff; font-size: 1.6rem; cursor: pointer;
  box-shadow: var(--w992b-shadow);
}
