:root {
  --bg: #0b1020;
  --bg-soft: #131a30;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f7f8fb;
  --muted: #b4bdd3;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #7c3aed;
  --brand-2: #c084fc;
  --brand-3: #22d3ee;
  --shadow: 0 18px 50px rgba(0,0,0,.32);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124,58,237,0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(34,211,238,0.12), transparent 24%),
    linear-gradient(180deg, #070b16 0%, #0b1020 100%);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #ddd6fe;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
}
h1, h2, h3 { margin: 0 0 16px; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0; color: var(--muted); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.08rem;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(124,58,237,.35);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d7deeb;
  font-size: .97rem;
}
.nav-links a:hover { color: #fff; }
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(124,58,237,.25);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.07); }
.btn.is-disabled {
  opacity: .65;
  pointer-events: none;
}

.hero { padding: 72px 0 42px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}
.hero-copy p {
  font-size: 1.05rem;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.hero-point, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-point { padding: 18px; }
.hero-point strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #fff;
}
.hero-media { position: relative; }
.hero-image {
  overflow: hidden;
  /*border-radius: 28px;*/
  /*border: 1px solid rgba(255,255,255,.12);*/
  /*background: #0a0c0f;*/
  /*box-shadow: var(--shadow);*/
}
.hero-lucky-card {
  position: relative;
}
.hero-lucky-card::after {
  content: '';
  position: absolute;
  inset: auto 12% 8% 12%;
  height: 24%;
  background: radial-gradient(circle, rgba(192,132,252,.38), transparent 60%);
  filter: blur(28px);
  pointer-events: none;
}
.floating-card {
  position: absolute;
  right: -10px;
  bottom: 18px;
  width: min(92%, 280px);
  padding: 18px;
  background: rgba(11,16,32,.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.floating-card .small { color: #ddd6fe; font-size: .9rem; margin-bottom: 8px; }

.grid-3, .faq-grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px; }
.card p + p { margin-top: 12px; }
.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(34,211,238,.16));
  border: 1px solid rgba(255,255,255,.08);
  color: #e9d5ff;
  font-weight: 900;
}

.play-section {
  padding-top: 40px;
}
.game-panel {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
}
.status-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.status-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #e9eefc;
}
.countdown-pill strong,
.status-pill strong { color: #fff; }
.boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lucky-box {
  position: relative;
  min-height: 230px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)),
    linear-gradient(135deg, rgba(124,58,237,.22), rgba(34,211,238,.12));
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lucky-box:hover {
  transform: translateY(-4px);
  border-color: rgba(192,132,252,.5);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.lucky-box.is-selected {
  border-color: rgba(192,132,252,.72);
  box-shadow: 0 0 0 3px rgba(192,132,252,.16), 0 24px 50px rgba(0,0,0,.45);
}
.lucky-box.is-revealing {
  animation: pulseBox .8s ease infinite alternate;
}
.box-glow {
  position: absolute;
  inset: auto 10% -20px 10%;
  height: 90px;
  background: radial-gradient(circle, rgba(192,132,252,.35), transparent 65%);
  filter: blur(22px);
}
.box-number {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f5edff;
}
.box-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 1.15rem;
  font-weight: 700;
}
.game-hint {
  margin-top: 16px;
  text-align: center;
  color: #d9def0;
}
.result-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.result-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #f3e8ff;
  margin-bottom: 14px;
}
.result-card h3 {
  font-size: 1.5rem;
}
.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.reward-card {
  position: relative;
  overflow: hidden;
}
.reward-card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: .18;
}
.reward-best::after { background: radial-gradient(circle, #f59e0b, transparent 65%); }
.reward-mid::after { background: radial-gradient(circle, #22d3ee, transparent 65%); }
.reward-normal::after { background: radial-gradient(circle, #a78bfa, transparent 65%); }
.social-proof {
  margin-top: 22px;
}
.social-proof-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 8px rgba(52,211,153,.08);
}
.proof-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.proof-list li + li {
  margin-top: 8px;
}

.footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: .95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-banner {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(34,211,238,.08));
  border: 1px solid rgba(192,132,252,.18);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { max-width: 60ch; }

@keyframes pulseBox {
  from { transform: translateY(-2px) scale(1); }
  to { transform: translateY(-6px) scale(1.01); }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .faq-grid,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .hero-points,
  .boxes { grid-template-columns: 1fr; }
  .floating-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
  .menu-toggle { display: inline-flex; }
  .nav-inner { flex-wrap: wrap; padding: 14px 0; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0 10px;
  }
  .nav-links.is-open { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding-top: 52px; }
  .game-panel { padding: 20px; }
  .status-bar, .result-actions { flex-direction: column; }
  .cta-banner { padding: 22px; }
}