/* ============================================================
   68win pro - Core base stylesheet (prefix: w8db1-)
   Mobile-first; palette: #36454F | #8FBC8F | #9AFF9A | #2D2D2D | #228B22
   ============================================================ */

:root {
  --w8db1-bg: #2D2D2D;
  --w8db1-bg-deep: #1f2424;
  --w8db1-surface: #36454F;
  --w8db1-primary: #228B22;
  --w8db1-primary-dark: #1c6f1c;
  --w8db1-accent: #8FBC8F;
  --w8db1-hilite: #9AFF9A;
  --w8db1-text: #f4f7f5;
  --w8db1-text-dim: #c7d1cd;
  --w8db1-border: rgba(143, 188, 143, 0.25);
  --w8db1-radius: 14px;
  --w8db1-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --w8db1-header-h: 60px;
  --w8db1-bottom-h: 62px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif;
  background: var(--w8db1-bg);
  color: var(--w8db1-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w8db1-hilite); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

.w8db1-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w8db1-wrapper { padding-top: var(--w8db1-header-h); padding-bottom: calc(var(--w8db1-bottom-h) + 2rem); min-height: 100vh; }

/* ---------- Header ---------- */
.w8db1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #2f4147 0%, var(--w8db1-surface) 100%);
  border-bottom: 1px solid var(--w8db1-border);
  box-shadow: var(--w8db1-shadow);
}
.w8db1-header-inner {
  max-width: 430px; margin: 0 auto; height: var(--w8db1-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.w8db1-brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; font-weight: 700; font-size: 1.7rem; }
.w8db1-brand img { width: 30px; height: 30px; border-radius: 8px; }
.w8db1-brand span { background: linear-gradient(90deg, var(--w8db1-hilite), var(--w8db1-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.w8db1-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w8db1-btn {
  border: 0; cursor: pointer; border-radius: 999px; font-weight: 700;
  font-size: 1.3rem; padding: 0.7rem 1.3rem; min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.w8db1-btn:active { transform: scale(0.94); }
.w8db1-btn-primary { background: linear-gradient(90deg, var(--w8db1-primary), #2fa82f); color: #fff; box-shadow: 0 4px 12px rgba(34,139,34,0.45); }
.w8db1-btn-ghost { background: rgba(154,255,154,0.12); color: var(--w8db1-hilite); border: 1px solid var(--w8db1-border); }
.w8db1-icon-btn {
  background: transparent; border: 0; color: #fff; font-size: 2.1rem;
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.w8db1-icon-btn:active { background: rgba(255,255,255,0.08); }

/* ---------- Mobile dropdown menu ---------- */
.w8db1-mobile-menu {
  position: fixed; top: var(--w8db1-header-h); left: 0; right: 0; z-index: 9999;
  background: var(--w8db1-surface);
  border-bottom: 1px solid var(--w8db1-border);
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  box-shadow: var(--w8db1-shadow);
}
.w8db1-mobile-menu.w8db1-menu-open { max-height: 80vh; overflow-y: auto; }
.w8db1-mobile-menu ul { list-style: none; margin: 0; padding: 0.4rem 0; }
.w8db1-mobile-menu li a {
  display: block; padding: 1.1rem 1.4rem; color: var(--w8db1-text);
  border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.45rem;
}
.w8db1-mobile-menu li a:hover { background: rgba(154,255,154,0.08); color: var(--w8db1-hilite); text-decoration: none; }

/* ---------- Hero carousel ---------- */
.w8db1-carousel { position: relative; overflow: hidden; border-radius: var(--w8db1-radius); margin: 1.2rem 0; box-shadow: var(--w8db1-shadow); }
.w8db1-carousel-track { display: flex; transition: transform 0.45s ease; }
.w8db1-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.w8db1-carousel-slide img { width: 100%; height: 190px; object-fit: cover; }
.w8db1-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent);
  font-size: 1.5rem; font-weight: 700; color: #fff;
}
.w8db1-carousel-dots { position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.4rem; }
.w8db1-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.w8db1-carousel-dot-active { background: var(--w8db1-hilite); }

/* ---------- Headings & sections ---------- */
.w8db1-section { margin: 2rem 0; }
.w8db1-section-title {
  font-size: 1.85rem; margin: 0 0 1rem; font-weight: 800;
  color: var(--w8db1-hilite); display: flex; align-items: center; gap: 0.6rem;
}
.w8db1-h1 {
  font-size: 2.1rem; line-height: 2.7rem; margin: 1rem 0; font-weight: 800;
  color: #fff; text-align: center;
}
.w8db1-lead { color: var(--w8db1-text-dim); font-size: 1.45rem; margin-bottom: 1.2rem; }

/* ---------- Game grid ---------- */
.w8db1-cat-header {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.6rem 0 0.9rem;
}
.w8db1-cat-title { font-size: 1.6rem; font-weight: 700; color: var(--w8db1-accent); }
.w8db1-cat-tag { font-size: 1.2rem; color: var(--w8db1-text-dim); background: rgba(143,188,143,0.12); padding: 0.25rem 0.8rem; border-radius: 999px; }

.w8db1-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.w8db1-game-card {
  background: var(--w8db1-surface); border-radius: var(--w8db1-radius); overflow: hidden;
  border: 1px solid var(--w8db1-border); cursor: pointer; position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.w8db1-game-card:active { transform: scale(0.95); }
.w8db1-game-card img { width: 100%; height: 92px; object-fit: cover; background: #20262a; }
.w8db1-game-name {
  font-size: 1.2rem; line-height: 1.4rem; padding: 0.45rem 0.5rem; text-align: center;
  color: var(--w8db1-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Cards / features ---------- */
.w8db1-card {
  background: var(--w8db1-surface); border: 1px solid var(--w8db1-border);
  border-radius: var(--w8db1-radius); padding: 1.3rem; margin-bottom: 1rem; box-shadow: var(--w8db1-shadow);
}
.w8db1-card h3 { margin: 0 0 0.6rem; font-size: 1.55rem; color: var(--w8db1-hilite); }
.w8db1-card p { margin: 0 0 0.6rem; color: var(--w8db1-text-dim); font-size: 1.4rem; }

.w8db1-feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w8db1-feature-item {
  background: var(--w8db1-bg-deep); border-radius: 12px; padding: 1rem; text-align: center;
  border: 1px solid var(--w8db1-border);
}
.w8db1-feature-item .material-icons, .w8db1-feature-item i { font-size: 26px; color: var(--w8db1-hilite); }
.w8db1-feature-item strong { display: block; margin-top: 0.4rem; font-size: 1.3rem; color: #fff; }

/* ---------- RTP table ---------- */
.w8db1-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.w8db1-rtp-table th, .w8db1-rtp-table td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--w8db1-border); text-align: left; }
.w8db1-rtp-table th { color: var(--w8db1-hilite); }
.w8db1-rtp-table td .w8db1-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.w8db1-rtp-table td .w8db1-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--w8db1-primary), var(--w8db1-hilite)); }

/* ---------- Promo CTA ---------- */
.w8db1-cta {
  background: linear-gradient(135deg, var(--w8db1-primary) 0%, #163d16 100%);
  border-radius: var(--w8db1-radius); padding: 1.5rem; text-align: center; margin: 1.5rem 0;
  border: 1px solid var(--w8db1-border); box-shadow: var(--w8db1-shadow);
}
.w8db1-cta h2 { margin: 0 0 0.5rem; font-size: 1.8rem; color: #fff; }
.w8db1-cta p { margin: 0 0 1rem; color: #e8f5e8; font-size: 1.4rem; }

/* ---------- Testimonials ---------- */
.w8db1-testimonial { background: var(--w8db1-bg-deep); border-left: 3px solid var(--w8db1-accent); padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 0.8rem; }
.w8db1-testimonial .w8db1-stars { color: #ffd166; font-size: 1.2rem; margin-bottom: 0.3rem; }
.w8db1-testimonial p { margin: 0 0 0.4rem; font-size: 1.35rem; color: var(--w8db1-text-dim); }
.w8db1-testimonial cite { font-size: 1.2rem; color: var(--w8db1-hilite); font-style: normal; }

/* ---------- Winners ---------- */
.w8db1-winner-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.w8db1-winner-row .w8db1-amount { margin-left: auto; color: var(--w8db1-hilite); font-weight: 700; }

/* ---------- Payment chips ---------- */
.w8db1-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w8db1-pay-chip {
  background: var(--w8db1-bg-deep); border: 1px solid var(--w8db1-border); border-radius: 999px;
  padding: 0.55rem 1rem; font-size: 1.25rem; color: var(--w8db1-text-dim); display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---------- Inline SEO link ---------- */
.w8db1-inline-link { color: var(--w8db1-hilite); font-weight: 600; text-decoration: underline; }

/* ---------- Footer ---------- */
.w8db1-footer {
  background: var(--w8db1-bg-deep); border-top: 1px solid var(--w8db1-border);
  padding: 2rem 1.2rem 5.5rem; color: var(--w8db1-text-dim); font-size: 1.3rem;
}
.w8db1-footer h4 { color: var(--w8db1-hilite); font-size: 1.4rem; margin: 1.2rem 0 0.6rem; }
.w8db1-footer ul { list-style: none; padding: 0; margin: 0; }
.w8db1-footer ul li { margin-bottom: 0.4rem; }
.w8db1-footer .w8db1-foot-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.w8db1-footer .w8db1-foot-promo .w8db1-btn { font-size: 1.2rem; padding: 0.5rem 1rem; }
.w8db1-footer-bottom { text-align: center; margin-top: 1.5rem; font-size: 1.2rem; color: #8a958f; }

/* ---------- Mobile bottom nav ---------- */
.w8db1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w8db1-bottom-h);
  background: linear-gradient(180deg, #2f4147 0%, var(--w8db1-surface) 100%);
  border-top: 1px solid var(--w8db1-border);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.35);
}
.w8db1-bottom-nav-btn {
  flex: 1; background: transparent; border: 0; color: var(--w8db1-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1.05rem; gap: 0.15rem; min-width: 60px; min-height: 60px;
  cursor: pointer; padding: 0.4rem 0; transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}
.w8db1-bottom-nav-btn:active { transform: scale(0.9); }
.w8db1-bottom-nav-btn .material-icons, .w8db1-bottom-nav-btn i { font-size: 22px; }
.w8db1-bottom-nav-btn.w8db1-nav-active { color: var(--w8db1-hilite); }
.w8db1-bottom-nav-btn.w8db1-nav-active::after {
  content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--w8db1-hilite); margin-top: 2px;
}

/* ---------- Reveal animation ---------- */
.w8db1-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.w8db1-reveal.w8db1-revealed { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w8db1-bottom-nav { display: none; }
  .w8db1-container { max-width: 760px; }
  .w8db1-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--w8db1-bottom-h) + 1.5rem); }
}
