:root {
  --gold: #ffd76e;
  --gold-deep: #e8a63a;
  --pink: #f32472;
  --wine: #2a0618;
  --plum: #1c0626;
  --text: #fff4ea;
  --muted: #f0d8e4;
  --max: 1160px;
  --header: 68px;
  --slab: 'Alfa Slab One', Georgia, serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --side: clamp(0px, calc(50vw - 560px), 360px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); }
body { margin: 0; background: var(--wine); color: var(--text); font: 16px/1.5 'Nunito Sans', system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border: 0; color: #fff; white-space: nowrap;
  font: 800 16px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .15s ease, filter .15s ease;
}
.btn-marquee { background: url('assets/site/button.webp') center/100% 100% no-repeat; text-shadow: 0 1px 3px #6b0034; width: 236px; min-height: 0; aspect-ratio: 760/202; padding: 0; }
.btn-large { width: 290px; font-size: 19px; }
.btn-small { width: 164px; font-size: 14px; }
.btn-outline { background: #1f0726d9; border: 2px solid var(--gold); border-radius: 12px; color: var(--gold); min-height: 50px; box-shadow: 0 0 14px #ffc4553d; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header); background: #1d0519f2; border-bottom: 2px solid var(--gold-deep); box-shadow: 0 3px 18px #000a; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; width: 150px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; font-size: 14px; font-weight: 800; }
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a.is-active { color: var(--gold); }
.main-nav a.is-active::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.nav-demo { display: none; }
.nav-lang { font-family: "Barlow Condensed", sans-serif; font-weight: 800; letter-spacing: .08em; opacity: .85; }
.skip-link { position: absolute; z-index: 50; left: 12px; top: -60px; padding: 10px 16px; background: #fff; color: #1d0519; font-weight: 800; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.menu-toggle { display: none; width: 46px; height: 44px; background: #230a30; color: var(--gold); border: 1px solid var(--gold-deep); border-radius: 8px; font-size: 22px; line-height: 1; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 2px solid var(--gold-deep); background: #2a0420 url('assets/site/hero-bg.webp') center top/cover no-repeat; padding-bottom: 34px; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 60% 70% at 26% 50%, #1b031fb0, transparent 75%), linear-gradient(180deg, transparent 72%, #2a0618); }
.hero-valance { position: absolute; z-index: -1; top: 0; left: 50%; width: max(100%, 1250px); max-width: none; transform: translateX(-50%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: start; gap: 12px; min-height: 610px; padding-top: 112px; }
.hero-title { margin: 0 0 14px; }
.hero-title img { filter: drop-shadow(0 8px 14px #17000bb0); }
.lede { max-width: 490px; margin: 0 0 22px 18px; font-size: 18px; line-height: 1.45; font-weight: 600; text-shadow: 0 1px 6px #1b0212, 0 0 20px #1b0212d9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-left: 12px; }
.hero-ringmaster { position: absolute; z-index: 1; right: -46px; top: 34px; width: 610px; max-width: none; filter: drop-shadow(0 0 22px #f5427f70); }

/* Jackpots */
.jackpots { position: relative; z-index: 2; margin-top: -22px; scroll-margin-top: 90px; }
.jackpot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.jackpot-card { aspect-ratio: 760/305; display: flex; flex-direction: column; align-items: center; justify-content: center; background: center/100% 100% no-repeat; filter: drop-shadow(0 8px 10px #12001099); }
.jackpot-card.grand { background-image: url('assets/site/jackpot-red.webp'); }
.jackpot-card.major { background-image: url('assets/site/jackpot-purple.webp'); }
.jackpot-card.minor { background-image: url('assets/site/jackpot-blue.webp'); }
.jackpot-card.mini { background-image: url('assets/site/jackpot-green.webp'); }
.jackpot-card span { font: 800 clamp(11px, 1.05vw, 15px)/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: #fff3cf; text-shadow: 0 2px 2px #0007; }
.jackpot-card strong { font: 400 clamp(20px, 2.4vw, 34px)/1.04 var(--slab); color: #fff; text-shadow: 0 3px 0 #0009, 0 0 12px #fff5; }

/* Curtained stage behind every section below the hero */
.stage { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 62% 900px at 50% 420px, #5c0d2e 0%, transparent 100%), linear-gradient(180deg, #3a0921, var(--wine) 45%, var(--plum)); }
.deco { position: absolute; z-index: -1; display: none; pointer-events: none; }
.curtain { --fade: linear-gradient(180deg, #000 38%, transparent 90%); width: var(--side); height: 1500px; background-repeat: no-repeat; background-size: auto 1500px; }
.curtain-l { left: 0; background-image: url('assets/site/curtain-left.webp'); background-position: left top; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent), var(--fade); mask-image: linear-gradient(90deg, #000 62%, transparent), var(--fade); -webkit-mask-composite: source-in; mask-composite: intersect; }
.curtain-r { right: 0; background-image: url('assets/site/curtain-right.webp'); background-position: right top; -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent), var(--fade); mask-image: linear-gradient(270deg, #000 62%, transparent), var(--fade); -webkit-mask-composite: source-in; mask-composite: intersect; }
.c2 { top: 38%; --fade: linear-gradient(180deg, transparent, #000 14%, #000 62%, transparent 94%); }
.prop { width: clamp(130px, calc(var(--side) * .95), 330px); filter: drop-shadow(0 18px 16px #000c); }
.prop-sm { width: clamp(100px, calc(var(--side) * .8), 230px); }
.prop-l { left: 10px; }
.prop-r { right: 10px; }
.p-drum { top: 37.5%; width: clamp(110px, calc(var(--side) - 22px), 345px); }
.p-chest { top: 37.5%; width: clamp(110px, calc(var(--side) - 22px), 345px); }
@media (min-width: 1200px) { .curtain { display: block; } }
@media (min-width: 1360px) { .prop { display: block; } }

.section { position: relative; padding: 42px 0 54px; }
.section + .section::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1240px, 100%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold-deep) 18%, var(--gold) 50%, var(--gold-deep) 82%, transparent); }

/* Section heading plaque */
.plaque { display: flex; align-items: center; justify-content: center; width: min(480px, 100%); aspect-ratio: 1200/325; margin: 0 auto 20px; padding-top: 2.5%; background: url('assets/site/plaque.webp') center/100% 100% no-repeat; filter: drop-shadow(0 6px 10px #0009); }
.plaque h2 { margin: 0; padding: 0 12%; white-space: nowrap; font: 400 clamp(15px, 1.45vw, 20px)/1 var(--slab); letter-spacing: .05em; text-align: center; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 0 #5a1208, 0 0 12px #ff9b2e66; }
.plaque-small { width: min(360px, 100%); margin: 0 0 12px; }
.plaque-small h2 { font-size: clamp(14px, 1.5vw, 18px); }

.fine-print { margin: 0; font-size: 12.5px; color: #e8d2e0; }

/* Overview */
.overview { padding-bottom: 0; }
.overview-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; gap: 28px; }
.overview-copy { padding-bottom: 44px; }
.overview-copy > p:first-child { margin: 0 0 26px; max-width: 580px; font-size: 19px; line-height: 1.55; color: var(--text); }
.overview-art { justify-self: end; width: min(100%, 500px); margin-top: -40px; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }

/* Demo */
.demo { padding: 0 0 46px; }
.demo.section::before { display: none; }
.demo .container { width: min(1280px, calc(100% - 40px)); }
.demo-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 24px;
  width: 100%; aspect-ratio: 1888/833; padding: 11.8% 12.4% 6% 12%; margin-top: -14px;
  background: url('assets/site/demo-frame.webp') center/100% 100% no-repeat;
}
.demo-copy { padding: 0; }
.demo-copy > p:not(.fine-print) { margin: 0 0 20px; color: var(--muted); }
.demo-copy .fine-print { margin-top: 10px; min-height: 2.4em; }
.demo-visual { padding: 0; }
.demo-visual img { border: 3px solid var(--gold-deep); border-radius: 10px; box-shadow: 0 0 22px #ffb33d66; }
.demo-visual iframe { display: block; width: 100%; aspect-ratio: 3/2; border: 3px solid var(--gold-deep); border-radius: 10px; background: #000; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-style: solid; border-width: 112px 36px 54px; border-image: url('assets/site/feature-frame.webp') 225 90 130 90 fill / 112px 36px 54px stretch;
  filter: drop-shadow(0 8px 12px #0009);
}
.feature-art { width: 112%; max-width: none; height: 215px; margin: -44px 0 2px; object-fit: contain; object-position: center bottom; }
.feature-card h3 { margin: 0 0 8px; padding: 0 22px; font: 400 clamp(19px, 2vw, 24px)/1.12 var(--slab); letter-spacing: .02em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 0 #5a1208; }
.feature-card p { margin: 0 0 30px; padding: 0 28px; font-size: 16px; line-height: 1.42; color: #fff0f6; }

/* Symbols */
.symbols-layout { display: flex; gap: 10px; align-items: flex-start; }
.symbols-group { display: flex; gap: 10px; }
.symbols-chars { flex: 4 1 0; min-width: 0; }
.symbols-cards { flex: 5 1 0; min-width: 0; margin: 0; }
.symbols-group > li { flex: 1 1 0; min-width: 0; text-align: center; }
.symbols-group img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--gold-deep); border-radius: 12px; box-shadow: 0 0 12px #ffb33d59; background: #22072f; }
.symbols-chars span, .symbols-cards figcaption { display: block; margin-top: 9px; font: 800 14px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: #ffeec9; text-align: center; }

/* Guide */
.guide-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.guide-box { display: flex; flex-direction: column; align-items: center; padding: 20px 12px 16px; text-align: center; background: linear-gradient(#3a0c43, #1a0621); border: 1px solid var(--gold-deep); border-radius: 12px; box-shadow: 0 6px 16px #0006; transition: transform .15s ease, box-shadow .15s ease; }
.guide-box img { width: 58px; height: 58px; margin-bottom: 8px; filter: drop-shadow(0 3px 5px #0008); }
.guide-box h3 { margin: 0 0 6px; font: 800 22px/1.05 var(--cond); letter-spacing: .03em; text-transform: uppercase; color: var(--gold); }
.guide-box p { margin: 0 0 12px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.guide-box span { margin-top: auto; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }

/* FAQ */
.faq-shell { max-width: 820px; }
.faq-shell details { margin: 0 0 10px; padding: 14px 20px; background: #24092ee6; border: 1px solid var(--gold-deep); border-radius: 10px; scroll-margin-top: 90px; }
.faq-shell summary { cursor: pointer; font-weight: 800; color: #ffe7b0; }
.faq-shell details p { margin: 10px 0 2px; color: var(--muted); }

/* Footer */
.site-footer { background: #17041a; border-top: 2px solid var(--gold-deep); padding: 22px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr minmax(0, 330px); align-items: center; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; font-weight: 800; }
.footer-inner p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #dcc4d4; text-align: right; }

/* Laptop */
@media (max-width: 1180px) {
  .main-nav { gap: 20px; }
  .hero-inner { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); min-height: 540px; padding-top: 92px; }
  .hero-ringmaster { width: 470px; right: -14px; }
  .feature-card { border-width: 96px 28px 46px; border-image-width: 96px 28px 46px; }
  .feature-art { height: 180px; margin-top: -30px; }
  .demo-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); aspect-ratio: 1729/910; padding: 12.4% 11.5% 9.2%; background-image: url('assets/site/demo-frame-tablet.webp'); }
}

/* Tablet */
@media (max-width: 960px) {
  :root { --header: 62px; }
  .brand { width: 132px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header); left: 12px; right: 12px; margin: 0; padding: 8px; flex-direction: column; align-items: stretch; gap: 0; background: #280a30; border: 1px solid var(--gold-deep); border-radius: 10px; box-shadow: 0 15px 25px #0009; font-size: 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .main-nav a.is-active::after { display: none; }

  .hero-inner { grid-template-columns: minmax(0, 370px) minmax(0, 1fr); min-height: 470px; padding-top: 76px; }
  .lede { font-size: 16px; margin-left: 8px; }
  .hero-actions { margin-left: 4px; gap: 10px; }
  .hero-actions .btn { font-size: 14px; }
  .hero-actions .btn-marquee { width: 190px; }
  .hero-actions .btn-outline { padding: 0 16px; min-height: 46px; }
  .hero-ringmaster { width: 372px; top: 34px; right: -14px; }

  .overview-layout { grid-template-columns: 1fr; gap: 0; }
  .overview-copy { padding-bottom: 12px; }
  .overview-art { justify-self: center; width: min(100%, 460px); margin-top: 0; }
  .demo-panel { gap: 16px; }
  .demo-copy > p:not(.fine-print) { font-size: 14.5px; margin-bottom: 12px; }
  .btn-large { width: 220px; font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .feature-card { border-width: 112px 36px 54px; border-image-width: 112px 36px 54px; }
  .feature-art { height: 210px; margin-top: -44px; }
  .symbols-layout { flex-direction: column; gap: 16px; }
  .symbols-chars, .symbols-cards { flex: none; width: 100%; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-box:last-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .footer-inner p { text-align: center; max-width: 480px; }
}

/* Phone */
@media (max-width: 760px) {
  .demo .container { width: calc(100% - 40px); max-width: 480px; }
  .demo-panel { display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; width: 100%; margin-inline: auto; aspect-ratio: 900/1549; padding: 15% 5% 0; background-image: url('assets/site/demo-frame-tall.webp'); }
  .demo-visual { order: -1; }
  .demo-copy { padding: 0 13%; text-align: center; }
  .demo-copy > p:not(.fine-print) { font-size: 14px; line-height: 1.35; margin-bottom: 8px; }
  .plaque-small { width: 100%; margin: 0 auto 4px; }
  .btn-large { width: 200px; font-size: 14px; }
  .demo-copy .fine-print { min-height: 0; margin-top: 4px; font-size: 12px; line-height: 1.25; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .header-cta { display: none; }
  .nav-demo { display: block; margin-top: 6px; border-top: 1px solid var(--gold-deep); color: var(--gold); }
  .menu-toggle { margin-left: auto; }
  .hero-valance { width: 900px; }
  .hero { background-position: center top; background-size: auto 100%; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; min-height: 0; padding-top: 58px; gap: 0; }
  .hero-copy { text-align: center; position: relative; z-index: 2; }
  .hero-title { width: min(100%, 340px); margin: 0 auto 10px; }
  .lede { margin: 0 auto 14px; font-size: 15.5px; }
  .hero-actions { justify-content: center; margin: 0; flex-wrap: nowrap; }
  .hero-actions .btn { font-size: 13px; }
  .hero-actions .btn-marquee { width: 200px; flex: none; }
  .hero-actions .btn-outline { flex: 1 1 0; padding: 0 6px; min-height: 48px; }
  .hero-ringmaster { position: static; width: min(100%, 380px); margin: 6px 0 -84px; }
  .jackpots { margin-top: -18px; }
  .jackpot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .jackpot-card { flex-direction: row; gap: 6px; align-items: center; padding-bottom: 2%; }
  .jackpot-card span { font-size: 12px; letter-spacing: .05em; }
  .jackpot-card strong { font-size: 19px; }
  .section { padding: 30px 0 38px; }
  .overview { padding-bottom: 0; }
  .demo { padding-bottom: 34px; }
  .plaque { margin-bottom: 18px; }
  .overview-copy > p:first-child { font-size: 16px; }
  .plaque h2 { padding: 0 12%; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
  .symbols-group { gap: 6px; }
  .symbols-chars span, .symbols-cards figcaption { font-size: 12px; letter-spacing: .04em; }
  .guide-box h3 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .guide-box { transition: none; }
}

/* hover only on hover-capable pointers (review fix) */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
  .main-nav a:hover { color: var(--gold); }
  .guide-box:hover { transform: translateY(-3px); box-shadow: 0 0 18px #ffb33d73; }
  .footer-links a:hover { color: var(--gold); }
}


/* ===== v9 home: ticket, playbill, one-time marquee flash ===== */
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 220px; margin: 0 0 14px; color: #3a0c1c;
  background: linear-gradient(#ffe9a0, #f0b447); border-radius: 14px; filter: drop-shadow(0 10px 14px #12001099);
  -webkit-mask: radial-gradient(circle 12px at calc(100% - 220px) 0, #0000 11.5px, #000 12px), radial-gradient(circle 12px at calc(100% - 220px) 100%, #0000 11.5px, #000 12px);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.ticket ul { display: grid; }
.ticket-main { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 8px 16px; }
.ticket-main li { display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.ticket-main li + li { border-left: 2px solid #7a0f2633; }
.ticket-main strong { font: 400 clamp(46px, 5vw, 66px)/1 var(--slab); color: #a3122b; text-shadow: 0 2px 0 #fff6; }
.ticket-main span { margin-top: 6px; font: 800 19px/1 var(--cond); letter-spacing: .04em; color: #3a0c1c; }
.ticket-stub { align-content: center; gap: 12px; padding: 14px 18px; border-left: 2px dashed #7a0f2699; }
.ticket-stub li { display: flex; flex-direction: column; }
.ticket-stub span { font: 800 16px/1.1 var(--cond); letter-spacing: .04em; color: #5a1208; }
.ticket-stub strong { font: 800 26px/1.15 var(--cond); color: #3a0c1c; }
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket-main strong { font-size: 44px; }
  .ticket-stub { grid-template-columns: 1fr 1fr; border-left: 0; border-top: 2px dashed #7a0f2699; }
}

.play { padding: 0 0 46px; }
.play.section::before { display: none; } /* общая линия секций упиралась в рамку панели */
.playbill { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 32px; background: linear-gradient(#2c0d36f2, #1c0626f2); border: 2px solid var(--gold-deep); border-radius: 16px; box-shadow: 0 14px 30px #0009; }
.playbill-copy h2 { margin: 0 0 6px; font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--slab); color: var(--gold); text-shadow: 0 2px 0 #5a1208; }
.playbill-copy p { margin: 0; max-width: 560px; font-size: 17px; color: var(--muted); }
.playbill .btn { flex: none; }
@media (max-width: 760px) {
  .playbill { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; padding: 22px 18px; }
  .playbill .btn { align-self: center; }
}

@keyframes marquee-flash { 0% { filter: brightness(.72) drop-shadow(0 8px 10px #12001099); } 38% { filter: brightness(1.45) drop-shadow(0 0 18px #ffd76ecc); } 100% { filter: brightness(1) drop-shadow(0 8px 10px #12001099); } }
@media (prefers-reduced-motion: no-preference) {
  .jackpot-card { animation: marquee-flash 1.15s ease-out .35s both; }
  .jackpot-card:nth-child(2) { animation-delay: .5s; }
  .jackpot-card:nth-child(3) { animation-delay: .65s; }
  .jackpot-card:nth-child(4) { animation-delay: .8s; }
}

/* cast.webp обрезана по правому краю в исходнике: мягкое растворение вместо ровного среза руки (v9) */
.overview-art { -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent), linear-gradient(270deg, transparent 0, #000 12%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 86%, transparent), linear-gradient(270deg, transparent 0, #000 12%); mask-composite: intersect; }

/* ===== v9 home: facts ticket on the ChatGPT ticket art (frame, perforation, button plate); numbers and PLAY are live text ===== */
.ticket-stub { text-align: center; }
.ticket-play { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 34px; border: 2px solid #8c0f1b; border-radius: 10px; background: linear-gradient(#b3162f, #7a0f26); color: #fff4ea; font: 800 20px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 1px 0 #fff4, 0 2px 0 #5a1208; }
.ticket-play:focus-visible { outline: 3px solid #3a0c1c; outline-offset: 3px; }
@media (min-width: 641px) {
  .ticket { display: block; container-type: inline-size; aspect-ratio: 1600 / 360; margin: 0 0 14px; color: #5a1208; background: url('assets/site/ticket-art.svg') center / 100% 100% no-repeat; border-radius: 0; -webkit-mask: none; mask: none; filter: drop-shadow(0 8px 12px #000a); }
  .ticket-main { position: absolute; left: 3.5%; top: 17%; width: 60%; height: 68%; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; padding: 0; }
  .ticket-main li { padding: 0 1cqw; }
  .ticket-main li + li { border-left: 2px solid #7a0f2633; }
  .ticket-main strong { font: 400 clamp(36px, 9.5cqw, 84px)/1 var(--slab); color: #a3122b; text-shadow: 0 .3cqw 0 #fff6; }
  .ticket-main span { margin-top: 1cqw; font: 800 clamp(14px, 3cqw, 26px)/1 var(--cond); letter-spacing: .04em; color: #3a0c1c; }
  .ticket-stub { position: absolute; left: 72.5%; top: 30.5%; width: 22.75%; height: 37%; padding: 0; border-left: 0; }
  .ticket-play { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 10px; background: none; box-shadow: none; color: #6d1712; font-size: clamp(16px, 3.8cqw, 34px); letter-spacing: .16em; text-shadow: 0 1px 0 #fff8; }
}
@media (min-width: 641px) and (hover: hover) { .ticket-play:hover { color: #3d0a10; filter: drop-shadow(0 0 5px #fff9); } }


/* ===== SEO-блок главной (About Big Circus Slot) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.about-copy { max-width: 820px; }
.about-card { padding: 22px 26px 18px; background: #24092ee6; border: 1px solid var(--gold-deep); border-radius: 12px; box-shadow: 0 6px 16px #0006; }
.about-card h3 { margin: 22px 0 8px; font: 800 22px/1.1 var(--cond); letter-spacing: .03em; text-transform: uppercase; color: var(--gold); }
.about-card h3:first-child { margin-top: 0; }
.about-card p { margin: 0 0 6px; color: var(--muted); line-height: 1.6; }
.about-card a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.about-card a:hover { color: #fff; }
@media (max-width: 640px) {
  .about-card { padding: 18px 16px 14px; }
  .about-card h3 { font-size: 20px; }
}

/* ===== Строки-ссылки на главной (обзоры, полная статья) ===== */
.reviews-links, .guide-more { margin: 16px 0 0; text-align: center; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.reviews-links a, .guide-more a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.reviews-links a:hover, .guide-more a:hover { color: #fff; }

/* SEO-блок стоит вне .stage: фон продолжает низ сцены, разделитель как у соседних секций */
.about-slot { background: var(--plum); }
.about-slot::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1240px, 100%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold-deep) 18%, var(--gold) 50%, var(--gold-deep) 82%, transparent); }


/* ===== Страница демо (demo-playtech.html, открывается в попапе) ===== */
.demo-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 0, #4a0f2e 0, var(--wine) 60%); }
.demo-top { display: flex; justify-content: center; padding: 12px 16px 4px; }
.demo-top .brand img { width: 170px; height: auto; display: block; }
.demo-main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 8px 16px 28px; text-align: center; }
.demo-main .plaque { margin-bottom: 8px; }
.demo-main .plaque h1 { margin: 0; padding: 0 12%; white-space: nowrap; font: 400 clamp(15px, 4vw, 22px)/1 var(--slab); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 0 #5a1208, 0 0 12px #ff9b2e66; }
.demo-sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.demo-stage { width: 100%; aspect-ratio: 16/10; min-height: 340px; background: #000; border: 3px solid var(--gold-deep); border-radius: 12px; box-shadow: 0 0 26px #ffb33d55, 0 8px 24px #000a; overflow: hidden; }
.demo-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-facts { margin: 22px 0 0; padding: 18px 22px 14px; text-align: left; background: #24092ee6; border: 1px solid var(--gold-deep); border-radius: 12px; box-shadow: 0 6px 16px #0006; }
.demo-facts h2 { margin: 0 0 10px; font: 800 20px/1.1 var(--cond); letter-spacing: .03em; text-transform: uppercase; color: var(--gold); }
.demo-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 0 0 10px; }
.demo-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #e8a63a44; }
.demo-facts dt { color: var(--gold); font: 700 15px/1.3 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.demo-facts dd { margin: 0; color: var(--text); font-size: 15px; text-align: right; }
.demo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 20px; }
.demo-actions .btn-marquee { display: flex; align-items: center; justify-content: center; width: 230px; text-decoration: none; }
.demo-foot { padding: 14px 16px 18px; text-align: center; font-size: 12.5px; color: #e8d2e0; border-top: 2px solid var(--gold-deep); background: #1d0519; }
.demo-foot p { margin: 0 auto; max-width: 760px; }
.demo-foot a { color: var(--gold); }
@media (max-width: 640px) {
  .demo-stage { aspect-ratio: 4/3; min-height: 260px; }
  .demo-facts dl { grid-template-columns: 1fr; }
  .demo-facts { padding: 16px 14px 12px; }
}
