/* EventlyPass – design tokens */
:root {
  --night: #1b0b33;
  --night-2: #2a1250;
  --plum: #5b1f8a;
  --violet: #7b3fe4;
  --marigold: #ffb627;
  --saffron: #ff8a1f;
  --rose: #e2375f;
  --teal: #12a594;
  --cream: #fffaf3;
  --paper: #ffffff;
  --ink: #1d1530;
  --ink-2: #4a4060;
  --muted: #776d8a;
  --line: #ece4f3;
  --line-2: #ddd1ea;
  --ok: #0e8f6c;
  --err: #c8243f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27, 11, 51, .06), 0 8px 24px rgba(27, 11, 51, .08);
  --shadow-lg: 0 20px 50px rgba(27, 11, 51, .18);
  --grad: linear-gradient(135deg, var(--marigold), var(--rose) 55%, var(--violet));
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
.sr-only { 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; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 32px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #f3ecfa; padding: 2px 6px; border-radius: 6px; }

/* Typography */
.h1, .h2, .h3, .h4, .hero__title, .event-title { font-family: var(--display); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .4em; font-weight: 700; }
.h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.h3 { font-size: 1.35rem; }
.h4 { font-size: 1.1rem; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--rose); margin: 0 0 .5rem; }
.eyebrow--light { color: var(--marigold); }
.prose { font-size: 1.05rem; }
.prose h2 { font-family: var(--display); margin-top: 1.6em; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__word { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.logo__word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; }
.logo__mark { overflow: visible; flex: none; }
.logo__flame { transform-origin: 32px 34px; transform-box: view-box; }
.logo__glow { transform-origin: 32px 26px; transform-box: view-box; }
.logo__ring { transform-origin: 32px 32px; transform-box: view-box; }
.logo--animated .logo__flame { animation: flicker 2.4s ease-in-out infinite; }
.logo--animated .logo__glow { animation: glow 2.4s ease-in-out infinite; }
.logo--animated .logo__ring { animation: spin-in 1.4s var(--ease) both, spin 40s linear 1.4s infinite; }
.logo--animated .logo__word span { animation: shimmer 6s ease-in-out infinite; }
.logo--animated .logo__bowl { animation: bowl-in .9s var(--ease) both; transform-origin: 32px 44px; transform-box: view-box; }
.brand:hover .logo__ring { animation-duration: 1.4s, 6s; }
@keyframes flicker { 0%, 100% { transform: scale(1) skewX(0); } 25% { transform: scale(1.06, .96) skewX(-3deg); } 50% { transform: scale(.96, 1.06) skewX(2deg); } 75% { transform: scale(1.03, .98) skewX(-1deg); } }
@keyframes glow { 0%, 100% { opacity: .2; transform: scale(1); } 50% { opacity: .38; transform: scale(1.15); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-in { from { transform: rotate(-180deg) scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bowl-in { from { transform: translateY(8px) scale(.8); opacity: 0; } }
@keyframes shimmer { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

/* Buttons */
.btn { --bg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; line-height: 1.2; white-space: nowrap; background: var(--bg); color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--grad); background-size: 150% 100%; color: #fff; box-shadow: 0 6px 18px rgba(226, 55, 95, .3); }
.btn--primary:hover { color: #fff; background-position: 100% 0; box-shadow: 0 10px 26px rgba(226, 55, 95, .38); }
.btn--ghost { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { color: var(--rose); }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--link { background: none; border: 0; color: var(--muted); padding: 8px 10px; font-weight: 600; }
.btn--link:hover { color: var(--rose); transform: none; }
.btn--sm { padding: 8px 14px; font-size: .9rem; }
.btn--lg { padding: 15px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--plum); white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(27, 11, 51, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { text-decoration: none; display: inline-flex; }
.main-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: space-between; margin-left: 24px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { background: #f4ebfb; color: var(--plum); }
.main-nav__actions { display: flex; align-items: center; gap: 8px; }
.main-nav__actions form { margin: 0; }
.has-menu { position: relative; }
.chev { transition: transform .2s; }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 8px); left: -20px; width: 560px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease); }
.mega::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item { display: flex; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .15s; }
.mega__item:hover { background: #faf4ff; color: var(--ink); }
.mega__item strong { display: block; font-size: .93rem; }
.mega__item small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.mega__emoji { font-size: 1.4rem; width: 40px; height: 40px; border-radius: 10px; background: #fff4e0; display: grid; place-items: center; flex: none; }
.mega__all { display: block; text-align: center; margin-top: 8px; padding: 10px; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Flash */
.flash-stack { position: relative; z-index: 40; margin-top: 12px; display: grid; gap: 8px; }
.flash { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; border-left: 4px solid var(--violet); box-shadow: var(--shadow); animation: drop-in .4s var(--ease); }
.flash--success { border-color: var(--ok); }
.flash--error { border-color: var(--err); }
.flash__close { background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--muted); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 80% -10%, #4b1a7e 0%, transparent 60%), radial-gradient(900px 500px at 0% 110%, #5a1440 0%, transparent 60%), var(--night); color: #fff; overflow: hidden; padding: 72px 0 110px; }
.hero--compact { padding-bottom: 100px; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; z-index: 2; }
.hero__inner--single { grid-template-columns: 1fr; max-width: 820px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); color: #fff; }
.hero__lede { font-size: 1.15rem; color: #e5dcf3; max-width: 56ch; }
.rotator { display: inline-block; background: linear-gradient(90deg, var(--marigold), #ff7a59, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 4ch; }
.rotator.is-out { animation: word-out .35s var(--ease) forwards; }
.rotator.is-in { animation: word-in .5s var(--ease); }
@keyframes word-out { to { opacity: 0; transform: translateY(-18px) rotateX(60deg); } }
@keyframes word-in { from { opacity: 0; transform: translateY(18px) rotateX(-60deg); } }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__mandala { position: absolute; width: 900px; height: 900px; right: -260px; top: -240px; background: url("../img/mandala.svg") center / contain no-repeat; opacity: .18; animation: spin 120s linear infinite; }
.hero__sparkles { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20% 30%, #fff8, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #ffd78a, transparent), radial-gradient(2px 2px at 40% 70%, #fff6, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #ffb3c6, transparent), radial-gradient(1px 1px at 10% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 45%, #fff9, transparent); animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .4; } to { opacity: 1; } }
.lantern { position: absolute; bottom: -80px; width: 22px; height: 30px; border-radius: 40% 40% 45% 45%; background: radial-gradient(circle at 50% 35%, #fff2c4, var(--marigold) 45%, var(--saffron) 80%); box-shadow: 0 0 24px 6px rgba(255, 170, 60, .45); opacity: .85; animation: float-up linear infinite; }
.lantern::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 6px; transform: translateX(-50%); background: #a4461a; border-radius: 0 0 3px 3px; }
.lantern--1 { left: 6%; animation-duration: 19s; animation-delay: -2s; transform: scale(.8); }
.lantern--2 { left: 18%; animation-duration: 24s; animation-delay: -12s; }
.lantern--3 { left: 30%; animation-duration: 21s; animation-delay: -7s; transform: scale(.6); }
.lantern--4 { left: 46%; animation-duration: 27s; animation-delay: -18s; }
.lantern--5 { left: 58%; animation-duration: 20s; animation-delay: -4s; transform: scale(.7); }
.lantern--6 { left: 70%; animation-duration: 25s; animation-delay: -15s; }
.lantern--7 { left: 82%; animation-duration: 22s; animation-delay: -9s; transform: scale(.9); }
.lantern--8 { left: 90%; animation-duration: 28s; animation-delay: -21s; transform: scale(.55); }
.lantern--9 { left: 38%; animation-duration: 30s; animation-delay: -25s; transform: scale(.5); }
@keyframes float-up { 0% { translate: 0 0; opacity: 0; } 10% { opacity: .9; } 50% { translate: 24px -55vh; } 90% { opacity: .8; } 100% { translate: -10px -110vh; opacity: 0; } }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--cream); z-index: 3; line-height: 0; }
.hero__wave svg { width: 100%; height: 60px; }
.hero__trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d5c8ea; font-size: .92rem; }
.hero__trust li::before { content: "✦ "; color: var(--marigold); }
.hero__trust strong { color: #fff; }

/* Search */
.search-bar { margin-top: 26px; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); max-width: 640px; }
.search-bar__icon { color: var(--muted); font-size: 1.4rem; padding-left: 12px; }
.search-bar input, .search-bar select { border: 0; background: transparent; padding: 10px 8px; min-width: 0; color: var(--ink); }
.search-bar input { flex: 1; }
.search-bar input:focus, .search-bar select:focus { outline: none; }
.search-bar select { border-left: 1px solid var(--line); max-width: 130px; cursor: pointer; }

/* 3D ticket in hero (inspired by 21st.dev "Admit One Ticket") */
.hero__ticket { perspective: 1000px; display: flex; justify-content: center; }
.ticket3d { position: relative; display: flex; width: 100%; max-width: 420px; border-radius: 20px; background: linear-gradient(140deg, #fff 0%, #fff6e6 100%); color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transform: rotateY(-14deg) rotateX(8deg) rotateZ(-3deg); transform-style: preserve-3d; transition: transform .3s var(--ease); animation: hover-bob 6s ease-in-out infinite; overflow: hidden; }
@keyframes hover-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.ticket3d__main { flex: 1; padding: 26px 24px; display: grid; gap: 6px; border-right: 2px dashed #e7d7c3; position: relative; }
.ticket3d__main::before, .ticket3d__main::after { content: ""; position: absolute; right: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--night); }
.ticket3d__main::before { top: -12px; }
.ticket3d__main::after { bottom: -12px; }
.ticket3d__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.ticket3d__title { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.ticket3d__meta { color: var(--muted); font-size: .92rem; }
.ticket3d__price { font-weight: 800; font-size: 1.2rem; margin-top: 6px; }
.ticket3d__price small { font-weight: 600; color: var(--ok); font-size: .75rem; }
.ticket3d__stub { width: 110px; display: grid; place-items: center; gap: 8px; padding: 16px; background: var(--grad); color: #fff; font-weight: 800; letter-spacing: .2em; writing-mode: vertical-rl; }
.ticket3d__qr { width: 56px; height: 56px; writing-mode: horizontal-tb; background: conic-gradient(#fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 14px 14px, rgba(255, 255, 255, .15); border-radius: 6px; }
.ticket3d__glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 45%, transparent 60%); background-size: 250% 100%; animation: glare 5s ease-in-out infinite; mix-blend-mode: soft-light; pointer-events: none; }
@keyframes glare { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }

/* Sections */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0; }
.section--alt { background: linear-gradient(180deg, #fff 0%, #fdf4ff 100%); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.section-head--center { justify-content: center; text-align: center; }
.section--navratri { background: radial-gradient(800px 400px at 0% 0%, #fff0d1, transparent 70%), radial-gradient(700px 400px at 100% 100%, #ffe1ea, transparent 70%); }

/* Category chips */
.cat-scroller { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.cat-chip { scroll-snap-align: start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cat-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--marigold); color: var(--ink); }
.cat-chip__emoji { width: 36px; height: 36px; display: grid; place-items: center; background: #fff4e0; border-radius: 50%; font-size: 1.1rem; }

/* Grid & cards */
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
fieldset.card { min-width: 0; }
fieldset.card legend { padding: 0; margin-bottom: 12px; float: left; width: 100%; }
fieldset.card legend + * { clear: both; }

.event-card { height: 100%; }
.event-card__link { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.event-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.event-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card__link:hover .event-card__media img { transform: scale(1.06); }
.date-badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.event-card__link:hover .date-badge { transform: translateY(-3px) rotate(-4deg); }
.date-badge__m { display: block; font-size: .7rem; font-weight: 800; color: var(--rose); text-transform: uppercase; letter-spacing: .08em; }
.date-badge__d { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
.event-card__tags { position: absolute; bottom: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.event-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.event-card__cat { margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--rose); }
.event-card__title { font-family: var(--display); font-size: 1.2rem; line-height: 1.25; margin: 4px 0 8px; }
.event-card__meta { margin: 0 0 14px; color: var(--muted); font-size: .9rem; display: grid; gap: 2px; }
.event-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; }
.event-card__cta { font-weight: 700; color: var(--plum); font-size: .9rem; }
.event-card__cta span { display: inline-block; transition: transform .2s; }
.event-card__link:hover .event-card__cta span { transform: translateX(4px); }

.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--plum); }
.tag--hot { background: var(--rose); color: #fff; }
.tag--dark { background: rgba(27, 11, 51, .85); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #f4ebfb; color: var(--plum); white-space: nowrap; }
.pill--ok { background: #e3f6ef; color: var(--ok); }
.pill--dark { background: rgba(255, 255, 255, .08); color: #e5dcf3; border: 1px solid rgba(255, 255, 255, .12); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.split__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }

/* Features */
.feature { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: linear-gradient(135deg, #fff1d6, #ffe0ea); margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink-2); }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.city-tile { position: relative; padding: 26px 20px; border-radius: var(--radius); text-decoration: none; color: #fff; background: linear-gradient(140deg, var(--night-2), var(--plum)); overflow: hidden; transition: transform .3s var(--ease); min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.city-tile::before { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -50px; background: url("../img/mandala.svg") center / contain no-repeat; opacity: .25; transition: transform .8s var(--ease); }
.city-tile:nth-child(3n+2) { background: linear-gradient(140deg, #8a1f45, var(--rose)); }
.city-tile:nth-child(3n+3) { background: linear-gradient(140deg, #b2560b, var(--saffron)); }
.city-tile:hover { transform: translateY(-4px); color: #fff; }
.city-tile:hover::before { transform: rotate(90deg) scale(1.2); }
.city-tile__name { font-family: var(--display); font-size: 1.4rem; font-weight: 700; position: relative; }
.city-tile__count { opacity: .85; font-size: .9rem; position: relative; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 44px; border-radius: 24px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(255, 182, 39, .35), transparent 60%), linear-gradient(135deg, var(--night), var(--plum)); position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #e5dcf3; margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

/* Page hero */
.page-hero { position: relative; background: var(--night); color: #fff; padding: 56px 0 48px; overflow: hidden; }
.page-hero--short { padding: 40px 0 32px; }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(123, 63, 228, .55), transparent 70%), radial-gradient(500px 300px at 10% 120%, rgba(226, 55, 95, .45), transparent 70%); }
.page-hero__bg::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; background: url("../img/mandala.svg") center / contain no-repeat; opacity: .14; animation: spin 140s linear infinite; }
.page-hero .container { position: relative; }
.page-hero .h1 { color: #fff; }
.page-hero .lede { color: #e5dcf3; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.page-hero .crumbs, .crumbs--light { color: #cbbde3; }
.page-hero .crumbs a, .crumbs--light a { color: #fff; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.filters__search { flex: 1 1 240px; }
.filters input[type="search"], .filters select { width: 100%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.filters select { width: auto; cursor: pointer; }
.toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 600; user-select: none; }
.toggle:has(input:checked) { background: #f4ebfb; border-color: var(--plum); color: var(--plum); }
.toggle input { accent-color: var(--plum); }
.result-count { color: var(--muted); margin: 20px 0 14px; font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.empty { text-align: center; padding: 50px 20px; }
.empty__art { font-size: 3rem; animation: hover-bob 3s ease-in-out infinite; }

/* Event page */
.event-hero { position: relative; color: #fff; background: var(--night); overflow: hidden; padding: 34px 0 56px; }
.event-hero__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.3) brightness(.45); transform: scale(1.1); }
.event-hero__inner { position: relative; }
.event-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.event-title { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; }
.event-hero__summary { color: #eee5fa; font-size: 1.1rem; }
.event-hero__poster { border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.event-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.event-facts li { display: flex; gap: 14px; align-items: flex-start; }
.event-facts li > span:first-child { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .12); flex: none; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; margin-top: -26px; position: relative; z-index: 2; align-items: start; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.info-item { display: flex; gap: 12px; }
.info-item__icon { width: 40px; height: 40px; border-radius: 12px; background: #fff4e0; display: grid; place-items: center; flex: none; }
.info-item h3 { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-item p { margin: 2px 0 0; font-weight: 600; }
.organiser-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.organiser-card__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.organiser-card__actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.organiser-card .h4 { margin: 0; }
.organiser-card p { margin: 0; }
.verified { font-family: var(--font); font-size: .75rem; color: var(--ok); background: #e3f6ef; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; background: #f4ebfb; }
.notice--error { background: #fde8ec; color: #7b1328; }
.notice--info { background: #fff4de; color: #6d4300; }

/* Booking box */
.event-aside { position: sticky; top: 90px; }
.booking-box { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.booking-box__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.booking-box__head .h3 { margin: 0; }
.stack { display: grid; gap: 14px; }
.ticket-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticket-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s; }
.ticket-row.is-active { border-color: var(--rose); background: #fff7f9; }
.ticket-row.is-disabled { opacity: .6; }
.ticket-row__info { display: grid; gap: 2px; }
.ticket-row__info small { color: var(--muted); }
.ticket-row__price { font-weight: 800; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; flex: none; }
.stepper button { width: 36px; height: 36px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; font-weight: 700; color: var(--plum); }
.stepper button:hover { background: #f4ebfb; }
.stepper input { width: 34px; text-align: center; border: 0; font-weight: 800; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buyer-fields { display: grid; gap: 12px; padding-top: 4px; animation: drop-in .35s var(--ease); }
.booking-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 0; border-top: 1px dashed var(--line-2); font-size: 1.05rem; }
.booking-total strong { font-size: 1.5rem; font-family: var(--display); }
.booking-total.bump strong { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.12); color: var(--rose); } }
.secure-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }
.mobile-book-bar { display: none; }

/* Forms */
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 63, 228, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
.field-row--tt { grid-template-columns: 2fr 1fr .8fr 1fr .8fr; }
fieldset.card > .field { margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--rose); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 0; padding: 4px; margin: 0; background: #f4ebfb; border-radius: 999px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 10px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: background .2s, box-shadow .2s; }
.segmented input:checked + span { background: #fff; box-shadow: var(--shadow); color: var(--plum); }
.segmented input:focus-visible + span { outline: 3px solid var(--marigold); }

/* Auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 70px); }
.auth__art { position: relative; background: var(--night); color: #fff; display: grid; place-content: center; text-align: center; gap: 20px; overflow: hidden; padding: 40px; }
.auth__art .logo { flex-direction: column; }
.auth__art .logo__word { color: #fff; font-size: 2.6rem; }
.auth__art p { font-family: var(--display); font-size: 1.5rem; line-height: 1.3; position: relative; color: #e5dcf3; }
.auth__mandala { position: absolute; inset: -20%; background: url("../img/mandala.svg") center / 70% no-repeat; opacity: .16; animation: spin 90s linear infinite; }
.auth__panel { padding: 60px 8vw; display: flex; flex-direction: column; justify-content: center; max-width: 640px; }
.demo-hint { margin-top: 18px; padding: 14px; border-radius: 12px; background: #fff4de; font-size: .88rem; line-height: 1.7; }

/* Checkout */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-weight: 800; font-size: .85rem; }
.steps li + li::after { order: -1; content: ""; width: 24px; height: 2px; background: var(--line-2); }
.steps .is-done::before { content: "✓"; background: var(--ok); color: #fff; }
.steps .is-current { color: var(--ink); }
.steps .is-current::before { background: var(--grad); color: #fff; }
.hold-timer { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff4de; color: #6d4300; font-size: .92rem; margin: 6px 0 18px; }
.hold-timer.is-low { background: #fde8ec; color: var(--err); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .7; } }
.summary { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.summary th, .summary td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.summary .num { text-align: right; }
.summary tfoot th { font-size: 1.15rem; border-bottom: 0; }
.checkout__pay { margin: 20px 0 6px; display: grid; gap: 12px; }

/* Booking confirmation & e-tickets (perforated stub inspired by 21st.dev "Ticket Card") */
.booking-done { position: relative; }
.booking-done__head { text-align: center; margin-bottom: 30px; }
.booking-done__head .btn-row { justify-content: center; margin-top: 16px; }
.check-burst { width: 84px; height: 84px; margin: 0 auto 14px; }
.check-burst svg { width: 100%; height: 100%; }
.check-burst circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--ease) forwards; }
.check-burst path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.tickets { display: grid; gap: 20px; }
.eticket { display: flex; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.eticket__main { flex: 1; padding: 22px 24px; display: grid; gap: 4px; position: relative; border-right: 2px dashed var(--line-2); }
.eticket__main::before, .eticket__main::after { content: ""; position: absolute; right: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.eticket__main::before { top: -13px; }
.eticket__main::after { bottom: -13px; }
.eticket__type { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); font-weight: 700; }
.eticket__title { font-family: var(--display); font-size: 1.35rem; }
.eticket__holder { margin-top: 6px; }
.eticket__stub { width: 220px; padding: 20px; display: grid; place-items: center; gap: 8px; background: linear-gradient(180deg, #fff, #fbf6ff); transition: transform .4s var(--ease); }
.eticket:hover .eticket__stub { transform: rotate(1.5deg) translateX(3px); }
.qr { width: 160px; height: 160px; display: grid; place-items: center; background: #fff; padding: 6px; border-radius: 8px; }
.qr svg { width: 100%; height: auto; display: block; }
.eticket__code { font-size: .85rem; letter-spacing: .05em; }
.transfer { margin-top: 10px; font-size: .9rem; }
.transfer summary { cursor: pointer; color: var(--plum); font-weight: 700; }
.transfer form { margin-top: 10px; }

/* Account */
.order-list { display: grid; gap: 12px; }
.order-row { display: flex; align-items: center; gap: 16px; padding: 14px; background: #fff; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.order-row:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.order-row img { width: 96px; height: 60px; object-fit: cover; border-radius: 10px; }
.order-row > div { flex: 1; display: grid; }
.order-list--past { opacity: .75; }

/* Organiser */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.page-hero .dash-head { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 4px; }
.stat span { color: var(--muted); font-weight: 600; font-size: .88rem; }
.stat strong { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.stat strong small { font-size: 1rem; color: var(--muted); }
.stat > small { color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table .num { text-align: right; }
.bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-top: 6px; min-width: 60px; }
.bar span { display: block; height: 100%; background: var(--grad); border-radius: 6px; animation: grow 1s var(--ease); transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.status--published { background: #e3f6ef; color: var(--ok); }
.status--draft { background: #f0edf4; color: var(--muted); }
.status--cancelled { background: #fde8ec; color: var(--err); }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feed li { display: grid; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.spark__bar { flex: 1; height: var(--h); min-height: 4px; background: var(--grad); border-radius: 6px 6px 0 0; position: relative; animation: rise .8s var(--ease) both; transform-origin: bottom; }
.spark__bar span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: .68rem; color: var(--muted); white-space: nowrap; }
@keyframes rise { from { transform: scaleY(0); } }
.event-form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 90px; }
.event-form__side .card { display: grid; gap: 14px; }
.tt-list { display: grid; gap: 14px; margin-bottom: 14px; }
.tt-item { padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: #fdfbff; }
.tt-item .field-row { margin-bottom: 10px; }
.tt-item__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.checkin__manual { display: flex; gap: 10px; align-items: flex-end; margin-top: 14px; }
.checkin__manual .field { flex: 1; }
.checkin__result { margin-top: 18px; }
.result { padding: 22px; border-radius: 16px; text-align: center; animation: drop-in .3s var(--ease); }
.result strong { display: block; font-family: var(--display); font-size: 2rem; }
.result--ok { background: #e3f6ef; color: #0a6a50; }
.result--bad { background: #fde8ec; color: #8d1830; }
.scanner { position: relative; border-radius: 16px; overflow: hidden; background: #000; margin: 14px 0; aspect-ratio: 1; max-width: 420px; margin-inline: auto; }
.scanner video { width: 100%; height: 100%; object-fit: cover; }
.scanner__frame { position: absolute; inset: 18%; border: 3px solid var(--marigold); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); animation: pulse 1.6s ease-in-out infinite; }

/* Organisers page */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-card--hot { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card__big { font-family: var(--display); font-size: 2.6rem; font-weight: 800; margin: 6px 0; }
.price-card__ribbon { position: absolute; top: -12px; right: 20px; background: var(--grad); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.step-card__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step-card p { margin: 0; font-weight: 600; }

/* Calendar */
.timeline { display: grid; gap: 36px; }
.timeline__month { display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.timeline__label { font-family: var(--display); font-size: 1.4rem; position: sticky; top: 90px; align-self: start; margin: 0; }
.timeline__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-left: 2px solid var(--line-2); padding-left: 20px; }
.timeline__item { position: relative; display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.timeline__item::before { content: ""; position: absolute; left: -28px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--marigold); border: 3px solid var(--cream); transform: translateY(-50%); }
.timeline__item:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--ink); }
.timeline__date { width: 52px; text-align: center; color: var(--muted); font-size: .8rem; line-height: 1.1; flex: none; }
.timeline__date strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--ink); }
.timeline__body { flex: 1; display: grid; gap: 2px; }
.timeline__body .tag { justify-self: start; background: #f4ebfb; }
.timeline__price { font-weight: 800; white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 0 20px; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--rose); transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 18px; color: var(--ink-2); }

/* Error */
.error-page { padding: 90px 0; }
.error-page__diya { display: flex; justify-content: center; margin-bottom: 20px; }
.error-page__diya .logo__word { display: none; }

/* Footer */
.site-footer { position: relative; background: var(--night); color: #cbbde3; padding: 64px 0 24px; margin-top: 40px; overflow: hidden; }
.footer-glow { position: absolute; width: 600px; height: 300px; left: 50%; top: -150px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 182, 39, .25), transparent); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.site-footer .logo__word { color: #fff; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand p { max-width: 38ch; }
.footer-h { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--marigold); margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.credit a { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.credit a:hover { color: transparent; text-decoration: underline; text-decoration-color: var(--marigold); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__ticket { display: none; }
  .event-layout { grid-template-columns: 1fr; margin-top: 20px; }
  .event-aside { position: static; }
  .split { grid-template-columns: 1fr; }
  .dash-grid, .event-form { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .price-card--hot { transform: none; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 0 0 0; margin: 0; background: var(--cream); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 20px; gap: 16px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav > ul > li > a { padding: 14px 12px; font-size: 1.1rem; width: 100%; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; background: transparent; display: none; }
  .has-menu.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; }
  .main-nav__actions { flex-direction: column; align-items: stretch; }
  .main-nav__actions .btn { width: 100%; }
  .event-hero__grid { grid-template-columns: 1fr; }
  .event-hero__poster { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth__art { display: none; }
  .auth__panel { padding: 40px 20px; margin: 0 auto; }
  .timeline__month { grid-template-columns: 1fr; gap: 12px; }
  .timeline__label { position: static; }
  .mobile-book-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(27, 11, 51, .95); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); transition: transform .3s var(--ease), opacity .3s; }
  .mobile-book-bar small { display: block; color: #cbbde3; font-size: .8rem; }
  .mobile-book-bar.is-hidden { transform: translateY(120%); opacity: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { padding-top: 48px; padding-bottom: 90px; }
  .search-bar { flex-wrap: wrap; border-radius: 20px; padding: 8px; }
  .search-bar__icon { display: none; }
  .search-bar input { flex: 1 1 100%; padding: 12px; }
  .search-bar select { flex: 1; border-left: 0; border-top: 1px solid var(--line); max-width: none; }
  .search-bar .btn { flex: 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .split__cards { grid-template-columns: 1fr; }
  .field-row, .field-row--3, .field-row--tt { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .eticket { flex-direction: column; }
  .eticket__main { border-right: 0; border-bottom: 2px dashed var(--line-2); }
  .eticket__main::before, .eticket__main::after { top: auto; bottom: -13px; right: auto; }
  .eticket__main::before { left: -13px; }
  .eticket__main::after { right: -13px; left: auto; }
  .eticket__stub { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .filters { padding: 10px; }
  .filters select { flex: 1 1 45%; }
  .organiser-card__actions { margin-left: 0; }
  .checkin__manual { flex-direction: column; align-items: stretch; }
  .summary th:nth-child(3), .summary td:nth-child(3), .summary th:nth-child(4), .summary td:nth-child(4) { display: none; }
  .summary tfoot th[colspan] { text-align: left; }
  .order-row img { display: none; }
  .booking-box { padding: 18px; }
}

/* Motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .lantern { display: none; }
}
@media print {
  .site-header, .site-footer, .btn-row, .steps, .transfer, .confetti, .flash-stack { display: none !important; }
  body { background: #fff; }
  .eticket { box-shadow: none; break-inside: avoid; }
}

/* Fixes */
[hidden] { display: none !important; }
.check { display: block; position: relative; padding-left: 30px; }
.check input { position: absolute; left: 0; top: 1px; margin: 0; }
.card > h2:first-child, .card > .h3:first-child { margin-top: 0; }
@media (max-width: 1024px) { .event-aside { order: -1; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
@media (max-width: 900px) {
  /* backdrop-filter would trap the fixed mobile menu inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .hero__mandala { opacity: .1; width: 600px; height: 600px; right: -300px; top: -120px; }
}

/* Legal footer + cookie banner */
.site-footer__legal { position: relative; margin-top: 14px; font-size: .8rem; color: #a99cc4; }
.site-footer__legal p { margin: 4px 0; max-width: 110ch; }
.linklike { background: none; border: 0; padding: 0; color: #fff; cursor: pointer; font: inherit; text-decoration: underline; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 720px; margin: 0 auto; background: var(--night); color: #f1ebfa; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; animation: drop-in .4s var(--ease); }
.cookie-banner p { margin: 0; font-size: .9rem; }
.cookie-banner a { color: var(--marigold); }
.cookie-banner__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-banner__actions .btn { flex: 1; } }
/* Accessibility: stronger muted text contrast */
:root { --muted: #6a5f7e; }
.statutory { font-size: .82rem; color: var(--ink-2); background: #f6f1fb; border-radius: 10px; padding: 10px 12px; margin: 0; }
.anim-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 44; }
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation-play-state: paused !important; }
html.no-motion .lantern, html.no-motion .confetti { display: none; }
.linklike--dark { color: var(--plum); }
.prose .table-wrap { margin: 12px 0 20px; }

/* WCAG 2.2 AA contrast: darker variants wherever text sits on brand colours */
:root { --rose-text: #c81e4a; --grad-strong: linear-gradient(135deg, #c2410c, #b91c5c 55%, #6d28d9); }
.btn--primary { background: var(--grad-strong); background-size: 150% 100%; }
.eyebrow, .event-card__cat, .eticket__type, .ticket3d__label, .date-badge__m, .faq__item summary::after { color: var(--rose-text); }
.eyebrow--light { color: var(--marigold); }
.tag--hot { background: var(--rose-text); }
.pill--ok, .verified, .status--published { color: #0a6a50; }
.price-card__ribbon, .step-card__n, .ticks li::before, .steps .is-current::before, .organiser-card__avatar { background: var(--grad-strong); }
.quick-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--plum); color: var(--plum); }
.chip.is-on { background: var(--night); border-color: var(--night); color: #fff; }

/* ---- Mobile hardening (iOS Safari) ---- */
/* Safety net: iOS ignores overflow-x on body alone, so clip on both. */
html, body { overflow-x: clip; max-width: 100%; }
/* Grid/flex children default to min-width:auto, which lets wide content
   (tables, iOS date pickers) stretch the whole page. */
.dash-grid > *, .event-form > *, .event-form__main, .event-form__side,
.field-row > *, .field, .card, .stat, .tt-item { min-width: 0; }
.field input, .field select, .field textarea { display: block; min-width: 0; max-width: 100%; box-sizing: border-box; font-size: 16px; }
/* iOS gives date/time inputs an intrinsic width and centres an empty value */
input[type="datetime-local"], input[type="date"], input[type="time"] {
  -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; max-width: 100%;
  min-height: 50px; line-height: 1.3; text-align: left; background: #fff;
}
input[type="datetime-local"]::-webkit-date-and-time-value,
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="file"] { max-width: 100%; }
.checkin > .field { margin-bottom: 12px; }
.table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
@media (max-width: 1024px) {
  .dash-grid, .event-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .field-row, .field-row--3, .field-row--tt { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 14px 16px; }
  .stat strong { font-size: 1.5rem; }
  /* Data tables become stacked cards: no sideways scrolling on phones */
  .table--stack thead { display: none; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table--stack td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: right; overflow-wrap: anywhere; }
  .table--stack td::before { content: attr(data-label); flex: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; }
  .table--stack td[data-label=""]::before { content: none; }
  .table--stack td[data-label=""] { justify-content: flex-start; }
  .table--stack td:first-child { display: block; text-align: left; font-size: 1rem; }
  .table--stack td:first-child::before { display: block; }
  .table--stack td.num > .bar { display: none; }
}
.checkout__pay { grid-template-columns: minmax(0, 1fr); }
.btn--block { white-space: normal; text-align: center; }
.notice { overflow-wrap: anywhere; }
.scanner__hint { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; color: #fff; font-size: .85rem; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
[data-scan-error] { margin-top: 12px; }
.scanner { aspect-ratio: 4 / 3; max-height: 42vh; width: 100%; }
