@font-face { font-family: "Tilda Sans"; src: url("fonts/tilda-sans-vf.ttf") format("truetype-variations"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Soyuz Grotesk"; src: url("fonts/soyuz-grotesk-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --orange: #FF6417; --purple: #482683; --ink: #0F032D; --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #482683 0%, #AF31A3 50%, #FF6417 100%);
  --panel: #1d1142; --line: rgba(255,255,255,.14); --muted: rgba(255,255,255,.7);
  --ok: #2fbf71; --bad: #ff4d4d;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 17px/1.45 "Tilda Sans", "Segoe UI", system-ui, sans-serif; min-height: 100vh; }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 48px; }
.wide { max-width: 1100px; }
header.top { background: var(--gradient); padding: 18px 16px 22px; }
header.top .wrap { padding: 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.top img { height: 30px; display: block; }
header.top .tag { font-weight: 700; font-size: 14px; opacity: .95; }
h1 { font-family: "Soyuz Grotesk", "Tilda Sans", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.05; margin: 22px 0 8px; text-transform: uppercase; }
h2 { font-size: 20px; font-weight: 800; margin: 26px 0 10px; }
p.lead { color: var(--muted); margin: 0 0 18px; }
.accent { color: var(--orange); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 12px 0; }
.seans { display: block; width: 100%; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.seans[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange) inset; }
.seans[disabled] { opacity: .45; cursor: not-allowed; }
.seans .t { font-weight: 800; font-size: 18px; }
.seans .row { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; color: var(--muted); font-size: 15px; }
.price { color: var(--orange); font-weight: 800; }

label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 0; border-radius: 12px; padding: 13px 14px; min-height: 48px; }
textarea { min-height: 70px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stepper { display: flex; align-items: center; background: var(--white); border-radius: 12px; min-height: 48px; }
.stepper button { width: 48px; height: 48px; border: 0; background: none; font: 800 24px/1 "Tilda Sans", sans-serif; color: var(--purple); cursor: pointer; }
.stepper output { flex: 1; text-align: center; color: var(--ink); font-weight: 800; font-size: 19px; }

.btn { display: block; width: 100%; border: 0; border-radius: 14px; padding: 16px; min-height: 54px; font: 800 18px "Tilda Sans", sans-serif; cursor: pointer; text-align: center; text-decoration: none; }
.btn-main { background: var(--orange); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn-ok { background: var(--ok); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btns { display: grid; gap: 10px; margin-top: 16px; }
.sum { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); padding: 3px 0; }
.sum.total { color: var(--white); font-weight: 800; font-size: 19px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.err { background: rgba(255,77,77,.15); border: 1px solid var(--bad); color: #ffd6d6; border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.hidden { display: none !important; }

/* Билет */
.ticket { background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden; margin-top: 18px; }
.ticket .head { background: var(--gradient); color: var(--white); padding: 16px 18px; }
.ticket .head .t { font-family: "Soyuz Grotesk", sans-serif; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.ticket .qr { padding: 18px; display: flex; justify-content: center; }
.ticket .qr svg, .ticket .qr img { width: 100%; max-width: 280px; height: auto; display: block; }
.ticket .code { text-align: center; font-weight: 900; font-size: 24px; letter-spacing: 2px; margin-top: -6px; }
.ticket dl { margin: 0; padding: 12px 18px 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.ticket dt { color: #5a5470; font-size: 14px; }
.ticket dd { margin: 0; font-weight: 700; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 99px; font-weight: 800; font-size: 14px; }
.b-booked { background: #fff1e9; color: #b13e00; }
.b-paid { background: #e3f7ec; color: #136b3c; }
.b-used { background: #ece8f5; color: var(--purple); }
.b-cancelled { background: #ffe3e3; color: #a10f0f; }
.note { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 20px 16px 30px; }
