/* BPL Season 3 — premium, mobile-first styles */
:root {
  --night: #0d041c;
  --purple-950: #120626;
  --purple-900: #1e0b3d;
  --purple-800: #2a1052;
  --purple: #3b1a6b;
  --purple-600: #5b2ea0;
  --purple-100: #f1ecfa;
  --purple-50: #f8f5fd;
  --gold: #f5b800;
  --gold-300: #ffd75a;
  --gold-700: #b98a00;
  --ink: #1b1229;
  --ink-2: #3d3352;
  --muted: #6e6583;
  --line: #e4ddef;
  --bg: #f5f3fa;
  --card: #ffffff;
  --danger: #c62828;
  --danger-bg: #fff5f5;
  --success: #17914f;
  --radius: 16px;
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
  --shadow-lg: 0 24px 60px -20px rgba(30, 11, 61, .35), 0 8px 20px -8px rgba(30, 11, 61, .15);
  --shadow-md: 0 10px 30px -12px rgba(30, 11, 61, .22);
  --topbar-h: 60px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--purple-600); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.01em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--purple-950);
  padding: 10px 14px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.req { color: var(--danger); font-weight: 700; margin-left: 2px; }
.opt {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--purple-100); border-radius: 99px; vertical-align: 1px;
}
.hi { display: block; font-family: var(--body); font-weight: 500; font-size: .84em; color: var(--muted); letter-spacing: 0; }

svg { flex: 0 0 auto; }
.facts svg, .btn-gold svg, .trust svg, .secure svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ───── Top bar ───── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 16px;
  background: rgba(13, 4, 28, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand em { font-style: normal; font-weight: 600; color: var(--gold-300); }
.topbar-cta {
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--purple-950);
  font-weight: 800; font-size: 14px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 184, 0, .35);
  white-space: nowrap;
}

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--night);
  padding: 32px 16px 96px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -10%;
  z-index: -2;
  background:
    radial-gradient(40% 40% at 75% 35%, #5b2ea0, transparent 70%),
    radial-gradient(35% 30% at 70% 80%, #2f6b2a, transparent 70%),
    radial-gradient(30% 30% at 20% 20%, #6b3352, transparent 70%);
  filter: blur(40px);
  opacity: .7;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(245, 184, 0, .18), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(91, 46, 160, .55), transparent 70%),
    linear-gradient(180deg, rgba(13, 4, 28, .55) 0%, rgba(13, 4, 28, .82) 100%);
}
.hero-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; gap: 32px; align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 64px 24px 128px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  font-size: 13px; font-weight: 600;
  color: #f3eaff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 99px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, .7);
  animation: pulse 2s infinite;
}
.pill .dot-off { background: #ff6b6b; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 12vw, 76px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.025em;
  background: linear-gradient(180deg, #fff 30%, #ffe8a3 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.h1-small {
  display: block;
  margin-bottom: 10px;
  font-size: 15px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.lead { margin: 18px 0 4px; font-size: 17px; color: #e7def6; max-width: 34em; }
.lead-hi { margin: 0 0 22px; font-size: 15px; color: #b9acd3; }

.facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } .facts li:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }
.facts li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.facts svg {
  width: 40px; height: 40px; padding: 9px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(245, 184, 0, .12);
}
.facts span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #b9acd3; }
.facts strong { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.3; }
.facts strong small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--gold-300); }

.hero-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; align-items: center; gap: 20px; } }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px;
  font-family: var(--display); font-size: 19px; font-weight: 800;
  color: var(--purple-950); text-decoration: none;
  background: linear-gradient(180deg, var(--gold-300), var(--gold));
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 10px 30px -6px rgba(245, 184, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .15s, box-shadow .15s;
}
.btn-gold svg { width: 22px; height: 22px; stroke-width: 2.4; transition: transform .15s; }
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold:hover svg { transform: translateX(3px); }
.btn-gold:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.trust { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: #cfc3e6; }
.trust svg { width: 20px; height: 20px; color: #3ddc84; }

.hero-poster { margin: 0 auto; max-width: 420px; width: 100%; text-align: center; }
.banner {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotate(-1.5deg);
  transition: transform .3s ease;
}
.banner:hover { transform: rotate(0) scale(1.02); }
.banner svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.hero-poster figcaption { margin-top: 12px; font-size: 13px; color: #a597c2; }

/* ───── How it works ───── */
.steps { max-width: 760px; margin: -56px auto 0; padding: 0 12px; position: relative; z-index: 2; }
.steps ol {
  list-style: none; margin: 0; padding: 14px 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px; position: relative; }
.steps li + li::before {
  content: ""; position: absolute; left: -2px; top: 18px; width: 1px; height: 36px; background: var(--line);
}
.steps .num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800;
  color: var(--purple-950);
  background: linear-gradient(180deg, var(--gold-300), var(--gold));
}
.steps strong { display: block; font-family: var(--display); font-size: 15px; line-height: 1.2; }
.steps small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
@media (min-width: 560px) {
  .steps li { flex-direction: row; text-align: left; justify-content: center; gap: 10px; }
  .steps strong { font-size: 16px; }
  .steps small { font-size: 13px; }
}

/* ───── Layout + cards ───── */
.wrap { max-width: 760px; margin: 24px auto 40px; padding: 0 12px; }
.card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(59, 26, 107, .06);
  padding: 24px 16px 26px;
  margin-bottom: 20px;
}
@media (min-width: 560px) { .card { padding: 32px 32px 34px; } }
.card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: var(--purple-900); line-height: 1.2; }

.form-head { margin-bottom: 14px; }
.form-head p { margin: 6px 0 0; }

/* Progress (sticky under top bar) */
.progress {
  position: sticky; top: calc(var(--topbar-h) + 8px); z-index: 5;
  display: flex; align-items: center; gap: 12px;
  margin: 0 -6px 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px -10px rgba(30, 11, 61, .25);
}
.progress-track { flex: 1; height: 8px; background: var(--purple-100); border-radius: 99px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--purple-600), var(--gold));
  border-radius: 99px;
  transition: width .35s ease;
}
.progress-text { font-size: 13px; font-weight: 700; color: var(--purple); white-space: nowrap; font-variant-numeric: tabular-nums; }
.progress.done .progress-text { color: var(--success); }

/* Steps inside the form */
.step { padding-top: 20px; }
.step + .step { margin-top: 8px; border-top: 1px solid var(--line); }
.step-title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 0 0 16px;
  font-size: 19px; font-weight: 800; color: var(--purple-900);
}
.step-title .hi { display: inline; font-size: 14px; }
.step-num {
  width: 30px; height: 30px; border-radius: 10px;
  display: inline-grid; place-items: center;
  font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple));
}

/* ───── Fields ───── */
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > label, .field .label {
  display: block;
  font-weight: 650; font-size: 15.5px; color: var(--ink);
  margin-bottom: 7px; padding: 0;
}

input[type="text"], input[type="number"], input[type="tel"], input[type="email"], textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  font: inherit; font-size: 16px; /* avoids iOS zoom */
  color: var(--ink);
  background: var(--purple-50);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
textarea { min-height: 100px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a79fb8; }
input:hover, textarea:hover { border-color: #cfc3e3; }
input:focus, textarea:focus {
  background: #fff;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(91, 46, 160, .13);
}
#jerseyName { text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

.input-prefix { position: relative; }
.input-prefix > span {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 700; pointer-events: none;
}
.input-prefix input { padding-left: 54px; }

.hint { margin: 7px 0 0; font-size: 13.5px; color: var(--muted); }
.counter { float: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.error { margin: 7px 0 0; font-size: 13.5px; color: var(--danger); font-weight: 600; }
.error::before { content: "⚠ "; }
.error:empty { display: none; }

.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: var(--danger-bg); }
.field.invalid .photo-drop { border-color: var(--danger); background: var(--danger-bg); }
.field.invalid .chip span { border-color: #e9a7a7; }

@media (min-width: 560px) { .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } }

/* ───── Photo ───── */
.field > label.photo-drop {
  display: flex; align-items: center; gap: 14px;
  margin: 0; font-weight: 400;
  padding: 14px;
  border: 2px dashed #cdbfe4;
  border-radius: 18px;
  background: var(--purple-50);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.photo-drop:hover { border-color: var(--purple-600); background: var(--purple-100); }
#photo:focus-visible + .photo-drop { outline: 3px solid var(--purple-600); outline-offset: 2px; }
.photo-preview {
  flex: 0 0 auto;
  width: 84px; height: 104px;
  border-radius: 14px;
  background: #fff;
  color: var(--purple-600);
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px -8px rgba(30, 11, 61, .35);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-text { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); min-width: 0; }
.photo-text strong { color: var(--purple-900); font-family: var(--display); font-size: 17px; }
.photo-btn {
  display: none;
  padding: 10px 16px; border-radius: 99px;
  background: var(--purple); color: #fff; font-weight: 700; font-size: 14px;
}
.photo-btn .req { color: var(--gold-300); }
@media (min-width: 480px) { .photo-btn { display: inline-block; } }

/* ───── Choice chips ───── */
.choices { display: grid; gap: 8px; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choices-6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 480px) { .choices-6 { grid-template-columns: repeat(6, 1fr); } }

.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 54px; padding: 8px 4px;
  text-align: center; font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--purple-50);
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.chip-icon span { min-height: 88px; }
.chip span b { font-size: 22px; line-height: 1; margin-bottom: 6px; font-weight: 400; }
.chip small { font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.chip:hover span { border-color: #cfc3e3; }
.chip:active span { transform: scale(.97); }
.chip input:checked + span {
  background: linear-gradient(160deg, var(--purple-600), var(--purple));
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(59, 26, 107, .6);
}
.chip input:checked + span small { color: var(--gold-300); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ───── Jersey preview ───── */
.jersey-block { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
@media (min-width: 560px) { .jersey-block { grid-template-columns: 170px 1fr; gap: 24px; } }
.jersey {
  position: relative;
  margin-top: 26px;
  filter: drop-shadow(0 12px 16px rgba(30, 11, 61, .3));
}
.jersey-svg { width: 100%; height: auto; display: block; }
.jersey-name, .jersey-num {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 800; text-align: center; white-space: nowrap;
  color: #fff;
}
.jersey-name { top: 33%; font-size: clamp(8px, 2.2vw, 14px); letter-spacing: .04em; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.jersey-num { top: 44%; font-size: clamp(30px, 9vw, 52px); line-height: 1; color: var(--gold); }

/* ───── Pay box ───── */
.pay-box {
  margin-top: 12px;
  padding: 18px 14px;
  background: linear-gradient(180deg, var(--purple-50), var(--purple-100));
  border: 1px solid var(--line);
  border-radius: 20px;
}
@media (min-width: 560px) { .pay-box { padding: 22px; } }
.pay-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.pay-summary .small { display: block; }
.pay-amount { font-family: var(--display); font-size: 34px; font-weight: 900; color: var(--purple-900); line-height: 1.1; }
.pay-points { list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--success); }

/* ───── Buttons ───── */
.btn-pay {
  width: 100%;
  min-height: 64px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 18px;
  font-family: var(--display); font-size: 19px; font-weight: 800;
  color: var(--purple-950);
  background: linear-gradient(180deg, var(--gold-300), var(--gold));
  border: 0; border-radius: 16px;
  box-shadow: 0 5px 0 var(--gold-700), 0 14px 28px -8px rgba(185, 138, 0, .55);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-pay:hover { filter: brightness(1.03); }
.btn-pay:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-700), 0 8px 16px -8px rgba(185, 138, 0, .5); }
.btn-pay:focus-visible { outline: 3px solid var(--purple-600); outline-offset: 3px; }
.btn-pay:disabled { opacity: .75; cursor: progress; transform: none; }
.btn-label { display: flex; flex-direction: column; line-height: 1.2; }
.btn-label small { font-family: var(--body); font-size: 13px; font-weight: 600; opacity: .85; margin-top: 3px; }
.btn-sm { min-height: 56px; font-size: 17px; }

.btn-ghost {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  font: inherit; font-weight: 700; font-size: 15px;
  color: var(--purple);
  background: #fff;
  border: 1.5px solid var(--purple);
  border-radius: 14px;
  cursor: pointer;
  transition: background .15s;
}
.btn-ghost:hover { background: var(--purple-50); }
.btn-ghost:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.spinner {
  display: none;
  width: 22px; height: 22px;
  border: 3px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  flex: 0 0 auto;
}
.is-loading .spinner, .spinner-lg { display: inline-block; }
.spinner-lg { width: 46px; height: 46px; border-width: 4px; color: var(--purple); }
@keyframes spin { to { transform: rotate(360deg); } }

.secure { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.secure svg { width: 16px; height: 16px; color: var(--success); }

.form-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--danger-bg);
  border: 1px solid #f1c0c0;
  color: var(--danger);
  font-weight: 600; font-size: 14.5px;
}

/* ───── Status + success ───── */
.status-card, .success-card { text-align: center; }
.status-icon { font-size: 48px; line-height: 1; margin: 4px 0 12px; }
.status-card p { margin: 8px 0; color: var(--ink-2); }
.status-extra {
  background: var(--purple-50); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px;
  font-size: 14.5px; word-break: break-word;
}
.status-actions { margin-top: 18px; }
.status-actions .btn-pay + .btn-pay { margin-top: 14px; }
.help-line { margin-top: 18px !important; }

.success-tick {
  width: 84px; height: 84px; margin: 4px auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--success);
  box-shadow: 0 0 0 10px rgba(23, 145, 79, .12), 0 0 0 20px rgba(23, 145, 79, .06);
  animation: pop .5s cubic-bezier(.2, 1.4, .4, 1);
}
.success-tick svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-card h2 { color: var(--success); }

.ticket {
  margin: 20px 0;
  text-align: left;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.ticket-top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
}
.ticket-top img { width: 40px; height: 40px; border-radius: 50%; }
.ticket-top div { flex: 1; }
.ticket-top strong { display: block; font-family: var(--display); font-size: 17px; }
.ticket-top small { color: #d8ccef; font-size: 13px; }
.ticket-badge {
  padding: 4px 10px; border-radius: 99px;
  background: #3ddc84; color: #04381b;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
}
.details { margin: 0; }
.details div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--line);
}
.details div:last-child { border-bottom: 0; }
.details dt { color: var(--muted); font-size: 14px; }
.details dd { margin: 0; font-weight: 650; text-align: right; word-break: break-all; }
.details .strong { color: var(--purple); font-family: var(--display); font-size: 20px; font-weight: 800; }
.screenshot-note {
  background: #fff8db; border: 1px solid #f3dc85;
  border-radius: 14px; padding: 12px; font-weight: 650;
}

/* ───── FAQ ───── */
.faq { margin-top: 32px; }
.faq h2 { font-size: 24px; font-weight: 800; color: var(--purple-900); margin: 0 0 14px; }
.faq h2 .hi { display: inline; margin-left: 6px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  transition: box-shadow .15s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none;
  position: relative;
  padding: 16px 48px 16px 16px;
  font-weight: 700; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple-100); color: var(--purple);
  font-size: 18px; font-weight: 700;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq summary .hi { font-weight: 500; font-size: 14px; margin-top: 2px; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); font-size: 15px; }

/* ───── Overlay ───── */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(13, 4, 28, .75);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 16px;
}
.overlay-box {
  background: #fff; border-radius: 22px;
  padding: 28px 24px; text-align: center; max-width: 340px;
  box-shadow: var(--shadow-lg);
}
.overlay-box p { margin: 14px 0 0; }

/* ───── Footer ───── */
.site-footer {
  background: var(--night);
  color: #d6cbe9;
  padding: 40px 16px 28px;
  font-size: 15px;
}
.site-footer a { color: var(--gold-300); }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { display: block; font-family: var(--display); color: #fff; font-size: 18px; }
.footer-brand small { color: #9c8fb6; }
.site-footer h4 { margin: 0 0 8px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer p { margin: 4px 0; }
.footer-links {
  max-width: 1080px; margin: 28px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 4px 20px;
}
.footer-links a { color: #d6cbe9; text-decoration: none; padding: 6px 0; }
.footer-links a:hover { color: var(--gold-300); text-decoration: underline; }
.copyright { max-width: 1080px; margin: 10px auto 0; font-size: 13px; color: #8a7da6; }

/* ───── Info pages (about / terms / …) ───── */
.page-header {
  background: linear-gradient(180deg, var(--night), var(--purple-900));
  color: #fff;
  padding: 14px 16px;
}
.page-header a {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 19px;
}
.page-header img { width: 44px; height: 44px; border-radius: 50%; }
.page-header small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--gold-300); }
.doc { max-width: 760px; margin: 24px auto 40px; padding: 0 12px; }
.doc .card h1 { color: var(--purple-900); font-size: 28px; margin: 0 0 12px; }
.doc .card h2 { font-size: 19px; margin: 24px 0 6px; }
.doc .card p { color: var(--ink-2); }
.placeholder-note {
  background: #fff8db; border: 1px dashed #e0c25a;
  border-radius: 12px; padding: 12px 14px; font-size: 14.5px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
