/* ===== Design tokens ===== */
:root {
  --bg: #0a0c12;
  --bg-2: #0f131c;
  --panel: #141a26;
  --panel-2: #18202f;
  --line: rgba(212, 175, 55, 0.16);
  --text: #eef1f7;
  --muted: #9aa4b7;
  --gold: #d4af37;
  --gold-2: #f6e27a;
  --gold-deep: #b8902a;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 12px 34px rgba(212, 175, 55, 0.28);
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
              radial-gradient(900px 600px at -10% 10%, rgba(80, 120, 255, 0.06), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

h1, h2, h3, h4, .brand-text { font-family: "Cinzel", serif; letter-spacing: 0.5px; }

.gold {
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: none; border-radius: 999px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.full { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #221a05; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212, 175, 55, 0.42); }

.btn-outline {
  background: transparent; color: var(--gold-2);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.10); border-color: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

/* ===== 18+ badge ===== */
.badge-18 {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.8px; color: #fff;
  background: linear-gradient(135deg, #c0392b, #8e1f14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.4);
  text-transform: uppercase;
}
.badge-18.small { padding: 3px 8px; font-size: 0.62rem; border-radius: 8px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold); display: inline-flex; filter: drop-shadow(0 2px 6px rgba(212,175,55,0.5)); }
.brand-text { font-size: 1.15rem; font-weight: 900; }
.brand-text em { color: var(--gold); font-style: normal; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  position: relative; color: var(--muted); font-weight: 500; font-size: 0.94rem;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 9px 18px; font-size: 0.9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(212, 175, 55, 0.06);
}
.eyebrow.center { display: inline-block; }

.hero-title { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.05; margin: 20px 0 16px; font-weight: 900; }
.hero-text { color: var(--muted); font-size: 1.05rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin: 30px 0 36px; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.5rem; color: var(--text); font-family: "Cinzel", serif; }
.hero-trust span { font-size: 0.82rem; color: var(--muted); }

/* Hero ticket card */
.hero-card { display: flex; justify-content: center; }
.ticket {
  width: 100%; max-width: 380px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow); position: relative;
  animation: float 6s ease-in-out infinite;
}
.ticket::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,55,0.6), transparent 40%, rgba(212,175,55,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.ticket-top { display: flex; justify-content: space-between; align-items: center; }
.ticket-label { font-family: "Cinzel", serif; font-weight: 700; letter-spacing: 2px; color: var(--gold); font-size: 0.85rem; }
.ticket-numbers { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; }
.ticket-numbers span {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
}
.ticket-numbers .bonus { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221a05; border: none; }
.ticket-divider { height: 1px; background: var(--line); margin: 6px 0 18px; position: relative; }
.ticket-divider::before, .ticket-divider::after {
  content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg);
}
.ticket-divider::before { left: -36px; }
.ticket-divider::after { right: -36px; }
.ticket-bottom { display: flex; justify-content: space-between; }
.ticket-bottom small { display: block; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }
.ticket-bottom strong { font-size: 1.1rem; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 16px 0 12px; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

.card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Buy / Register ===== */
.buy-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015)); }
.buy-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: stretch; }
.form-card, .info-card { padding: 34px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--text); }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.10);
  color: var(--text); font-size: 0.96rem; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6b7488; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
.field select option { background: var(--panel); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }

.error { display: block; min-height: 16px; color: var(--danger); font-size: 0.78rem; margin-top: 6px; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--muted); cursor: pointer; margin-top: 4px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.form-card .btn { margin-top: 8px; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 14px; }

.info-card { display: flex; flex-direction: column; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 18px; color: var(--gold-2); }
.perks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); color: var(--muted); }
.perk-ico { font-size: 1.2rem; }
.info-cta { margin-top: auto; padding-top: 22px; }
.info-cta p { margin-bottom: 12px; color: var(--text); }

/* ===== About ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.stat { padding: 30px 22px; text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.stat:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.4); }
.stat-ico { font-size: 2rem; margin-bottom: 12px; }
.stat strong { display: block; font-family: "Cinzel", serif; font-size: 1.7rem; color: var(--gold-2); }
.stat span { color: var(--muted); font-size: 0.9rem; }

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.9rem; background: rgba(255,255,255,0.02); }
.trust-item span { color: var(--gold); font-weight: 800; }

/* ===== Responsible ===== */
.responsible-card { padding: 38px; max-width: 880px; margin: 0 auto; }
.responsible-warnings { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.warn { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.warn-ico { font-size: 1.2rem; }
.responsible-text { color: var(--muted); margin-bottom: 26px; }
.help-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35)); margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 22px 36px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 18px; color: var(--gold-2); }
.footer-brand { margin-bottom: 16px; }
.company-info { font-style: normal; color: var(--muted); font-size: 0.92rem; line-height: 1.8; margin-bottom: 18px; }
.company-info strong { color: var(--text); }
.acct { color: var(--gold); font-weight: 600; }

.icon-tiles { display: flex; gap: 14px; flex-wrap: wrap; }
.icon-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 96px; padding: 18px 10px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.icon-tile:hover { transform: translateY(-5px); border-color: rgba(212,175,55,0.5); background: rgba(212,175,55,0.08); }
.tile-ico { font-size: 1.8rem; }
.icon-tile span:last-child { font-size: 0.82rem; color: var(--muted); }
.tile-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--gold-2); padding-left: 4px; }

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted); font-size: 0.84rem; }
.play-safe { color: var(--gold) !important; font-weight: 600; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 7, 12, 0.78); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 460px; padding: 34px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative;
  transform: translateY(20px) scale(0.97); transition: transform .35s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .2s, transform .2s;
}
.modal-close:hover { color: var(--text); transform: rotate(90deg); }
.modal h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #221a05; font-weight: 600; padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow-gold); z-index: 120; transition: transform .45s var(--ease); max-width: 90vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .buy-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .main-nav {
    position: fixed; top: 72px; right: 0; height: calc(100vh - 72px); width: 260px;
    flex-direction: column; gap: 8px; padding: 26px 22px;
    background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 12px 0; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 540px) {
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
  .ticket-numbers span { width: 40px; height: 40px; }
  .form-card, .info-card, .responsible-card { padding: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Legal / Policy pages ===== */
.legal-main { padding: 60px 0 80px; min-height: 60vh; }
.legal-hero { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.legal-hero .badge-18 { margin-bottom: 18px; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal-hero .updated { color: var(--muted); font-size: 0.88rem; }

.legal-card { max-width: 820px; margin: 0 auto; padding: 40px; }
.legal-card h2 { font-size: 1.3rem; color: var(--gold-2); margin: 30px 0 12px; }
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 0.98rem; }
.legal-card p { margin-bottom: 14px; }
.legal-card ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-card ul li { margin-bottom: 8px; }
.legal-card a { color: var(--gold-2); text-decoration: underline; }
.legal-card a:hover { color: var(--gold); }
.legal-disclaimer {
  margin-top: 30px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(212,175,55,0.07); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}

.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.legal-footer { border-top: 1px solid var(--line); padding: 26px 0; text-align: center; }
.legal-footer p { color: var(--muted); font-size: 0.85rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 14px; }
.legal-nav a { color: var(--muted); font-size: 0.85rem; }
.legal-nav a:hover { color: var(--gold-2); }
