:root {
  --bg: #fff3e0;
  --bg-deep: #ffe8c4;
  --paper: #fffaf3;
  --ink: #3a160c;
  --muted: #8a5340;
  --cherry: #d01218;
  --orange: #f25c12;
  --citrus: #ffb020;
  --line: rgba(210, 90, 30, 0.22);
  --shadow: 0 18px 40px rgba(180, 70, 20, 0.16);
  --radius: 20px;
  --header: 78px;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Lilita One", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: 120px;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--cherry); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, .h1, .h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
}

h1, .h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--ink); }
h2, .h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--cherry); }
h3 { font-size: 1.15rem; color: var(--ink); }
p { margin: 0 0 1em; color: var(--muted); }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 80;
  background: var(--citrus); color: var(--ink); padding: 8px 12px;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 280px at 12% -4%, rgba(255, 176, 32, 0.45), transparent 60%),
    radial-gradient(640px 360px at 100% 8%, rgba(242, 92, 18, 0.18), transparent 55%),
    repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(255, 255, 255, 0.35) 18px, rgba(255, 255, 255, 0.35) 19px),
    var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 4px solid var(--orange);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}
.logo:hover { color: inherit; }
.logo img,
.logo__mark {
  height: 62px;
  width: 62px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #3a0c08;
  border: 2px solid #ffb020;
}
.logo__word {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.logo__word b,
.logo__x {
  font-family: var(--display);
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo__word i,
.logo__hot {
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: normal;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--cherry);
  padding: 6px 9px 4px;
  border-radius: 6px;
  transform: rotate(-4deg);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
}
.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover,
.nav a.is-active { color: var(--cherry); }

.nav-play { display: none !important; }

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 8px;
}
.lang a { color: var(--muted); padding: 4px 0; }
.lang a.is-active { color: var(--cherry); font-weight: 800; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 22px;
  transition: transform 0.15s ease, filter 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(180deg, #ff8a2a, var(--orange));
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 92, 18, 0.32);
}
.btn--primary:hover { filter: brightness(1.06); color: #fff; }

.btn--gold {
  background: var(--citrus);
  color: var(--ink);
}
.btn--gold:hover { color: var(--ink); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.btn--ghost:hover { background: #fff6e8; color: var(--ink); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn--line:hover { color: var(--cherry); border-color: var(--cherry); }

.btn--lg { min-width: 220px; padding: 14px 28px; font-size: 1.02rem; }
.header-cta { margin-left: 10px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.hero-intro { padding: 28px 0 4px; }
.kicker {
  color: var(--orange);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-intro .lead {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero { padding: 8px 0 10px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stage {
  position: relative;
  min-height: 520px;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  background: #f4c48a;
}

.stage__art {
  position: absolute;
  inset: 0;
  background: url("../images/x15-hero.png") center / contain no-repeat #2a0604;
}

.stage__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(40, 6, 4, 0.82));
}

.age-note {
  margin-top: 4px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.demo-frame {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #1a0c08;
}
.demo-frame.is-open { display: flex; flex-direction: column; }
.demo-frame iframe { flex: 1; width: 100%; border: 0; background: #111; }
.demo-frame__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #3a160c;
}

.ticket {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--paper);
  border: 2px dashed var(--orange);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ticket__cell,
.specs__row {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}
.ticket__cell:nth-child(5n),
.specs .specs__row:nth-child(5n) { border-right: 0; }
.ticket__cell span,
.specs__row span:first-child {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket__cell b,
.specs__row span:last-child {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 400;
}

.specs {
  display: none;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 4px;
}
.toc a {
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.86rem;
  font-weight: 700;
  background: #fff;
}
.toc a:hover { border-color: var(--cherry); color: var(--cherry); }

.section { padding: 40px 0; }
.section--narrow {
  width: min(820px, calc(100% - 32px));
  margin-inline: auto;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 160px;
  gap: 12px;
}
.gallery a {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid #fff;
  background: #3a0c08;
  box-shadow: var(--shadow);
}
.gallery a:nth-child(1),
.gallery a:nth-child(3) { grid-row: span 2; }
.gallery a:nth-child(5) { grid-column: span 2; }
.gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(40, 8, 4, 0.9);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 2px solid var(--line);
  background: rgba(255, 250, 243, 0.92);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}
.lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
}
.lightbox__nav[data-lb-prev] { left: 16px; }
.lightbox__nav[data-lb-next] { right: 16px; }

.review .score {
  color: var(--muted);
  font-size: 0.82rem;
  margin-left: 8px;
  letter-spacing: 0;
}

.prose ol,
.prose ul {
  color: var(--muted);
  padding-left: 1.2em;
}
.prose li { margin: 0 0 0.45em; }

.cta-band,
.cta-fire {
  position: relative;
  min-height: 200px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 28px 32px;
  background: #f25c12 url("../images/x15-hero.png") center / cover no-repeat;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.cta-fire::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(208, 18, 24, 0.88), rgba(242, 92, 18, 0.35));
}
.cta-fire > * { position: relative; z-index: 1; }
.cta-fire h2, .cta-fire p { color: #fff; max-width: 440px; }

.cta-center { display: flex; justify-content: center; padding: 28px 0 36px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card--pro h3 { color: #1a8a4a; }
.card--con h3 { color: var(--cherry); }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }

.bonus-list { display: grid; gap: 12px; }
.bonus {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 2px dashed var(--orange);
}
.bonus__logo {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  background: #fff3e0;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--cherry);
  font-weight: 800;
  font-size: 0.78rem;
  text-align: center;
}
.bonus__name { font-weight: 800; color: var(--ink); }
.bonus__meta, .bonus__offer { color: var(--orange); font-size: 0.9rem; }

.stars { color: var(--orange); letter-spacing: 2px; font-size: 0.85rem; }

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.review {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.review header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.faq details { border-bottom: 2px dashed var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.faq p { margin: 8px 0 0; }

.legal { padding: 40px 0 80px; }
.legal h1 { margin-bottom: 8px; }
.crumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.contact-form, .review-form { display: grid; gap: 12px; }

input, textarea, select {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-family: inherit;
}
textarea { min-height: 120px; resize: vertical; }

.site-footer {
  margin-top: 40px;
  padding: 36px 0 20px;
  border-top: 4px solid var(--orange);
  background: #fffaf3;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 18px; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; }
.copy { color: var(--muted); font-size: 0.82rem; }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
}
.cookie[hidden] { display: none !important; }
.cookie p { margin: 0; font-size: 0.88rem; }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }

dialog {
  border: 3px solid var(--orange);
  border-radius: 18px;
  background: #fffaf3;
  color: var(--ink);
  padding: 22px;
  width: min(460px, 92vw);
}
dialog::backdrop { background: rgba(58, 22, 12, 0.45); }

.reels-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.reel {
  background: #fff;
  border: 3px solid #fff;
  outline: 3px solid var(--orange);
  border-radius: 18px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.reel img {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  object-fit: contain;
}
.reel h3 { margin: 0 0 6px; color: var(--cherry); }
.reel p { margin: 0; font-size: 0.88rem; }

.wheel-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  border: 2px solid var(--line);
}
.wheel-block img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 18px;
  border: 4px solid var(--citrus);
  background: #3a0c08;
}

.symbols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
  text-align: center;
}
.symbols img {
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  object-fit: contain;
}
.symbols span {
  color: var(--cherry);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.app-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 40px 0;
}
.device {
  min-height: 320px;
  border-radius: 28px;
  border: 2px solid var(--line);
  background: #fff3e0;
}

@media (max-width: 980px) {
  .ticket { grid-template-columns: repeat(3, 1fr); }
  .ticket__cell:nth-child(5n) { border-right: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .split, .review-grid, .app-hero, .bonus, .reels-3, .wheel-block, .symbols {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }
  .gallery a:nth-child(1),
  .gallery a:nth-child(3),
  .gallery a:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
  .burger {
    display: grid;
    place-items: center;
    margin-left: auto;
  }
  .nav {
    display: none;
    position: absolute;
    inset: var(--header) 12px auto;
    background: #fffaf3;
    border: 2px solid var(--orange);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .header-cta { display: none; }
  .nav-play { display: flex !important; margin-top: 8px; }
  .cookie { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .gallery, .ticket { grid-template-columns: 1fr; }
  .btn--lg { min-width: 0; width: 100%; }
  .logo__word b { font-size: 1.55rem; }
}
