/* =========================================================
   8Game — Multi-Provider Casino & Slots App
   Fresh theme: deep midnight purple + neon gold + neon teal
========================================================= */
:root {
  --bg: #0d0221;
  --bg-soft: #17082f;
  --panel: #1c0f3a;
  --gold: #ffd166;
  --gold-dark: #e8b23a;
  --teal: #06d6a0;
  --teal-dark: #05b386;
  --pink: #ef476f;
  --text-soft: #c9c0e0;
  --radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: #f4f1fb;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5rem; }
p { margin: 0 0 1rem; color: var(--text-soft); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top nav ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13,2,33,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,209,102,.25);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.topbar .brand { color: var(--gold); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.btn-nav-download {
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  color: #052d21;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .9rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 30% 0%, #2a0e57, var(--bg) 70%);
  padding: 44px 0 36px;
  text-align: center;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  z-index: 0;
}
.hero::before { background: var(--gold); top: -120px; left: -80px; }
.hero::after  { background: var(--teal); bottom: -140px; right: -80px; }
.hero-inner { position: relative; z-index: 1; }

.hero-app-icon {
  width: 100px; height: 100px;
  margin: 0 auto 16px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--gold), 0 10px 30px rgba(0,0,0,.5);
}
.hero-app-icon img { width: 100%; height: 100%; object-fit: cover; }

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), #fff2cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline { color: var(--text-soft); font-size: 1rem; margin-bottom: 22px; }

.hero-stats { display: flex; justify-content: center; gap: 30px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-val { display: block; font-weight: 800; font-size: 1.15rem; color: var(--teal); }
.hero-stats .stat-lbl { display: block; font-size: .75rem; color: var(--text-soft); }

.btn-download-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: #24170a;
  font-weight: 800;
  font-size: 1.3rem;
  padding: 18px 46px;
  border-radius: 60px;
  box-shadow: 0 10px 30px rgba(255,209,102,.35);
  animation: glow-pulse 2.4s ease-in-out infinite;
  max-width: 92%;
}
.btn-download-hero i { font-size: 1.4rem; }
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(255,209,102,.35); transform: scale(1); }
  50%      { box-shadow: 0 14px 40px rgba(255,209,102,.55); transform: scale(1.02); }
}

.hero-subnote { margin: 14px 0 0; font-size: .82rem; color: var(--text-soft); }

.hero-badges { margin-top: 18px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.badge-pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(6,214,160,.4);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}
.badge-pill i { color: var(--teal); margin-right: 4px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-soft); padding: 14px 0; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.trust-grid { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; font-size: .85rem; font-weight: 600; }
.trust-item i { color: var(--gold); margin-right: 6px; }

/* ---------- Main content ---------- */
.main-content { padding: 44px 20px 100px; }

.content-block {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 30px 26px;
  margin-bottom: 26px;
}
.content-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  border-left: 5px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 8px;
}
.content-block .section-sub { color: var(--text-soft); font-size: .9rem; margin-bottom: 20px; }
.content-block h3 { font-size: 1.1rem; font-weight: 700; color: var(--teal); margin-top: 18px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; }
.check-list li i { color: var(--teal); margin-top: 3px; flex-shrink: 0; }

/* ---------- Provider & Game cards ---------- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mini-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 18px 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.mini-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.mini-card .mini-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  color: #14102a;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.mini-card h4 { font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.mini-card p { font-size: .85rem; margin: 0; color: var(--text-soft); }

.game-card { position: relative; }
.game-card .played-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--pink);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card {
  text-align: center;
  padding: 20px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #052d21;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.step-card h4 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.step-card p { font-size: .8rem; margin: 0; }

/* ---------- Deposit / Withdrawal ---------- */
.dw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dw-card { border-radius: 16px; padding: 24px; text-align: center; color: #fff; }
.deposit-card { background: linear-gradient(135deg, #06d6a0, #05b386); }
.withdraw-card { background: linear-gradient(135deg, #ffd166, #e8b23a); color: #24170a; }
.dw-card i { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.dw-label { font-size: .85rem; opacity: .9; }
.dw-amount { font-size: 1.8rem; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,.03);
  border: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: .95rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  color: #fff;
}
.faq-question i { transition: transform .25s ease; color: var(--gold); flex-shrink: 0; margin-left: 12px; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { padding: 0 18px 16px; margin: 0; font-size: .9rem; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }

/* ---------- Disclaimer ---------- */
.disclaimer-block { background: rgba(255,209,102,.06); border: 1px solid rgba(255,209,102,.25); }
.disclaimer-block p { color: #f1dfa8; font-size: .85rem; margin: 0; }
.disclaimer-block i { color: var(--gold); margin-right: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); color: var(--text-soft); text-align: center; padding: 22px; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer-links a { margin: 0 6px; color: var(--text-soft); }
.footer-links a:hover { color: var(--gold); }

/* ---------- Sticky mobile download bar ---------- */
.sticky-download-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--bg-soft);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 20px rgba(0,0,0,.4);
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 100;
}
.sticky-download-bar.visible { transform: translateY(0); }
.sticky-inner { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.sticky-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.sticky-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sticky-text strong { font-size: .9rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-text span { font-size: .75rem; color: var(--text-soft); }
.btn-sticky-download {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: #24170a;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.55rem; }
  .hero-stats { gap: 18px; }
  .btn-download-hero { font-size: 1.05rem; padding: 15px 30px; }
  .mini-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .dw-grid { grid-template-columns: 1fr; }
  .content-block { padding: 22px 18px; }
  .content-block h2 { font-size: 1.25rem; }
  body { padding-bottom: 76px; }
}
