:root {
  --bg: #0c1824;
  --bg-2: #102536;
  --navy: #0a1722;
  --teal: #18b6c4;
  --aqua: #4fe3d6;
  --gold: #f3c14b;
  --gold-soft: #ffe39a;
  --sand: #e9d8a6;
  --text: #eaf4f7;
  --muted: #9fb6c4;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
  --radius: 16px;
  --maxw: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 70% -10%, #16364a 0%, var(--bg) 55%) no-repeat, var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--gold-soft), var(--aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }

section { padding: 70px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px; padding: 14px 26px;
  font-size: 1rem; transition: transform .2s ease, box-shadow .3s ease, background .2s;
  color: var(--navy);
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 8px 28px rgba(243, 193, 75, 0.35);
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(243, 193, 75, 0.55); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 17px 34px; font-size: 1.1rem; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(243, 193, 75, 0.32); }
  50% { box-shadow: 0 8px 38px rgba(243, 193, 75, 0.6); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 23, 34, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px;
}
.nav__brand {
  font-weight: 800; font-size: 1.3rem; text-decoration: none;
  color: var(--gold-soft); letter-spacing: -0.02em; white-space: nowrap;
}
.nav__links { display: flex; gap: 22px; margin-left: 18px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--aqua); }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.age-badge {
  background: var(--teal); color: var(--navy); font-weight: 800;
  border-radius: 8px; padding: 3px 9px; font-size: .82rem;
}

.switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.switch__btn {
  background: transparent; color: var(--muted); border: none; cursor: pointer;
  padding: 6px 12px; font-size: .82rem; font-weight: 700;
}
.switch__btn.active { background: var(--teal); color: var(--navy); }
.lang-switch.hidden { display: none; }

.nav__burger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.ripple {
  position: absolute; border: 2px solid rgba(79, 227, 214, 0.25);
  border-radius: 50%; animation: ripple 7s linear infinite;
}
.ripple--1 { width: 300px; height: 300px; left: -60px; bottom: -80px; }
.ripple--2 { width: 460px; height: 460px; right: -100px; top: -120px; animation-delay: 2s; }
.ripple--3 { width: 200px; height: 200px; left: 40%; bottom: -60px; animation-delay: 4s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.4); opacity: 0; } }

.hero__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero__title { font-size: clamp(2.2rem, 6vw, 4rem); }
.hero__brandline { display: block; font-size: .5em; color: var(--muted); font-weight: 600; margin-top: 8px; }
.hero__brandline strong { color: var(--gold-soft); }
.hero__sub { color: var(--muted); font-size: 1.15rem; margin: 18px 0 26px; max-width: 520px; }
.hero__trust { margin-top: 16px; color: var(--aqua); font-size: .9rem; }

/* ---------- Spinning reel ---------- */
.reel { position: relative; justify-self: center; }
.reel__frame {
  display: flex; gap: 10px; padding: 16px;
  background: linear-gradient(160deg, var(--bg-2), var(--navy));
  border: 2px solid var(--gold); border-radius: 20px;
  box-shadow: 0 0 40px rgba(24, 182, 196, 0.25), inset 0 0 30px rgba(0,0,0,.5);
}
.reel__col {
  width: 78px; height: 240px; overflow: hidden; border-radius: 12px;
  background: rgba(0,0,0,0.35); position: relative;
}
.reel__strip {
  display: flex; flex-direction: column; align-items: center;
  font-size: 2.6rem; animation: spin 5s linear infinite;
}
.reel__strip span { height: 80px; display: flex; align-items: center; }
.reel__strip--b { animation-duration: 6.2s; }
.reel__strip--c { animation-duration: 4.4s; }
@keyframes spin { from { transform: translateY(0); } to { transform: translateY(-240px); } }
.reel__glow {
  position: absolute; inset: -20px; border-radius: 24px; z-index: -1;
  background: radial-gradient(circle, rgba(79,227,214,.4), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ---------- Licensing ---------- */
.licensing { background: linear-gradient(180deg, rgba(24,182,196,.08), transparent); }
.lic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.lic-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; transition: transform .2s, border-color .2s;
}
.lic-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.lic-card--main { border-color: var(--gold); box-shadow: 0 0 24px rgba(243,193,75,.15); }
.lic-card__logo {
  border: 1px dashed var(--line); border-radius: 10px; padding: 14px;
  margin-bottom: 14px; color: var(--muted); font-size: .8rem; letter-spacing: .1em;
}
.lic-card h3 { font-size: 1rem; color: var(--aqua); margin-bottom: 6px; }
.lic-card__value { font-weight: 700; }
.lic-card__meta { color: var(--muted); font-size: .85rem; margin-top: 6px; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.game-thumb {
  aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: var(--muted); font-size: .85rem;
  background: linear-gradient(160deg, var(--bg-2), var(--navy));
}
.about__copy p { color: var(--muted); margin-bottom: 20px; }
.spec-list { list-style: none; display: grid; gap: 10px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
}
.spec-list li span { color: var(--muted); }
.spec-list li strong { color: var(--gold-soft); text-align: right; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.feat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: transform .2s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--aqua); }
.feat-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.feat-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feat-card p { color: var(--muted); }
.feat-card strong { color: var(--gold-soft); }

/* ---------- How ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.how-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.how-step__num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--teal), var(--aqua)); color: var(--navy);
}

/* ---------- Trust ---------- */
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.trust-badge {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; text-align: center;
}
.trust-badge__logo { display: block; color: var(--gold-soft); font-weight: 800; margin-bottom: 8px; }
.trust-badge p { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 1rem; font-weight: 700; padding: 18px 20px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-q::after { content: "+"; color: var(--aqua); font-size: 1.4rem; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.faq-a p { padding: 0 20px 18px; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Responsible Gambling ---------- */
.rg { background: linear-gradient(180deg, rgba(243,193,75,.07), transparent); }
.rg .container { max-width: 760px; text-align: center; }
.rg p { color: var(--muted); margin-bottom: 22px; }
.rg-list { list-style: none; display: grid; gap: 12px; text-align: left; }
.rg-list li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.rg-list strong { color: var(--aqua); }

/* ---------- Final ---------- */
.final { text-align: center; background: linear-gradient(180deg, transparent, rgba(24,182,196,.1)); }
.final__title { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 24px; }
.final__title strong { color: var(--gold-soft); }
.final__title span { display: block; font-size: .45em; color: var(--muted); font-weight: 600; }
.final__note { margin-top: 16px; color: var(--aqua); font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 110px; text-align: center; }
.footer__links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer__links a { color: var(--aqua); text-decoration: none; font-size: .92rem; }
.footer__age { margin-bottom: 12px; }
.footer__line { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.footer__warning { color: var(--gold-soft); font-size: .82rem; margin: 14px auto; max-width: 640px; }
.footer__copy { color: var(--muted); font-size: .85rem; margin-top: 16px; }

/* ---------- Age modal ---------- */
.age-modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(5, 12, 18, 0.92); backdrop-filter: blur(6px);
}
.age-modal.show { display: flex; }
.age-modal__card {
  background: linear-gradient(160deg, var(--bg-2), var(--navy));
  border: 1px solid var(--gold); border-radius: 20px; padding: 36px 30px;
  max-width: 420px; text-align: center; box-shadow: 0 0 50px rgba(243,193,75,.2);
}
.age-modal__logo { font-weight: 800; color: var(--gold-soft); font-size: 1.4rem; margin-bottom: 16px; }
.age-modal__card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.age-modal__card p { color: var(--muted); margin-bottom: 22px; }
.age-modal__actions { display: flex; gap: 12px; justify-content: center; }
.age-modal__note { font-size: .78rem; margin-top: 20px; margin-bottom: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: none;
  padding: 12px 16px; background: rgba(10,23,34,.95); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.sticky-cta .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero__inner, .about__inner { grid-template-columns: 1fr; }
  .reel { order: -1; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--navy); border-bottom: 1px solid var(--line); padding: 16px 20px;
    margin-left: 0; gap: 14px; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: block; }
  .nav__right .cta-text { display: none; }
  .sticky-cta { display: block; }
}
@media (max-width: 520px) {
  .nav__brand { font-size: 1.1rem; }
  .switch__btn { padding: 5px 9px; }
}
