/* ============================================================
   jili777 ph - Core Stylesheet (mobile-first)
   Prefix: w806b-
   Palette: #F08080 | #D2B48C | #999999 | #1B263B | #CD853F | #8B008B
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --w806b-primary: #F08080;       /* light coral */
  --w806b-accent:  #CD853F;       /* peru */
  --w806b-gold:    #D2B48C;       /* tan */
  --w806b-muted:   #999999;       /* gray */
  --w806b-deep:    #1B263B;       /* navy bg */
  --w806b-magenta: #8B008B;       /* dark magenta */
  --w806b-bg:      #141d2e;
  --w806b-bg-2:    #1c2841;
  --w806b-card:    #202c47;
  --w806b-text:    #f4eee2;
  --w806b-text-dim:#c9c3b7;
  --w806b-border:  rgba(240,128,128,.18);
  --w806b-shadow:  0 .4rem 1.2rem rgba(0,0,0,.35);
  --w806b-radius:  1rem;
  --w806b-radius-sm: .6rem;
  --w806b-maxw:    430px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, #23314f 0%, var(--w806b-bg) 60%);
  color: var(--w806b-text);
  line-height: 1.6;
  font-size: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w806b-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--w806b-gold); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.25; color: var(--w806b-text); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.65rem; }
p  { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.w806b-wrapper {
  width: 100%;
  max-width: var(--w806b-maxw);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.w806b-main { padding-bottom: 9rem; } /* space for bottom nav */
section { padding: 2.2rem 0; }

/* ---------- Header ---------- */
.w806b-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20,29,46,.96) 0%, rgba(20,29,46,.88) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w806b-border);
}
.w806b-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5.6rem;
}
.w806b-brand {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 700; color: var(--w806b-text);
}
.w806b-brand img { width: 2.8rem; height: 2.8rem; border-radius: 50%; }
.w806b-brand span { font-size: 1.5rem; letter-spacing: .03em; }
.w806b-brand strong { color: var(--w806b-primary); }
.w806b-actions { display: flex; align-items: center; gap: .6rem; }
.w806b-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.w806b-btn:active { transform: scale(.96); }
.w806b-btn-login {
  color: var(--w806b-text);
  border: 1px solid var(--w806b-gold);
  background: rgba(210,180,140,.08);
}
.w806b-btn-register {
  color: #1a0d0d;
  background: linear-gradient(135deg, var(--w806b-primary) 0%, var(--w806b-accent) 100%);
  box-shadow: 0 .4rem 1rem rgba(240,128,128,.35);
}
.w806b-menu-toggle {
  width: 3.6rem; height: 3.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--w806b-text);
  background: rgba(255,255,255,.05);
  font-size: 1.8rem;
}

/* ---------- Mobile dropdown menu ---------- */
.w806b-menu {
  position: fixed; top: 5.6rem; left: 0; right: 0;
  background: var(--w806b-bg-2);
  border-bottom: 1px solid var(--w806b-border);
  padding: 1rem 1.4rem 1.6rem;
  transform: translateY(-130%);
  transition: transform .3s ease;
  z-index: 9999;
  max-height: calc(100vh - 5.6rem);
  overflow-y: auto;
}
.w806b-menu.open { transform: translateY(0); }
.w806b-menu h4 {
  font-size: 1.25rem; color: var(--w806b-gold);
  margin: 1rem 0 .5rem; text-transform: uppercase; letter-spacing: .12em;
}
.w806b-menu a {
  display: block; padding: .8rem .4rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--w806b-text);
  font-size: 1.4rem;
}
.w806b-menu a:hover { color: var(--w806b-primary); padding-left: 1rem; }

/* ---------- Carousel ---------- */
.w806b-carousel {
  margin-top: 6.4rem;
  position: relative;
  border-radius: var(--w806b-radius);
  overflow: hidden;
  box-shadow: var(--w806b-shadow);
}
.w806b-slides { display: flex; scroll-snap-type: x mandatory; overflow-x: auto; }
.w806b-slides::-webkit-scrollbar { display: none; }
.w806b-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
}
.w806b-slide img { width: 100%; height: 18rem; object-fit: cover; }
.w806b-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: #fff;
}
.w806b-slide-cap strong { color: var(--w806b-primary); display: block; font-size: 1.6rem; }
.w806b-slide-cap span { font-size: 1.25rem; color: var(--w806b-gold); }
.w806b-dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: .8rem;
}
.w806b-dots span {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: rgba(255,255,255,.25); cursor: pointer;
}
.w806b-dots span.active { background: var(--w806b-primary); }

/* ---------- Section header ---------- */
.w806b-section-title {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1.4rem;
}
.w806b-section-title .w806b-bar {
  width: .4rem; height: 2rem; border-radius: 2px;
  background: linear-gradient(180deg, var(--w806b-primary), var(--w806b-accent));
}
.w806b-section-title h2 { margin: 0; flex: 1; }
.w806b-section-title small { color: var(--w806b-muted); font-size: 1.15rem; }

/* ---------- Games grid ---------- */
.w806b-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.w806b-game-card {
  background: var(--w806b-card);
  border-radius: var(--w806b-radius-sm);
  padding: .6rem;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .15s ease, border-color .15s ease;
}
.w806b-game-card:active { transform: scale(.96); }
.w806b-game-card:hover { border-color: var(--w806b-primary); }
.w806b-game-card img {
  width: 100%; height: 8.5rem; object-fit: cover;
  border-radius: .5rem;
}
.w806b-game-card span {
  display: block; margin-top: .5rem;
  font-size: 1.15rem; color: var(--w806b-text-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w806b-cat-label {
  display: inline-block;
  margin: 1.6rem 0 1rem;
  padding: .3rem .9rem;
  font-size: 1.15rem; font-weight: 700;
  color: #1a0d0d;
  background: linear-gradient(135deg, var(--w806b-gold), var(--w806b-accent));
  border-radius: 999px;
}

/* ---------- Promo / CTA ---------- */
.w806b-cta {
  background: linear-gradient(135deg, var(--w806b-magenta) 0%, var(--w806b-deep) 100%);
  border-radius: var(--w806b-radius);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--w806b-border);
}
.w806b-cta h3 { color: var(--w806b-primary); }
.w806b-cta p { color: var(--w806b-text-dim); margin-bottom: 1.2rem; }
.w806b-cta .w806b-btn-register { font-size: 1.4rem; padding: 1rem 2rem; }

/* ---------- Cards / Features ---------- */
.w806b-card {
  background: var(--w806b-card);
  border-radius: var(--w806b-radius);
  padding: 1.4rem;
  border: 1px solid var(--w806b-border);
  box-shadow: var(--w806b-shadow);
  margin-bottom: 1.2rem;
}
.w806b-feature-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.w806b-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; border-radius: var(--w806b-radius-sm);
  background: rgba(255,255,255,.04);
}
.w806b-feature .w806b-ico {
  flex: 0 0 3.6rem; width: 3.6rem; height: 3.6rem;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--w806b-primary), var(--w806b-accent));
  color: #1a0d0d;
}
.w806b-feature h4 { margin: 0 0 .3rem; font-size: 1.35rem; }
.w806b-feature p { margin: 0; font-size: 1.25rem; color: var(--w806b-text-dim); }

/* ---------- RTP table ---------- */
.w806b-rtp-table {
  width: 100%; border-collapse: collapse; font-size: 1.25rem;
}
.w806b-rtp-table th, .w806b-rtp-table td {
  padding: .7rem .6rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.w806b-rtp-table th { color: var(--w806b-gold); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }
.w806b-rtp-badge {
  display: inline-block; padding: .2rem .7rem;
  border-radius: 999px; font-size: 1.1rem; font-weight: 700;
  background: rgba(205,133,63,.15); color: var(--w806b-gold);
}

/* ---------- Testimonial ---------- */
.w806b-testi {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; margin-bottom: 1rem;
  background: rgba(255,255,255,.04);
  border-radius: var(--w806b-radius-sm);
  border-left: 3px solid var(--w806b-primary);
}
.w806b-testi .w806b-avatar {
  flex: 0 0 3.2rem; width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w806b-magenta), var(--w806b-primary));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.w806b-testi h5 { margin: 0 0 .3rem; font-size: 1.25rem; color: var(--w806b-gold); }
.w806b-testi p { margin: 0; font-size: 1.2rem; color: var(--w806b-text-dim); }
.w806b-stars { color: #FFD580; font-size: 1.1rem; }

/* ---------- Payment chips ---------- */
.w806b-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.w806b-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--w806b-border);
  border-radius: 999px;
  font-size: 1.15rem;
}

/* ---------- Winners list ---------- */
.w806b-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem; margin-bottom: .5rem;
  background: rgba(255,255,255,.04);
  border-radius: .5rem;
  font-size: 1.2rem;
}
.w806b-winner strong { color: var(--w806b-primary); }

/* ---------- FAQ ---------- */
.w806b-faq { border-top: 1px solid rgba(255,255,255,.07); }
.w806b-faq summary {
  cursor: pointer; padding: 1rem .2rem;
  font-weight: 600; font-size: 1.3rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.w806b-faq summary::-webkit-details-marker { display: none; }
.w806b-faq summary::after { content: "+"; color: var(--w806b-primary); font-size: 1.5rem; }
.w806b-faq[open] summary::after { content: "−"; }
.w806b-faq p { color: var(--w806b-text-dim); padding: 0 .2rem 1rem; font-size: 1.2rem; }

/* ---------- Footer ---------- */
.w806b-footer {
  background: #0d1422;
  border-top: 1px solid var(--w806b-border);
  padding: 2.4rem 0 1.4rem;
  color: var(--w806b-text-dim);
}
.w806b-footer h4 { color: var(--w806b-gold); font-size: 1.3rem; margin-bottom: .8rem; }
.w806b-footer a { color: var(--w806b-text-dim); font-size: 1.2rem; display: block; padding: .35rem 0; }
.w806b-footer a:hover { color: var(--w806b-primary); }
.w806b-footer-brand { font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.2rem; }
.w806b-footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 1.4rem;
}
.w806b-footer-promos {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0;
}
.w806b-footer-promos .w806b-btn {
  font-size: 1.15rem; padding: .6rem 1rem;
  background: rgba(240,128,128,.12);
  border: 1px solid var(--w806b-border);
  color: var(--w806b-primary);
}
.w806b-copy {
  text-align: center; font-size: 1.1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--w806b-muted);
}

/* ---------- Bottom nav ---------- */
.w806b-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(28,40,65,.97), rgba(13,20,34,.99));
  border-top: 1px solid var(--w806b-border);
  display: flex; justify-content: space-around;
  padding: .4rem 0;
  backdrop-filter: blur(8px);
}
.w806b-bottom-nav a, .w806b-bottom-nav button {
  flex: 1;
  min-width: 6rem; min-height: 6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem;
  color: var(--w806b-text-dim);
  font-size: 1.05rem;
  transition: color .2s ease, transform .15s ease;
  position: relative;
}
.w806b-bottom-nav a:active, .w806b-bottom-nav button:active { transform: scale(.9); }
.w806b-bottom-nav .w806b-bn-icon {
  width: 2.6rem; height: 2.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  background: rgba(255,255,255,.05);
}
.w806b-bottom-nav a.active .w806b-bn-icon,
.w806b-bottom-nav button.active .w806b-bn-icon {
  background: linear-gradient(135deg, var(--w806b-primary), var(--w806b-accent));
  color: #1a0d0d;
}
.w806b-bottom-nav .w806b-bn-text { font-size: 1.05rem; }
.w806b-bottom-nav a.active, .w806b-bottom-nav button.active { color: var(--w806b-primary); }
.w806b-bn-badge {
  position: absolute; top: .4rem; right: 1.4rem;
  min-width: 1.4rem; height: 1.4rem;
  border-radius: 999px;
  background: var(--w806b-magenta); color: #fff;
  font-size: .95rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .3rem;
}

/* ---------- Inline promo links ---------- */
.w806b-promo-link {
  color: var(--w806b-primary);
  font-weight: 700;
  border-bottom: 1px dashed rgba(240,128,128,.5);
}
.w806b-promo-link:hover { color: var(--w806b-gold); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w806b-bottom-nav { display: none; }
  .w806b-main { padding-bottom: 3rem; }
  .w806b-wrapper { max-width: 760px; }
  .w806b-games-grid { grid-template-columns: repeat(6, 1fr); }
  .w806b-feature-grid { grid-template-columns: 1fr 1fr; }
  .w806b-footer-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Utility ---------- */
.w806b-text-center { text-align: center; }
.w806b-mt-1 { margin-top: .6rem; }
.w806b-mt-2 { margin-top: 1.2rem; }
.w806b-mb-2 { margin-bottom: 1.2rem; }
.w806b-hide-desktop { display: block; }
@media (min-width: 769px) { .w806b-hide-desktop { display: none; } }
