/* Kongoi Festival 2.0 — public site (dark-first) */
:root {
  --bg: #0e0506;
  --bg-2: #160909;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .09);
  --border-2: rgba(255, 255, 255, .16);
  --text: #fbf1ea;
  --text-2: #cfb3a8;
  --text-3: #8f7068;
  --orange: #ff6a2b;
  --orange-2: #f15f25;
  --gold: #ffb627;
  --maroon: #6d1a1a;
  --green: #22c55e;
  --mpesa: #2fb34a;
  --red: #ef4444;
  --amber: #f59e0b;
  --ink: #2a0a0a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(255, 106, 43, .35), 0 18px 50px -12px rgba(255, 106, 43, .45);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --kitenge: repeating-linear-gradient(90deg,
    #c62828 0 18px, #ffb627 18px 30px, #1f8a4c 30px 42px, #111 42px 50px,
    #ff6a2b 50px 70px, #111 70px 76px, #ffb627 76px 84px, #7a1c1c 84px 100px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01';
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
h1, h2, h3, h4, .display { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -.025em; font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.kitenge-line { height: 4px; background: var(--kitenge); opacity: .9; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---- Buttons & forms ---- */
.btn {
  --b: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 0 24px; min-height: 50px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
  background: var(--b); color: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, opacity .2s;
  box-shadow: 0 8px 24px -10px var(--b); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px var(--b); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.dark { --b: #2a1414; box-shadow: inset 0 0 0 1px var(--border-2); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.mpesa { --b: var(--mpesa); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

label.field { display: grid; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text); }
label.field small { font-weight: 400; color: var(--text-3); }
.input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: rgba(0, 0, 0, .35); font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 43, .18); background: rgba(0, 0, 0, .5); }
.error-text { color: #ff8a80; font-size: 14px; min-height: 1.2em; margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px;
  font-weight: 700; letter-spacing: .01em; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); white-space: nowrap;
}
.pill.green { background: rgba(34, 197, 94, .14); color: #86efac; border-color: rgba(34, 197, 94, .3); }
.pill.red { background: rgba(239, 68, 68, .14); color: #fca5a5; border-color: rgba(239, 68, 68, .3); }
.pill.amber { background: rgba(245, 158, 11, .14); color: #fcd34d; border-color: rgba(245, 158, 11, .3); }
.pill.grey { color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

/* ---- Floating nav ---- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; pointer-events: none; }
.site-header .bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(20, 8, 8, .6); border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow);
}
.site-header .brand img { height: 34px; width: auto; }
.site-header nav { display: flex; gap: 6px; align-items: center; }
.site-header nav a.link { color: var(--text-2); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.site-header nav a.link:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 640px) { .site-header nav a.link { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 64px; min-height: min(100svh, 860px); display: grid; align-items: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(255, 106, 43, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 182, 39, .14), transparent 60%),
    linear-gradient(180deg, rgba(14, 5, 6, .4), var(--bg) 92%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero .wrap { display: grid; justify-items: center; text-align: center; }
.hero-content { display: grid; justify-items: center; max-width: 820px; }
.hero .facts, .hero .cta { justify-content: center; }
.from-price { margin: 18px 0 0; color: var(--text-2); font-size: 14px; }
.from-price b { color: var(--text); font-family: var(--font-display); font-size: 18px; }
.hero .chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); backdrop-filter: blur(10px); }
.hero .logo { width: min(560px, 100%); margin: 24px 0 6px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.hero .edition { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.02em; }
.hero .edition .v { background: linear-gradient(135deg, var(--orange), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.4em; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.hero .facts span { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--text); }
.hero .facts svg { color: var(--orange); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.countdown { display: inline-grid; grid-auto-flow: column; gap: 4px; margin-top: 28px; padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.countdown div { padding: 10px 14px; min-width: 70px; text-align: center; border-radius: 13px; }
.countdown div + div { box-shadow: -1px 0 0 var(--border); border-radius: 0; }
.countdown b { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 600; }
@media (max-width: 900px) {
  .hero { padding-top: 110px; min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
      .countdown div { min-width: 0; padding: 10px; }
}

/* ---- Stats strip ---- */
.strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 26px 18px; text-align: center; }
.strip div + div { border-left: 1px solid var(--border); }
.strip b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); background: linear-gradient(135deg, #fff, #ffd0b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip small { color: var(--text-3); font-weight: 600; font-size: 13px; }
@media (max-width: 640px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip div:nth-child(3) { border-left: 0; } .strip div:nth-child(n+3) { border-top: 1px solid var(--border); } }

/* ---- Sections ---- */
section.block { padding-block: 96px; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); }
.section-head p { max-width: 460px; margin: 0; color: var(--text-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.grad { background: linear-gradient(135deg, var(--orange), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .3s, transform .3s var(--ease); }
.tile:hover { border-color: var(--border-2); transform: translateY(-2px); }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 106, 43, .25), rgba(255, 182, 39, .1)); border: 1px solid rgba(255, 106, 43, .3); color: var(--orange); margin-bottom: 18px; }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: 22px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }
.tile.wide { grid-column: span 3; }
.tile.third { grid-column: span 2; }
.tile.feature { background: linear-gradient(140deg, rgba(109, 26, 26, .9), rgba(30, 10, 10, .9)); border-color: rgba(255, 106, 43, .25); }
.tile.feature h3 { font-size: 30px; }
.tile.feature::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 43, .45), transparent); }
@media (max-width: 900px) { .tile.wide, .tile.third { grid-column: span 3; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.wide, .tile.third { grid-column: auto; } }

/* ---- Ticket tiers ---- */
#tickets { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tier {
  position: relative; background: var(--surface); border-radius: 24px; border: 1px solid var(--border);
  padding: 26px 22px 20px; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background .25s;
}
.tier:hover { border-color: var(--border-2); transform: translateY(-3px); }
.tier.selected { border-color: var(--orange); box-shadow: var(--glow); background: rgba(255, 106, 43, .06); }
.tier.vip {
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(140deg, var(--gold), var(--orange) 40%, rgba(255, 255, 255, .08) 70%) border-box;
  border: 1px solid transparent;
}
.tier.vip::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 200px at 100% 0, rgba(255, 182, 39, .14), transparent 70%); pointer-events: none; }
.tier.vip .price { background: linear-gradient(135deg, var(--gold), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier .tier-name { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.tier .price { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tier .price small { font-size: 15px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.tier .price .cur { font-size: 16px; color: var(--text-3); letter-spacing: 0; margin-right: 4px; vertical-align: 14px; }
.tier .tier-desc { color: var(--text-2); font-size: 14.5px; margin: 0; }
.tier .perks { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 8px; font-size: 14px; }
.tier .perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.tier .perks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(255, 106, 43, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tier .flag { position: absolute; top: 18px; right: 18px; }
.tier .flag + .tier-name { padding-right: 104px; }
.tier .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.tier .foot .muted { font-size: 12.5px; color: var(--text-3); }
.tier.unavailable { opacity: .5; }
.tier.unavailable:hover { transform: none; }
.stepper { display: inline-flex; align-items: center; background: rgba(0, 0, 0, .35); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.stepper button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text);
  font-size: 20px; font-weight: 600; cursor: pointer; display: grid; place-items: center; line-height: 1; transition: background .2s, transform .15s;
}
.stepper button[data-step="1"]:not(:disabled) { background: var(--orange); color: #fff; }
.stepper button:hover:not(:disabled) { transform: scale(1.06); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--text-2); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green); }

.cart-bar { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 30; transform: translateY(140%); transition: transform .45s var(--ease); pointer-events: none; }
.cart-bar.show { transform: none; }
.cart-bar .wrap {
  pointer-events: auto; max-width: 620px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(28, 12, 12, .8); border: 1px solid var(--border-2);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.cart-bar .sum b { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.cart-bar .sum small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.2; }

/* ---- Dialog (bottom sheet on mobile) ---- */
dialog.sheet {
  border: 1px solid var(--border-2); padding: 0; border-radius: 28px; width: min(480px, 100% - 24px); max-height: calc(100dvh - 24px);
  background: #170a0a; color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); overflow: auto;
}
dialog.sheet[open] { animation: pop .35s var(--ease); }
dialog.sheet::backdrop { background: rgba(5, 2, 2, .7); backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 560px) {
  dialog.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 28px 28px 0 0; max-height: 92dvh; border-bottom: 0; }
  dialog.sheet[open] { animation: up .4s var(--ease); }
  @keyframes up { from { transform: translateY(100%); } }
}
.sheet-head { padding: 22px 22px 6px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #170a0a; z-index: 1; }
.sheet-head h3 { font-size: 24px; }
.sheet-head button { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 0; color: var(--text); font-size: 22px; cursor: pointer; line-height: 1; display: grid; place-items: center; }
.sheet-body { padding: 14px 22px 26px; display: grid; gap: 16px; }
.summary { background: rgba(0, 0, 0, .3); border-radius: 16px; border: 1px solid var(--border); padding: 16px; display: grid; gap: 8px; font-size: 15px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.summary .row span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px dashed var(--border-2); padding-top: 10px; margin-top: 4px; font-weight: 800; font-size: 19px; color: var(--text); }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { text-transform: uppercase; }
.fineprint { font-size: 13px; color: var(--text-3); margin: 0; text-align: center; }

.pay-wait { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 6px 0 10px; }
.phone-anim { width: 96px; height: 156px; border-radius: 22px; border: 3px solid var(--border-2); position: relative; background: linear-gradient(180deg, #1f0d0d, #0e0506); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(47, 179, 74, .08), 0 0 60px rgba(47, 179, 74, .25); }
.phone-anim::before { content: ''; position: absolute; top: 8px; width: 28px; height: 5px; border-radius: 4px; background: var(--border-2); }
.phone-anim .dots { display: flex; gap: 6px; }
.phone-anim .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--mpesa); animation: blink 1.2s infinite; }
.phone-anim .dots i:nth-child(2) { animation-delay: .2s; } .phone-anim .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.pay-wait h4 { font-size: 24px; margin-top: 8px; }
.pay-wait p { margin: 0; color: var(--text-2); }
.pay-wait p b { color: var(--text); }
.result-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #fff; }
.result-icon.fail { background: rgba(239, 68, 68, .18); color: #fca5a5; box-shadow: 0 0 0 1px rgba(239, 68, 68, .4); }
.result-icon.ok { background: var(--green); }

/* ---- FAQ / partners / footer ---- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--orange); font-size: 18px; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--text-2); }
.help-card { background: linear-gradient(140deg, rgba(109, 26, 26, .8), rgba(30, 10, 10, .8)); border: 1px solid rgba(255, 106, 43, .25); border-radius: var(--radius); padding: 26px; margin-top: 22px; }
.help-card p { color: var(--text-2); margin: 8px 0 16px; }

/* Logos keep their own colours, so they sit on light tiles. --h balances each logo's visual weight. */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.partner { margin: 0; height: 128px; padding: 18px 24px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #fbf8f3; border: 1px solid var(--border); transition: transform .3s var(--ease); }
.partner:hover { transform: translateY(-2px); }
.partner img { height: var(--h, 48px); width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 720px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner { height: 104px; padding: 14px 16px; }
  .partner img { height: calc(var(--h, 48px) * .8); }
}

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 120px; color: var(--text-2); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 160px; }
.site-footer h4 { color: var(--text); font-size: 15px; margin: 0 0 12px; letter-spacing: 0; font-family: var(--font-body); }
.site-footer a { color: var(--text-2); transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin: 6px 0; font-size: 14px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.my-tickets-banner { margin-bottom: 12px; background: var(--gold); color: var(--ink); font-weight: 600; padding: 8px 16px; font-size: 13.5px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.my-tickets-banner a { color: var(--ink); font-weight: 800; text-decoration: underline; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Order / ticket page ---- */
.order-page { padding-block: 110px 80px; }
.status-card { background: var(--surface); border-radius: 24px; border: 1px solid var(--border); padding: 28px; display: grid; gap: 12px; justify-items: start; margin-bottom: 22px; position: relative; overflow: hidden; }
.status-card::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 43, .25), transparent); pointer-events: none; }
.status-card h1 { font-size: clamp(30px, 5vw, 46px); }
.status-card p { color: var(--text-2); }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.ticket {
  background: #fff; color: #1a0606; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; break-inside: avoid; page-break-inside: avoid; position: relative;
}
.ticket .t-head { background: radial-gradient(300px 140px at 100% 0, rgba(255, 106, 43, .5), transparent), linear-gradient(150deg, #7a1c1c, #1a0606); color: #fff; padding: 18px 20px 16px; position: relative; }
.ticket.vip .t-head { background: radial-gradient(300px 140px at 100% 0, rgba(255, 182, 39, .55), transparent), linear-gradient(150deg, #3a1a06, #120404); }
.ticket .t-head img { height: 36px; width: auto; }
.ticket .t-head .tier-tag { position: absolute; right: 18px; top: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); color: #fff; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.ticket.vip .t-head .tier-tag { background: var(--gold); border-color: var(--gold); color: #1a0606; }
.ticket .t-head .when { font-size: 13px; opacity: .85; margin-top: 10px; }
.ticket .t-band { height: 5px; background: var(--kitenge); }
.ticket .t-body { padding: 20px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.ticket .t-body img.qr { width: 220px; height: 220px; image-rendering: pixelated; }
.ticket .t-code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 19px; font-weight: 800; letter-spacing: .1em; color: #5c1414; }
.ticket .t-holder { font-weight: 600; color: #444; }
.ticket .t-foot { position: relative; border-top: 2px dashed #eadbd2; padding: 14px 20px; display: flex; justify-content: space-between; font-size: 12.5px; color: #8a6b62; }
.ticket .t-foot::before, .ticket .t-foot::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket .t-foot::before { left: -11px; } .ticket .t-foot::after { right: -11px; }
.ticket .used-stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; background: rgba(255, 255, 255, .35); }
.ticket .used-stamp span { transform: rotate(-16deg); border: 4px solid #dc2626; color: #dc2626; font-weight: 900; font-size: 26px; padding: 6px 14px; border-radius: 12px; background: rgba(255, 255, 255, .9); }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 182, 39, .08); border: 1px solid rgba(255, 182, 39, .25); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: #fde3b0; }
.notice svg { color: var(--gold); margin-top: 1px; }

@media print {
  :root { --bg: #fff; }
  .site-header, .order-actions, .notice, .no-print, .site-footer, .status-card::after { display: none !important; }
  body { background: #fff; color: #000; }
  .order-page { padding-top: 0; }
  .status-card { border-color: #ddd; }
  .status-card p { color: #444; }
  .ticket { box-shadow: none; border: 1px solid #ccc; }
  .ticket-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Misc ---- */
.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.dark { width: 28px; height: 28px; border-color: var(--border-2); border-top-color: var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { height: 340px; border-radius: 24px; background: linear-gradient(90deg, var(--surface) 0, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border: 1px solid var(--border); }
@keyframes shimmer { to { background-position: -200% 0; } }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: rgba(28, 12, 12, .92); color: #fff; border: 1px solid var(--border-2);
  padding: 12px 18px; border-radius: 14px; z-index: 100; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); backdrop-filter: blur(12px);
  animation: pop .3s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
