/* =========================================================
   Eveora – Stylesheet
   Sections: tokens · base · buttons · navbar · hero · sections · cards
             · toolbar · reservation & payment · bookings · admin
             · modals · ticket · auth · legal · utilities · responsive
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --gold: #c9a45c;
  --gold-soft: #e6cf9b;
  --gold-deep: #8f6f33;
  --gold-grad: linear-gradient(135deg, #f0dcaa 0%, #c9a45c 45%, #9a7638 100%);

  --bg: #f7f3ec;
  --bg-alt: #efe9de;
  --surface: #fffdf9;
  --surface-2: #f6f1e7;
  --text: #1b1813;
  --text-muted: #6d6556;
  --border: #e2d8c6;
  --hairline: rgba(143, 111, 51, .28);
  --accent: #8f6f33;
  --success: #3f7d58;
  --warning: #a26f1b;
  --danger: #a8423c;
  --shadow: 0 10px 30px rgba(52, 38, 14, .07);
  --shadow-lg: 0 30px 60px rgba(52, 38, 14, .14);
  --nav-bg: rgba(247, 243, 236, .86);
  --overlay: linear-gradient(180deg, rgba(12, 10, 7, .15) 0%, rgba(12, 10, 7, .85) 100%);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="dark"] {
  --bg: #0b0a08;
  --bg-alt: #110f0c;
  --surface: #16130f;
  --surface-2: #1d1913;
  --text: #f2ebdd;
  --text-muted: #a59b88;
  --border: #2a241b;
  --hairline: rgba(201, 164, 92, .26);
  --accent: #d8b874;
  --success: #7fbf95;
  --warning: #e0b25a;
  --danger: #e08a7f;
  --shadow: 0 14px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 34px 70px rgba(0, 0, 0, .6);
  --nav-bg: rgba(11, 10, 8, .82);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15.5px;
  letter-spacing: .01em;
  transition: background .5s var(--ease), color .5s var(--ease);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: var(--gold); color: #120f0a; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: .005em; }

.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.7rem; border-radius: 2px; font-weight: 600; font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gold-grad); color: #17120a; box-shadow: 0 10px 26px rgba(201, 164, 92, .22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201, 164, 92, .34); }
.btn-outline { border: 1px solid var(--hairline); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--accent); }
.btn-ghost { color: var(--text-muted); padding-inline: 1rem; }
.btn-ghost:hover { color: var(--danger); }
.btn-danger { background: var(--danger); color: #fff; box-shadow: none; }
.btn-danger:hover { box-shadow: 0 12px 26px rgba(168, 66, 60, .3); }
.btn-sm { padding: .6rem 1.05rem; font-size: .66rem; letter-spacing: .16em; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.copy-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 4px;
  color: var(--text-muted); border: 1px solid var(--border); transition: color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--accent); border-color: var(--gold); }
.copy-btn .ic { width: 15px; height: 15px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.navbar.scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.2); border-color: var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }

.logo { display: flex; align-items: center; gap: .65rem; }
.logo-mark {
  position: relative; width: 34px; height: 34px; display: grid; place-items: center; line-height: 1;
  font-family: var(--font-display); font-size: 1.2rem; font-style: italic; font-weight: 600; color: var(--accent);
}
.logo-mark::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--gold); transform: rotate(45deg); }
.logo-text { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: .06em; }

.nav-links { display: flex; gap: .2rem; }
.nav-links a {
  position: relative; padding: .5rem .85rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-muted); transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 3px;
  border-radius: 999px; background: var(--gold-grad); color: #17120a; font-size: .62rem; font-weight: 700; letter-spacing: 0;
}

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--hairline); color: var(--text); transition: border-color .3s, color .3s, transform .4s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); color: var(--accent); transform: rotate(18deg); }
.icon-btn .moon, [data-theme="dark"] .icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }

.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.hamburger span { display: block; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; isolation: isolate; color: #f4ecdd; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0b0a08; }
/* Photo toned to warm monochrome so it reads as black & gold */
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=1920&q=70') center / cover;
  filter: grayscale(1) sepia(.55) brightness(.75) contrast(1.1);
  animation: slowZoom 24s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(201, 164, 92, .18), transparent 55%),
    linear-gradient(100deg, rgba(10, 8, 6, .96) 0%, rgba(10, 8, 6, .82) 50%, rgba(10, 8, 6, .55) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.hero .eyebrow { color: var(--gold-soft); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 500; margin-bottom: 1.4rem; line-height: 1.02; }
.hero h1 em {
  font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .05em;
}
.hero-text > p { color: rgba(244, 236, 221, .74); font-size: 1.05rem; max-width: 520px; margin-bottom: 2.4rem; }

.hero-search {
  display: flex; align-items: center; gap: .8rem; padding: .4rem .4rem .4rem 1.2rem; max-width: 540px;
  background: rgba(20, 17, 13, .6); border: 1px solid rgba(201, 164, 92, .35); backdrop-filter: blur(10px);
  border-radius: 2px; color: #f4ecdd;
}
.hero-search .ic { color: var(--gold-soft); }
.hero-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: .7rem 0; color: #f4ecdd; }
.hero-search input::placeholder { color: rgba(244, 236, 221, .5); }

.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stats div { border-left: 1px solid rgba(201, 164, 92, .4); padding-left: 1.1rem; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; color: var(--gold-soft); line-height: 1.1; }
.hero-stats span { color: rgba(244, 236, 221, .6); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

.hero-card {
  background: rgba(22, 19, 15, .72); border: 1px solid rgba(201, 164, 92, .3); backdrop-filter: blur(14px);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); color: #f4ecdd;
  transition: transform .6s var(--ease);
}
.hero-card:hover { transform: translateY(-6px); }
.hero-card .hc-img { height: 210px; position: relative; }
.hero-card .hc-body { padding: 1.6rem; }
.hero-card .hc-label { font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.hero-card h3 { font-size: 1.7rem; margin: .4rem 0 .3rem; font-weight: 500; }
.hero-card .meta { color: rgba(244, 236, 221, .65); font-size: .86rem; display: flex; align-items: center; gap: .4rem; }
.hero-card .countdown div { background: rgba(255, 255, 255, .04); border-color: rgba(201, 164, 92, .22); }
.hero-card .countdown span { color: rgba(244, 236, 221, .55); }

/* ---------- Countdown ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.2rem 0; }
.countdown div { border: 1px solid var(--hairline); border-radius: var(--radius); padding: .7rem .2rem; text-align: center; }
.countdown strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-card .countdown strong { color: var(--gold-soft); }
.countdown span { font-size: .62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .2em; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); transition: background .5s; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; margin: .7rem 0 .8rem; }
.section-head p { color: var(--text-muted); }

/* ---------- Event image (with elegant fallback) ---------- */
.img-wrap { position: relative; overflow: hidden; background: radial-gradient(circle at 30% 20%, #3a2f1d, #120f0b 70%); }
.img-wrap img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.img-wrap .fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-size: 3.6rem; color: var(--gold-soft); opacity: .8;
}
.img-wrap img.failed { display: none; }

/* ---------- Event cards ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }

.event-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, background .5s;
  animation: cardIn .7s var(--ease) both;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--hairline); }
.event-card:hover .img-wrap img { transform: scale(1.06); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.event-card .media { position: relative; }
.event-card .img-wrap { height: 210px; }
.event-card .img-wrap::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(10, 8, 6, .55)); }

.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: .35rem .8rem; border-radius: 2px;
  background: rgba(12, 10, 7, .62); backdrop-filter: blur(6px); color: var(--gold-soft);
  font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; border: 1px solid rgba(201, 164, 92, .3);
}
.date-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2; text-align: center; line-height: 1; padding: .5rem .65rem;
  background: var(--surface); color: var(--text); border-radius: 2px; box-shadow: var(--shadow); min-width: 52px;
}
.date-badge strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--accent); }
.date-badge span { font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

.card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.55rem; font-weight: 600; margin-bottom: .6rem; }
.card-meta { display: flex; flex-direction: column; gap: .35rem; color: var(--text-muted); font-size: .84rem; margin-bottom: .9rem; }
.card-meta span { display: flex; align-items: center; gap: .5rem; }
.card-meta .ic { width: 15px; height: 15px; color: var(--accent); }
.card-desc { color: var(--text-muted); font-size: .88rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; }
.price small { font-family: var(--font-body); color: var(--text-muted); font-weight: 500; font-size: .7rem; letter-spacing: .08em; }

.seats-bar { height: 2px; background: var(--border); overflow: hidden; margin-top: 1rem; }
.seats-bar span { display: block; height: 100%; background: var(--gold-grad); }
.seats-text { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: .45rem; }
.seats-text.low { color: var(--danger); font-weight: 600; }

/* ---------- Featured slider ---------- */
.featured-track-wrap { position: relative; }
.featured-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3.6rem) / 3); gap: 1.8rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .2rem 1.6rem; scrollbar-width: none;
}
.featured-track::-webkit-scrollbar { display: none; }
.featured-track .event-card { scroll-snap-align: start; }
.featured-track .event-card .img-wrap { height: 260px; }

.slider-btn {
  position: absolute; top: 38%; z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow); display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s;
}
.slider-btn:hover { background: var(--gold); color: #17120a; transform: scale(1.06); }
.slider-btn.prev { left: -24px; }
.slider-btn.next { right: -24px; }

/* ---------- Toolbar & chips ---------- */
.toolbar { display: flex; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.search-box {
  flex: 1; min-width: 240px; display: flex; align-items: center; gap: .7rem; padding: 0 1.1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px; transition: border-color .3s, box-shadow .3s;
}
.search-box .ic { color: var(--accent); }
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .12); }
.search-box input { flex: 1; border: none; outline: none; background: transparent; padding: .9rem 0; }
.toolbar select {
  padding: .9rem 1.2rem; border-radius: 2px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; min-width: 200px;
}

.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.chip {
  padding: .55rem 1.15rem; border-radius: 999px; border: 1px solid var(--border); background: transparent;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.active { background: var(--gold-grad); color: #17120a; border-color: transparent; }

.result-count { color: var(--text-muted); font-size: .82rem; letter-spacing: .04em; margin-bottom: 1.2rem; }

.empty-state { text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--hairline); border-radius: var(--radius-lg); }
.empty-state .ic { width: 34px; height: 34px; color: var(--accent); margin-bottom: .6rem; }
.empty-state h3 { font-size: 1.7rem; font-weight: 500; }
.empty-state p { color: var(--text-muted); margin: .3rem 0 1.4rem; }

/* ---------- Reservation ---------- */
.register-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.register-info h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; margin: .7rem 0 1rem; }
.register-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.steps { list-style: none; display: grid; gap: 0; margin-bottom: 2rem; border-left: 1px solid var(--hairline); }
.steps li { display: flex; gap: 1.1rem; align-items: center; padding: .85rem 0 .85rem 1.4rem; position: relative; }
.steps li span {
  position: absolute; left: -15px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold); color: var(--accent);
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
}
.steps li div { padding-left: 1rem; }
.steps strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.steps small { color: var(--text-muted); font-size: .82rem; }

.selected-preview:empty { display: none; }
.selected-preview {
  display: flex; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: .9rem; animation: cardIn .5s var(--ease);
}
.selected-preview .img-wrap { width: 84px; height: 84px; border-radius: var(--radius); flex-shrink: 0; }
.selected-preview .img-wrap .fallback { font-size: 2rem; }
.selected-preview h4 { font-size: 1.25rem; }
.selected-preview p { color: var(--text-muted); font-size: .82rem; display: flex; align-items: center; gap: .4rem; }
.selected-preview .ic { width: 14px; height: 14px; color: var(--accent); }

.register-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.4rem;
  box-shadow: var(--shadow-lg); position: relative; transition: background .5s;
}
.register-form::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hairline); border-radius: 4px; pointer-events: none; opacity: .6; }
.register-form > * { position: relative; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; display: flex; flex-direction: column; }
.form-group > label:first-child, .form-group > label[for] { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.req { color: var(--accent); }

.form-group input:not([type="checkbox"]):not([type="file"]), .form-group select, .confirm-body textarea, .add-admin input {
  width: 100%; padding: .85rem 1rem; border-radius: 2px; border: 1px solid var(--border); background: var(--bg);
  outline: none; transition: border-color .3s, box-shadow .3s, background .5s;
}
.form-group input:focus, .form-group select:focus, .confirm-body textarea:focus, .add-admin input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .12); }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid .upload-box { border-color: var(--danger); animation: shake .35s; }
.form-group.valid input:not([type="checkbox"]):not([type="file"]):not([readonly]), .form-group.valid select { border-color: rgba(63, 125, 88, .6); }
.form-group input[readonly] { color: var(--text-muted); cursor: not-allowed; background: var(--surface-2); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.error-msg { color: var(--danger); font-size: .78rem; min-height: 1.1em; margin-top: .35rem; }

.checkbox { display: flex; align-items: center; gap: .7rem; cursor: pointer; font-size: .88rem; color: var(--text-muted); }
.checkbox input { width: 17px; height: 17px; accent-color: var(--gold); }
.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.total-line { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem 0; margin-bottom: 1.1rem; border-top: 1px solid var(--border); }
.total-line span { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }
.total-line strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--accent); }

.spinner { display: none; width: 16px; height: 16px; border: 1.5px solid rgba(23, 18, 10, .3); border-top-color: #17120a; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Payment block ---------- */
.payment-block {
  margin: .4rem 0 1.4rem; padding: 1.5rem; border: 1px solid var(--hairline); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(201, 164, 92, .07), transparent 60%);
  animation: cardIn .5s var(--ease);
}
.pay-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.2rem; }
.pay-head h3 { font-size: 1.6rem; font-weight: 500; margin-top: .3rem; }
.pay-amount { text-align: right; }
.pay-amount small { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.pay-amount strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--accent); }

.pay-body { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin-bottom: 1.4rem; }
.pay-qr {
  width: 188px; height: 188px; padding: 10px; background: #fff; border-radius: 4px; display: grid; place-items: center;
  border: 1px solid var(--hairline);
}
.pay-qr img, .pay-qr canvas { width: 168px !important; height: 168px !important; }
.qr-placeholder { color: #8a8170; font-size: .74rem; text-align: center; line-height: 1.4; padding: .5rem; }
.pay-info { display: grid; gap: .7rem; justify-items: start; }
.pay-step { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.pay-step span {
  flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--accent); font-size: .7rem; font-weight: 700;
}
.upi-row { display: flex; align-items: center; gap: .6rem; }
.upi-row code { font-size: 1rem; font-weight: 600; letter-spacing: .03em; padding: .45rem .75rem; border: 1px dashed var(--hairline); border-radius: 2px; }
.demo-note { font-size: .8rem; color: var(--warning); border-left: 2px solid var(--warning); padding: .2rem 0 .2rem .8rem; }

.upload-box {
  position: relative; display: grid; place-items: center; min-height: 150px; padding: 1.2rem; text-align: center;
  border: 1px dashed var(--hairline); border-radius: var(--radius); background: var(--bg); cursor: pointer;
  transition: border-color .3s, background .3s;
}
.upload-box:hover, .upload-box:focus-within { border-color: var(--gold); background: var(--surface-2); }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-empty { display: grid; gap: .25rem; justify-items: center; color: var(--text-muted); font-size: .88rem; pointer-events: none; }
.upload-empty .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: .3rem; }
.upload-empty strong { color: var(--text); }
.upload-empty small { font-size: .72rem; letter-spacing: .06em; }
.upload-busy { display: none; align-items: center; gap: .6rem; color: var(--text-muted); font-size: .85rem; pointer-events: none; }
.upload-busy .spinner { display: inline-block; border-color: var(--hairline); border-top-color: var(--gold); }
.upload-box.busy .upload-empty { display: none; }
.upload-box.busy .upload-busy { display: flex; }
.upload-box.has-file .upload-empty { display: none; }
.upload-box img { max-height: 260px; width: auto; border-radius: 4px; box-shadow: var(--shadow); pointer-events: none; }

/* ---------- Status badges ---------- */
.status-badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px;
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap;
}
.status-badge .ic { width: 13px; height: 13px; }
.status-badge.pending { color: var(--warning); }
.status-badge.approved { color: var(--success); }
.status-badge.rejected { color: var(--danger); }
.status-badge.cancelled { color: var(--text-muted); }

/* ---------- Bookings ---------- */
.bookings-list { display: grid; gap: 1.1rem; max-width: 940px; margin: 0 auto; }
.booking {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 1.4rem; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem; animation: cardIn .5s var(--ease) both;
  transition: border-color .4s, background .5s;
}
.booking:hover { border-color: var(--hairline); }
.booking .img-wrap { width: 100px; height: 100px; border-radius: var(--radius); }
.booking .img-wrap .fallback { font-size: 2.2rem; }
.booking h4 { font-size: 1.4rem; margin-bottom: .2rem; }
.booking p { color: var(--text-muted); font-size: .84rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.booking p .ic { width: 14px; height: 14px; color: var(--accent); }
.booking .status-line { margin-top: .55rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.booking .reason { color: var(--danger); font-size: .82rem; }
.booking-actions { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }

/* ---------- Admin ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; color: var(--accent); line-height: 1.1; }
.stat span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }

.admin-toolbar { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.admin-toolbar .chips { margin: 0; }
.admin-toolbar .search-box { max-width: 380px; }

.review-list { display: grid; gap: 1.1rem; }
.review-card {
  background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--warning); border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem; animation: cardIn .45s var(--ease) both;
}
.review-card[data-status="approved"] { border-left-color: var(--success); }
.review-card[data-status="rejected"] { border-left-color: var(--danger); }
.review-card[data-status="cancelled"] { border-left-color: var(--border); opacity: .75; }
.rc-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.rc-head h4 { font-size: 1.45rem; }
.rc-head p { color: var(--text-muted); font-size: .82rem; }
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem 1.4rem; padding: 1rem 0; border-block: 1px solid var(--border); }
.rc-grid small { display: block; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .15rem; }
.rc-grid strong { font-weight: 600; font-size: .9rem; word-break: break-word; }
.rc-grid code { font-size: .92rem; font-weight: 600; letter-spacing: .04em; margin-right: .4rem; }
.warn { display: block; font-style: normal; color: var(--danger); font-size: .74rem; font-weight: 600; margin-top: .2rem; }
.rc-note { margin-top: .9rem; color: var(--danger); font-size: .86rem; }
.rc-meta { margin-top: .6rem; color: var(--text-muted); font-size: .76rem; letter-spacing: .02em; }
.rc-actions { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.rc-actions .spacer { flex: 1; }

.admin-manager { margin-top: 3rem; padding: 2rem; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); }
.am-head h3 { font-size: 1.9rem; font-weight: 500; margin: .4rem 0 .2rem; }
.am-head p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.4rem; }
.admin-list { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.admin-list li { display: flex; align-items: center; gap: .9rem; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-list li div { flex: 1; min-width: 0; }
.admin-list strong, .admin-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-list small { color: var(--text-muted); font-size: .76rem; }
.role-badge { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--gold); padding: .25rem .6rem; border-radius: 999px; }
.add-admin { display: flex; gap: .8rem; }
.add-admin input { flex: 1; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 5, 3, .72); backdrop-filter: blur(6px); animation: fadeIn .35s; }
.modal-dialog {
  position: relative; width: min(780px, 100%); max-height: 90vh; overflow-y: auto; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: popIn .45s var(--ease);
}
.modal-sm { width: min(460px, 100%); }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(12, 10, 7, .6); color: #f4ecdd; backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 164, 92, .3); transition: transform .3s;
}
.modal-close:hover { transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.modal-hero { height: 300px; }
.modal-content { padding: 2rem 2.2rem 2.2rem; }
.modal-content h2 { font-size: 2.4rem; font-weight: 500; margin: .6rem 0 1.4rem; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.info-item { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius); padding: .85rem; }
.info-item .ic { color: var(--accent); margin-top: .15rem; }
.info-item small { display: block; color: var(--text-muted); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; }
.info-item strong { font-size: .9rem; font-weight: 600; }
.modal-content h4 { font-size: 1.3rem; margin: 1.4rem 0 .5rem; }
.modal-content p, .modal-content li { color: var(--text-muted); }
.highlights { list-style: none; display: grid; gap: .45rem; }
.highlights li { display: flex; gap: .6rem; align-items: center; }
.highlights li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; }
.modal-actions { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }

.success-body, .confirm-body { padding: 2.6rem 2.2rem 2.2rem; text-align: center; }
.seal {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 1.3rem; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--accent); box-shadow: inset 0 0 0 6px var(--surface), inset 0 0 0 7px var(--hairline);
  animation: popIn .6s var(--ease);
}
.seal .ic { width: 32px; height: 32px; }
.success-body h3, .confirm-body h3 { font-size: 2rem; font-weight: 500; margin-bottom: .5rem; }
.success-body p, .confirm-body p { color: var(--text-muted); }
.summary { margin: 1.5rem 0; padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); text-align: left; font-size: .88rem; display: grid; gap: .45rem; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; }
.summary span { color: var(--text-muted); }
.summary strong { text-align: right; }

.confirm-body textarea { margin-top: 1.1rem; resize: vertical; text-align: left; }
.confirm-actions { display: flex; gap: .8rem; justify-content: center; margin-top: 1.4rem; }

.proof-body { padding: 2.2rem; }
.proof-body h3 { font-size: 1.9rem; font-weight: 500; margin-bottom: .3rem; }
.proof-meta { color: var(--text-muted); font-size: .86rem; margin-bottom: 1.2rem; }
.proof-img { max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--border); }
.proof-loading { display: flex; gap: .7rem; align-items: center; justify-content: center; padding: 3rem; color: var(--text-muted); }
.proof-loading .spinner { display: inline-block; border-color: var(--hairline); border-top-color: var(--gold); }

/* ---------- Ticket ---------- */
.modal-ticket { width: min(420px, 100%); background: transparent; border: none; box-shadow: none; overflow: visible; }
.modal-ticket .modal-close { top: -10px; right: -6px; }
.ticket-card {
  position: relative; border-radius: 14px; overflow: hidden; color: #f4ecdd;
  background: linear-gradient(160deg, #1b1610 0%, #0e0c09 100%); border: 1px solid rgba(201, 164, 92, .45);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.ticket-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 92, .25); border-radius: 10px; pointer-events: none; }
.tk-top { padding: 1.8rem 1.8rem 1.4rem; text-align: center; }
.tk-brand { display: flex; justify-content: center; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.tk-admit { margin-top: .4rem; font-size: .6rem; letter-spacing: .4em; text-transform: uppercase; color: rgba(244, 236, 221, .55); }
.tk-top h3 { font-size: 2rem; font-weight: 500; margin: 1rem 0 .4rem; }
.tk-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; text-align: left; margin-top: 1.3rem; }
.tk-meta small { display: block; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 236, 221, .5); }
.tk-meta strong { font-size: .86rem; font-weight: 600; }
.tk-cut { position: relative; height: 0; border-top: 1px dashed rgba(201, 164, 92, .45); margin: 0 1.2rem; }
.tk-cut::before, .tk-cut::after { content: ""; position: absolute; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.tk-cut::before { left: -33px; }
.tk-cut::after { right: -33px; }
.tk-bottom { padding: 1.4rem 1.8rem 1.8rem; display: flex; gap: 1.2rem; align-items: center; }
.tk-qr { width: 104px; height: 104px; padding: 6px; background: #fff; border-radius: 4px; flex-shrink: 0; }
.tk-qr img, .tk-qr canvas { width: 92px !important; height: 92px !important; }
.tk-id small { display: block; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 236, 221, .5); }
.tk-id strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .08em; color: var(--gold-soft); }
.tk-id p { font-size: .74rem; color: rgba(244, 236, 221, .55); margin-top: .3rem; }
.ticket-actions { display: flex; justify-content: center; margin-top: 1.2rem; }

/* ---------- Toast & back-to-top ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300; transform: translate(-50%, 160%);
  background: var(--surface); color: var(--text); border: 1px solid var(--hairline);
  padding: .85rem 1.5rem; border-radius: 2px; font-size: .88rem; box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); color: var(--accent); border: 1px solid var(--hairline); box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all .4s var(--ease);
}
.back-to-top .ic { transform: rotate(-90deg); }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { border-color: var(--gold); }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 2.4rem; border-top: 1px solid var(--hairline); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.footer .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--text-muted); margin-top: .5rem; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.copy { grid-column: 1 / -1; text-align: center; padding-top: 1.8rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .78rem; letter-spacing: .06em; }

/* ---------- Auth (Google Sign-In) ---------- */
.auth { display: flex; align-items: center; }
.g-btn-slot { display: flex; justify-content: center; min-height: 32px; }
.g-btn-slot:empty { display: none; }
.g-fallback {
  display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; border-radius: 999px;
  background: #fff; color: #3c4043; border: 1px solid #dadce0; font-weight: 500; font-size: .86rem; letter-spacing: 0;
  transition: box-shadow .2s;
}
.g-fallback:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.g-fallback svg { width: 18px; height: 18px; flex-shrink: 0; }
.g-fallback.lg { padding: .8rem 1.5rem; font-size: .95rem; }

.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: .55rem; padding: 3px 12px 3px 3px; border-radius: 999px;
  border: 1px solid var(--hairline); transition: border-color .3s;
}
.user-chip:hover { border-color: var(--gold); }
.user-name { font-weight: 600; font-size: .82rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-pill { font-size: .54rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #17120a; background: var(--gold-grad); padding: .2rem .5rem; border-radius: 999px; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center;
  background: var(--gold-grad); color: #17120a; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 44px; height: 44px; font-size: 1.3rem; }

.user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0; width: 270px; padding: .5rem; z-index: 110;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: popIn .3s var(--ease);
}
.user-dropdown[hidden] { display: none; }
.dd-head { display: flex; gap: .8rem; align-items: center; padding: .7rem; border-bottom: 1px solid var(--border); margin-bottom: .3rem; }
.dd-head div { min-width: 0; }
.dd-head strong, .dd-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-head strong { font-family: var(--font-display); font-size: 1.15rem; }
.dd-head small { color: var(--text-muted); font-size: .76rem; }
.dd-item { display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left; padding: .65rem .8rem; border-radius: 4px; font-size: .86rem; }
.dd-item .ic { width: 16px; height: 16px; color: var(--accent); }
.dd-item:hover { background: var(--surface-2); }
#signOutBtn:hover { color: var(--danger); }

.form-shell { position: relative; }
.auth-gate {
  position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(7px);
}
.form-shell.locked .auth-gate { display: flex; }
.form-shell.locked .register-form { filter: blur(2.5px); pointer-events: none; user-select: none; }
.gate-icon { width: 40px !important; height: 40px !important; color: var(--accent); margin-bottom: .8rem; }
.auth-gate h3 { font-size: 2rem; font-weight: 500; margin-bottom: .4rem; }
.auth-gate p { color: var(--text-muted); max-width: 340px; margin-bottom: 1.4rem; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { max-width: 780px; padding: 140px 0 70px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 500; margin: .6rem 0 .4rem; }
.legal .updated { color: var(--text-muted); font-size: .84rem; margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.6rem; font-weight: 500; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.3rem; display: grid; gap: .45rem; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-links { margin-top: 2.8rem; padding-top: 1.3rem; border-top: 1px solid var(--border); }
.legal + .footer .copy { border-top: none; padding-top: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.hidden { display: none !important; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: .5rem .55rem; letter-spacing: .12em; }
  .nav-links a::after { left: .55rem; right: .55rem; }
}

@media (max-width: 1024px) {
  .featured-track { grid-auto-columns: calc((100% - 1.8rem) / 2); }
  .slider-btn.prev { left: -10px; }
  .slider-btn.next { right: -10px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .rc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 1rem 16px 1.6rem;
    background: var(--surface); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); opacity: 0; transition: transform .45s var(--ease), opacity .45s; z-index: -1;
  }
  .nav-links.open { transform: none; opacity: 1; }
  .nav-links a { padding: .95rem .4rem; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .navbar:not(.scrolled) .nav-links { background: var(--surface); }

  .hero { min-height: auto; padding-top: 120px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10, 8, 6, .88) 0%, rgba(10, 8, 6, .8) 60%, rgba(10, 8, 6, .95) 100%); }
  .hero-inner, .register-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card { max-width: 480px; }
  .section { padding: 84px 0; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .logo-text { font-size: 1.45rem; }
  .logo-mark { width: 28px; height: 28px; }
  .featured-track { grid-auto-columns: 86%; gap: 1rem; }
  .slider-btn { display: none; }
  .hero-stats { gap: 1.4rem; }
  .hero-stats strong { font-size: 1.8rem; }
  .hero-search { padding-left: .9rem; }
  .hero-search .btn { padding: .8rem 1rem; }
  .form-row, .info-grid, .tk-meta { grid-template-columns: 1fr; }
  .register-form { padding: 1.5rem 1.2rem; }
  .register-form::before { inset: 6px; }
  .pay-body { grid-template-columns: 1fr; justify-items: center; }
  .pay-info { justify-items: center; text-align: center; }
  .pay-step { text-align: left; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-ticket { padding: 16px; align-self: center; }
  .modal-hero { height: 210px; }
  .modal-content { padding: 1.4rem; }
  .modal-content h2 { font-size: 1.9rem; }
  .booking { grid-template-columns: 70px 1fr; gap: 1rem; }
  .booking .img-wrap { width: 70px; height: 70px; }
  .booking-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .booking-actions .btn { flex: 1; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .rc-grid { grid-template-columns: 1fr; }
  .rc-head { flex-direction: column; }
  .add-admin { flex-direction: column; }
  .admin-manager { padding: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer .logo { justify-content: center; }
  .footer-links { justify-content: center; gap: 1.1rem; }
  .toolbar select { width: 100%; }
  .user-name, .role-pill { display: none; }
  .user-chip { padding: 3px; }
  .g-fallback:not(.lg) span { display: none; }
  .g-fallback:not(.lg) { padding: .55rem; }
  .tk-bottom { flex-direction: column; text-align: center; }
}
