:root {
  --bg: #0d0716;
  --bg-alt: #150d24;
  --bg-card: #1c1030;
  --bg-card-hover: #241540;
  --gold: #ffd54f;
  --gold-light: #ffe28a;
  --gold-dark: #ff9f1a;
  --red: #e11d48;
  --red-light: #ff5f6d;
  --text: #f4efff;
  --text-dim: #b9aecf;
  --text-mute: #85799e;
  --border: rgba(255, 213, 79, 0.18);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 213, 79, 0.06);
  margin-bottom: 16px;
}
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
.section__desc { margin-top: 16px; color: var(--text-dim); font-size: 17px; }

.grid { display: grid; gap: 24px; }
.grid--three { grid-template-columns: repeat(3, 1fr); }
.grid--four { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn--lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 40%, var(--gold-dark));
  color: #241402;
  box-shadow: 0 8px 24px rgba(255, 213, 79, 0.3);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 213, 79, 0.45); }
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(255, 213, 79, 0.45);
}
.btn--outline:hover { background: rgba(255, 213, 79, 0.1); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: var(--gold); background: rgba(255, 213, 79, 0.06); }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(13, 7, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header--scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { flex-shrink: 0; display: flex; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; gap: 12px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 140px 0 0; position: relative; background: radial-gradient(1200px 600px at 80% -10%, rgba(225, 29, 72, 0.22), transparent 60%), radial-gradient(900px 500px at 10% 20%, rgba(255, 213, 79, 0.1), transparent 60%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding-bottom: 72px; }

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(255, 213, 79, 0.08);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__title { font-size: clamp(34px, 5.2vw, 58px); font-weight: 900; line-height: 1.08; letter-spacing: -1px; }
.hero__title em { font-style: normal; background: linear-gradient(120deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subtitle { margin-top: 20px; font-size: 18px; color: var(--text-dim); max-width: 540px; }
.hero__buttons { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero__points { margin-top: 30px; display: grid; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 500; font-size: 15px; }
.hero__points svg { color: var(--gold); flex-shrink: 0; }

.hero__visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero__blob { position: absolute; width: 440px; height: 440px; }
.hero__dice, .hero__card { position: absolute; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); }
.hero__dice--one { width: 130px; animation: float 5s ease-in-out infinite; }
.hero__dice--two { width: 100px; right: 6%; top: 16%; animation: float 6s ease-in-out infinite reverse; }
.hero__card { width: 150px; left: 4%; bottom: 6%; animation: float 5.5s ease-in-out infinite 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

.hero__stats { border-top: 1px solid var(--border); background: rgba(28, 16, 48, 0.5); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.stat { text-align: center; }
.stat__num { display: block; font-size: 34px; font-weight: 900; background: linear-gradient(120deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { display: block; margin-top: 4px; color: var(--text-mute); font-size: 14px; font-weight: 500; }

/* Features */
.feature {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border); background: var(--bg-card-hover); }
.feature__icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: rgba(255, 213, 79, 0.08);
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 20px;
}
.feature__icon img { width: 38px; height: 38px; }
.feature__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature__text { color: var(--text-dim); font-size: 15px; }

/* Games */
.game {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.game:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 18px 40px rgba(225, 29, 72, 0.15); }
.game__icon {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(255, 213, 79, 0.1));
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}
.game:hover .game__icon { transform: scale(1.06) rotate(-4deg); }
.game__icon img { width: 40px; height: 40px; }
.game__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.game__text { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.game__count { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; }

/* Bonus */
.bonus__panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #1c1030 0%, #2a1240 60%, #38123f 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.bonus__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255, 213, 79, 0.12), transparent 60%);
  pointer-events: none;
}
.bonus__title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.bonus__text { color: var(--text-dim); margin-bottom: 22px; }
.bonus__list { display: grid; gap: 12px; margin-bottom: 28px; }
.bonus__list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.bonus__list img { width: 20px; height: 20px; color: var(--gold); }
.bonus__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.bonus__dice { width: 150px; height: 150px; color: var(--gold); animation: float 4.5s ease-in-out infinite; }
.bonus__chip { position: absolute; right: 8%; top: 8%; width: 96px; height: 96px; color: var(--red-light); animation: float 5.5s ease-in-out infinite reverse; }
.bonus__ring { position: absolute; width: 240px; height: 240px; }

/* About */
.about__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.about__visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.about__trophy { width: 190px; height: 190px; color: var(--gold); filter: drop-shadow(0 20px 50px rgba(255, 213, 79, 0.25)); }
.about__year { font-size: 54px; font-weight: 900; background: linear-gradient(120deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about__content .section__title { margin-bottom: 20px; }
.about__text { color: var(--text-dim); margin-bottom: 16px; font-size: 16px; }

/* Steps */
.step { text-align: center; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius); padding: 40px 28px; position: relative; }
.step__num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #241402;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(255, 213, 79, 0.35);
}
.step__icon { width: 72px; height: 72px; margin: 8px auto 18px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 213, 79, 0.08); border: 1px solid var(--border); color: var(--gold); }
.step__icon img { width: 38px; height: 38px; }
.step__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step__text { color: var(--text-dim); font-size: 15px; }

/* CTA */
.cta { padding: 90px 0; background: radial-gradient(800px 400px at 50% 100%, rgba(225, 29, 72, 0.25), transparent 70%); border-top: 1px solid var(--border); }
.cta__inner { text-align: center; }
.cta__title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 14px; }
.cta__text { color: var(--text-dim); font-size: 18px; margin-bottom: 30px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__note { margin-top: 14px; color: var(--text-mute); font-size: 14px; max-width: 260px; }
.footer__title { font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { color: var(--text-dim); font-size: 15px; transition: color 0.2s ease; }
.footer__list a:hover { color: var(--gold); }
.footer__warning {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(225, 29, 72, 0.06);
  padding: 18px 22px;
  color: var(--text-mute);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer__warning strong { color: var(--red-light); font-size: 16px; margin-right: 6px; }
.footer__bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; color: var(--text-mute); font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid--four { grid-template-columns: repeat(2, 1fr); }
  .grid--three { grid-template-columns: repeat(2, 1fr); }
  .bonus__panel { grid-template-columns: 1fr; padding: 40px 32px; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__buttons, .hero__points { justify-content: center; }
  .hero__points li { justify-content: center; text-align: left; }
  .hero__visual { min-height: 300px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid--three, .grid--four { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(13, 7, 22, 0.97);
    padding: 30px 20px 40px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    margin: 0;
  }
  .nav--open { transform: translateY(0); }
  .header__actions { display: none; }
  .burger { display: flex; margin-left: auto; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .bonus__panel { padding: 32px 22px; }
}
