/* AsT — festival ticket site. Design tokens and components recreated from the W1–W9 mockups. */
:root {
  --bg: #050B1E;
  --bg-deep: #040918;
  --text: #F2F7FF;
  --muted: #A9B8D6;
  --soft: #D6E1F5;
  --nav: #B4C3DF;
  --accent: #8FD3FF;
  --accent-2: #4FA8FF;
  --brand: #2F6BFF;
  --highlight: #FF9F4A;
  --ink: #061230;
  --danger: #FFB0B6;
  --danger-line: #FF6B7A;
  --grad: linear-gradient(100deg, #4FA8FF 0%, #8FD3FF 100%);
  --grad-shadow: inset 0 2px 0 rgba(255,255,255,0.65), inset 0 -4px 0 rgba(14,35,80,0.28), 0 10px 22px rgba(47,107,255,0.45);
  --glass: linear-gradient(160deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 100%);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 14px 32px rgba(2,6,20,0.45);
  --line: rgba(255,255,255,0.24);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: #FFFFFF; }
input, select, textarea { background-color: rgba(255,255,255,0.07); color: var(--text); }
::placeholder { color: #7F8FB0; opacity: 1; }
option { color: var(--ink); background: #FFFFFF; }
input:focus, select:focus, textarea:focus { border-color: var(--highlight) !important; box-shadow: 0 0 0 3px rgba(255,159,74,0.40); outline: none; }
:focus-visible { outline: 3px solid rgba(255,159,74,0.7); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- page shell ---------- */
.page { min-height: 100vh; background: radial-gradient(80% 900px at 100% 0%, rgba(47,107,255,0.50) 0%, rgba(47,107,255,0) 60%), radial-gradient(60% 700px at 0% 100%, rgba(255,159,74,0.16) 0%, rgba(255,159,74,0) 60%), var(--bg); position: relative; isolation: isolate; overflow: hidden; overflow: clip; /* clip (not hidden) keeps the sticky header working */ display: flex; flex-direction: column; }
.hero-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-color: var(--bg-deep); background-image: linear-gradient(180deg, rgba(4,9,24,0) 72%, #040918 100%), url('../images/hero-bg.jpg'); background-size: 100% 48.89vw, 100% auto; background-position: center top, center top; background-repeat: no-repeat; }
.decor { position: absolute; top: 0; left: 0; width: 100%; height: 980px; z-index: -1; pointer-events: none; }
main { display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* ---------- primitives ---------- */
.glass { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--glass-shadow); border: 1px solid rgba(255,255,255,0.16); }
.grad { background: var(--grad); box-shadow: var(--grad-shadow); color: var(--ink); border: 0; }
.outfit { font-family: 'Outfit', sans-serif; }
.grad-text { background: var(--grad); background: linear-gradient(90deg, #4FA8FF 0%, #8FD3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.h2 { margin: 0; font-family: 'Outfit', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.h3 { margin: 0; font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; }
.lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.icon { flex: none; display: block; }

/* buttons */
.btn { font: inherit; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
a.btn.grad, a.btn.grad:hover, button.btn.grad { color: var(--ink); }
.btn-ghost { border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--glass-shadow); color: var(--text); font-weight: 600; }
a.btn-ghost:hover { color: var(--text); }
.btn-lg { height: 54px; padding: 0 26px; border-radius: 27px; font-size: 16px; font-weight: 700; }
.btn-lg.btn-ghost { padding: 0 24px; font-weight: 600; }
.btn-md { height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.btn-block { height: 56px; border-radius: 16px; font-size: 17px; font-weight: 700; width: 100%; }
.btn-round { width: 44px; height: 44px; border-radius: 22px; padding: 0; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* form fields */
.input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: 15px; min-width: 0; width: 100%; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input-icon { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.07); min-width: 0; }
.input-icon input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; outline: none; box-shadow: none; }
.input-icon:focus-within { border-color: var(--highlight); box-shadow: 0 0 0 3px rgba(255,159,74,0.40); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--soft); }
.field-error { font-size: 13px; color: var(--danger); }
.input.is-invalid, .is-invalid .input { border-color: var(--danger-line); }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--soft); }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }

/* radio "option cards" used for ticket types and payment methods */
.opts { display: flex; flex-direction: column; gap: 8px; }
.opts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.opt { position: relative; min-height: 64px; padding: 12px 16px; border-radius: 16px; display: flex; align-items: center; gap: 14px; color: var(--text); cursor: pointer; width: 100%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); transition: background .2s, border-color .2s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .dot { flex: none; width: 22px; height: 22px; border-radius: 11px; border: 2px solid rgba(255,255,255,0.4); transition: border .2s, background .2s; }
.opt:has(input:checked) { border: 2px solid var(--accent); padding: 11px 15px; background: rgba(143,211,255,0.12); }
.opt:has(input:checked) .dot { border: 6px solid var(--accent); background: var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid rgba(255,159,74,0.7); outline-offset: 2px; }
.opt-body { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.opt-title { font-size: 15px; font-weight: 700; }
.opt-desc { font-size: 13px; color: var(--muted); }

/* ---------- header ---------- */
/* Sticky on every website page. --header-h is measured by js/sticky-header.js. */
.site-header { margin-top: 20px; position: sticky; top: 12px; z-index: 40; transition: transform .28s ease; }
.site-header .bar { transition: background-color .25s, box-shadow .25s, border-color .25s, backdrop-filter .25s; }
/* Scrolled: frosted glass — what passes underneath is strongly blurred, the edge is a faint soft line. */
.site-header.is-stuck .bar {
  background: linear-gradient(180deg, rgba(10, 18, 44, 0.80), rgba(6, 12, 32, 0.74));
  backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(143, 211, 255, 0.05), 0 12px 34px rgba(2, 6, 20, 0.55), 0 0 26px 6px rgba(4, 9, 24, 0.45);
}
/* A soft blurred band from the top of the screen to just below the bar: cards scrolling up blur and fade out
   before they reach the bar, so its edges don't show sharp pictures around them. */
.site-header::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s;
  left: 50%; width: 100vw; transform: translateX(-50%); top: -12px; bottom: -26px;
  background: linear-gradient(180deg, rgba(4, 9, 24, 0.88) 0%, rgba(4, 9, 24, 0.55) 62%, rgba(4, 9, 24, 0) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }
.secure-step { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--text); background: rgba(255,255,255,0.06); }
html { scroll-padding-top: calc(var(--header-h, 84px) + 24px); }
.site-header .bar { border-radius: 20px; padding: 10px 12px 10px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { height: 28px; width: auto; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45)); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; font-size: 15px; text-decoration: none; color: var(--nav); font-weight: 500; transition: background .2s, color .2s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 700; background: rgba(255,255,255,0.10); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-actions .btn-pill { height: 44px; padding: 0 18px; border-radius: 22px; font-size: 14px; font-weight: 700; }
.header-actions form { margin: 0; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; padding-top: 56px; padding-bottom: 28px; }
.site-footer .box { border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer .about { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.site-footer .about img { width: 200px; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45)); align-self: flex-start; border-radius: 12px; }
.site-footer .col { flex: 0 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer .col.wide { flex-basis: 200px; }
.site-footer .col a, .site-footer .col span.v { color: var(--muted); text-decoration: none; }
.site-footer .col a:hover { color: #FFFFFF; }
.site-footer .copy { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 18px; font-size: 14px; font-weight: 600; display: flex; gap: 12px; align-items: center; background: rgba(6,18,48,0.86); animation: toastIn .5s cubic-bezier(.2,.8,.2,1) both; }
.toast button { background: transparent; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- event card ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.event-grid.fill { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.event-card { border-radius: 22px; padding: 10px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.event-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 22px 44px rgba(2,6,20,0.6), 0 0 40px rgba(47,107,255,0.25); }
.event-card .poster { position: relative; height: 280px; border-radius: 16px; overflow: hidden; }
.event-card .poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.event-card:hover .poster img { transform: scale(1.05); }
.date-chip { position: absolute; top: 10px; left: 10px; width: 54px; padding: 6px 0; border-radius: 12px; background: rgba(242,247,255,0.94); color: var(--ink); display: flex; flex-direction: column; align-items: center; line-height: 1.1; box-shadow: 0 8px 18px rgba(0,0,0,0.35); }
.date-chip span { font-size: 11px; font-weight: 800; }
.date-chip strong { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; }
.past-badge { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(5,11,30,0.85); color: var(--text); font-size: 12px; font-weight: 700; }
.event-card .info { padding: 0 6px 6px; display: flex; flex-direction: column; gap: 6px; }
.event-card .cat { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.6px; }
.event-card .name { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.2; }
.event-card .by, .event-card .venue { font-size: 13px; color: var(--muted); }
.event-card .venue { display: flex; align-items: center; gap: 6px; }
.event-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.event-card .foot strong { font-size: 16px; }
.event-card .go { width: 42px; height: 42px; border-radius: 21px; display: flex; align-items: center; justify-content: center; }

/* ---------- home ---------- */
.hero { padding-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-logo { width: 280px; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45)); margin-bottom: 8px; }
.hero h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(44px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -1.5px; }
.hero p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 460px; color: var(--muted); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.carousel { flex: 1 1 440px; min-width: 0; position: relative; height: 540px; perspective: 1300px; perspective-origin: 50% 45%; }
.carousel .glow { position: absolute; left: 50%; bottom: 46px; width: 360px; height: 46px; margin-left: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,107,255,0.6), rgba(47,107,255,0)); filter: blur(8px); }
.carousel .stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.slide { position: absolute; left: 50%; top: 14px; width: 290px; height: 462px; border-radius: 26px; overflow: hidden; display: block; text-decoration: none; backface-visibility: hidden; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s, filter 0.9s, box-shadow .9s; border: 1px solid rgba(255,255,255,0.3); transform: translateX(-50%) translateZ(-320px) rotateY(180deg) scale(0.7); opacity: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .slide-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, rgba(5,11,30,0) 0%, rgba(5,11,30,0.9) 70%); transition: opacity 0.5s 0.35s; opacity: 0; }
.slide .when { align-self: flex-start; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.slide .slide-name { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; line-height: 1.15; color: var(--text); }
.slide.is-active { transform: translateX(-50%) translateZ(0) rotateY(0deg); /* flat and 1:1, so the front poster is drawn sharp (no 3D stretch or tilt) */ z-index: 3; opacity: 1; filter: none; border-color: rgba(255,255,255,0.45); box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 80px rgba(47,107,255,0.55); }
.slide.is-active .slide-info { opacity: 1; }
.slide.is-next { transform: translateX(-50%) translateX(64%) translateZ(-110px) rotateY(-32deg) rotateZ(5deg) scale(0.8); z-index: 2; opacity: .85; filter: brightness(0.7) blur(1.2px); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.slide.is-prev { transform: translateX(-50%) translateX(-64%) translateZ(-110px) rotateY(32deg) rotateZ(-5deg) scale(0.8); z-index: 2; opacity: .85; filter: brightness(0.7) blur(1.2px); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2px; }
.dots button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dots span { height: 8px; width: 8px; border-radius: 4px; background: rgba(255,255,255,0.35); transition: width .4s, background .4s; }
.dots button[aria-current="true"] span { width: 28px; background: linear-gradient(90deg, #4FA8FF, #8FD3FF); }

.search-bar { border-radius: 24px; padding: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-bar .q { flex: 3 1 260px; }
.search-bar select { flex: 1 1 160px; width: auto; }
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; font-size: 14px; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks .ic { color: var(--accent); display: flex; }
.section { margin-top: 72px; display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.link-arrow { font-size: 15px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li, .tile { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.badge-num { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; }
.tile-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; }
.tile-text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.newsletter { border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, rgba(47,107,255,0.45) 0%, rgba(79,168,255,0.25) 50%, rgba(255,159,74,0.18) 100%); }
.newsletter form { flex: 1 1 380px; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter .input { flex: 1 1 220px; width: auto; }

/* ---------- events list ---------- */
.page-head { padding-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.list-layout { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.sidebar { flex: 1 1 240px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.panel { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.cat-link { min-height: 44px; padding: 0 14px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; text-decoration: none; color: var(--text); border: 1px solid transparent; transition: background .2s; }
.cat-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.cat-link[aria-current="true"] { background: var(--grad); box-shadow: var(--grad-shadow); color: var(--ink); font-weight: 700; border: 0; }
.switch-row { border-radius: 22px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.switch-row:hover { color: var(--text); }
.switch { flex: none; width: 52px; height: 30px; padding: 3px; border-radius: 15px; display: flex; align-items: center; border: 1px solid var(--line); justify-content: flex-start; background: rgba(255,255,255,0.08); }
.switch span { width: 24px; height: 24px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.switch[aria-checked="true"] { border: 0; justify-content: flex-end; background: var(--grad); box-shadow: var(--grad-shadow); }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.empty { border-radius: 22px; padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }

/* ---------- event details ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.detail { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail-poster { flex: 1 1 420px; min-width: 0; perspective: 1400px; }
.detail-poster img { width: 100%; max-width: 520px; display: block; margin: 0 auto; border-radius: 28px; border: 1px solid rgba(255,255,255,0.35); transform: rotateY(8deg) rotateX(3deg); box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 90px rgba(47,107,255,0.45); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.detail-poster img:hover { transform: rotateY(0) rotateX(0); }
.detail-body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 10px; font-size: 12px; font-weight: 800; }
.detail h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(36px, 4.4vw, 54px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; }
.fact { flex: 1 1 220px; border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.fact .ic { color: var(--accent); display: flex; }
.fact strong { font-size: 15px; font-weight: 700; display: block; }
.fact small { font-size: 13px; color: var(--muted); }
.lineup { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lineup li { padding: 8px 14px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.ticket-box { border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.qty-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 6px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 44px; height: 44px; border-radius: 12px; font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.qty-btn.btn-ghost { color: var(--text); }
.qty output { min-width: 32px; text-align: center; font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; }
.total-box { display: flex; flex-direction: column; align-items: flex-end; }
.total-box strong { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; }
.ended { min-height: 56px; border-radius: 16px; border: 1px dashed rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; padding: 8px 16px; }

/* ---------- checkout ---------- */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; max-width: 560px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.stepper .n { width: 32px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.stepper .n.todo { border: 1px solid rgba(255,255,255,0.3); font-weight: 400; }
.stepper .line { flex: 1; height: 2px; background: rgba(255,255,255,0.2); }
.stepper .line.done { background: linear-gradient(90deg, #4FA8FF, #8FD3FF); }
.co-layout { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.co-main { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.card { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.summary { flex: 2 1 340px; min-width: 0; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h, 84px) + 24px); }
.summary .ev { display: flex; gap: 14px; align-items: center; }
.summary .ev img { width: 72px; height: 96px; border-radius: 12px; object-fit: cover; }
.hr { height: 1px; background: rgba(255,255,255,0.16); }
.lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.lines .l { display: flex; justify-content: space-between; gap: 12px; }
.lines .l span:first-child { color: var(--soft); }
.lines .t { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px dashed var(--line); }
.lines .t strong { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; }
.secure { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 12px; color: var(--muted); }
.card-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding-top: 6px; }
.card-fields .full { grid-column: 1 / -1; }
.demo-note { font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- confirmation / 3D ticket ---------- */
.confirm-head { padding-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.orb { width: 112px; height: 112px; border-radius: 56px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 32% 26%, #FFFFFF 0%, #CDEBFF 14%, #8FD3FF 34%, #4FA8FF 64%, #1B3FA6 100%); box-shadow: inset -10px -14px 26px rgba(14,35,80,0.45), 0 24px 60px rgba(47,107,255,0.6); color: #FFFFFF; }
.orb.sm { width: 84px; height: 84px; border-radius: 42px; }
.orb.cancel { background: radial-gradient(circle at 32% 26%, #FFFFFF 0%, #D6E1F5 14%, #7F8FB0 44%, #1A2A4A 100%); box-shadow: inset -10px -14px 26px rgba(2,6,20,0.45), 0 24px 60px rgba(0,0,0,0.5); }
.confirm-head h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -1px; }
.spin-stage { width: 100%; max-width: 760px; height: 420px; display: flex; align-items: center; justify-content: center; perspective: 1600px; position: relative; cursor: grab; touch-action: pan-y; user-select: none; }
.spin-stage.dragging { cursor: grabbing; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.floaty { animation: floaty 4s ease-in-out infinite; }
.ticket-3d-wrap { width: 680px; max-width: 100%; height: 300px; transform-style: preserve-3d; }
.ticket-3d { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.18s ease-out; transform: rotateX(-10deg) rotateY(0deg); }
.ticket-3d.snap { transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.ticket-3d .slice { position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(90deg, #1B3FA6 0%, #8FD3FF 30%, #E6F5FF 50%, #8FD3FF 70%, #1B3FA6 100%); }
.t-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 26px; overflow: hidden; display: flex; }
.t-front { transform: translateZ(4px); background: linear-gradient(135deg, #0E2350 0%, #061230 45%, #10306E 100%); border: 1px solid rgba(255,255,255,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35); }
.t-front > img { width: 34%; height: 100%; object-fit: cover; flex: none; }
.t-main { flex: 1; min-width: 0; padding: 24px 22px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.t-chip { align-self: flex-start; padding: 4px 10px; border-radius: 8px; background: var(--grad); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.t-name { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; line-height: 1.1; }
.t-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.t-grid div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t-grid small { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }
.t-grid strong { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-stub { width: 120px; flex: none; position: relative; border-left: 2px dashed rgba(255,255,255,0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(180deg, rgba(143,211,255,0.18), rgba(47,107,255,0.25)); }
.t-stub .notch { position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 14px; background: var(--bg); }
.t-stub .notch.top { top: -14px; }
.t-stub .notch.bottom { bottom: -14px; }
.t-stub small { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.t-stub strong { font-family: 'Outfit', sans-serif; font-size: 56px; font-weight: 800; line-height: 1; background: linear-gradient(180deg, #8FD3FF, #4FA8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-shine { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.22) 45%, rgba(255,255,255,0) 60%); pointer-events: none; }
.t-back { transform: rotateY(180deg) translateZ(4px); align-items: center; gap: 26px; padding: 26px 30px; background: linear-gradient(135deg, #2F6BFF 0%, #4FA8FF 50%, #8FD3FF 100%); color: var(--ink); border: 1px solid rgba(255,255,255,0.4); text-align: left; }
.t-back .qr { padding: 10px; border-radius: 18px; background: #FFFFFF; display: flex; flex: none; box-shadow: 0 10px 24px rgba(14,35,80,0.35); }
.t-back .qr svg { width: 176px; height: 176px; display: block; }
.t-back .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.barcode { height: 38px; margin-top: 4px; border-radius: 6px; background: repeating-linear-gradient(90deg, #061230 0 3px, transparent 3px 5px, #061230 5px 6px, transparent 6px 10px, #061230 10px 14px, transparent 14px 16px); opacity: 0.85; }
.t-void { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.t-void span { transform: rotate(-14deg); border: 4px solid #FFB0B6; color: #FFB0B6; padding: 6px 22px; border-radius: 14px; font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: 4px; background: rgba(5,11,30,0.6); }
.spin-shadow { position: absolute; bottom: 20px; left: 50%; margin-left: -260px; width: 520px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,107,255,0.75), rgba(47,107,255,0)); filter: blur(6px); transition: transform 0.18s ease-out; }
.hint-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

/* ---------- my bookings ---------- */
.booking-row { border-radius: 22px; padding: 14px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.booking-row img { width: 76px; height: 96px; object-fit: cover; border-radius: 14px; flex: none; }
.booking-row .meta { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.booking-row .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .5px; }
.pill.paid { background: rgba(255,159,74,0.18); color: #FFE2C2; }
.pill.cancelled { background: rgba(255,107,122,0.18); color: #FFB0B6; }
.pill.past { background: rgba(255,255,255,0.1); color: var(--muted); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 20px; font-size: 14px; font-weight: 700; }

/* ---------- about ---------- */
/* About us → "Explore AsT": opens the landing page (3D Earth). A small planet with an orbiting spark hints at it. */
.explore-ast { align-self: flex-start; position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 8px 9px 8px 9px; border-radius: 999px; text-decoration: none; color: var(--text);
  border: 1px solid transparent;
  background: linear-gradient(160deg, rgba(16,30,70,0.94), rgba(7,14,36,0.92)) padding-box, linear-gradient(110deg, #8FD3FF 0%, #2F6BFF 48%, #FF9F4A 100%) border-box;
  box-shadow: 0 12px 30px rgba(2,6,20,0.45); transition: transform .25s ease, box-shadow .25s ease; isolation: isolate; }
.explore-ast:hover, .explore-ast:focus-visible { transform: translateY(-2px); outline: none;
  box-shadow: 0 16px 36px rgba(2,6,20,0.5), 0 0 26px rgba(79,168,255,0.38), 0 0 46px rgba(255,159,74,0.18); }
.explore-ast:focus-visible { box-shadow: 0 0 0 3px rgba(143,211,255,0.55), 0 16px 36px rgba(2,6,20,0.5); }
/* A little window into space with the spinning spiral galaxy from the landing page (drawn by js/explore-galaxy.js). */
.ea-orb { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0B1230 0%, #060A1C 62%, #03050F 100%);
  box-shadow: inset 0 0 0 1px rgba(143,211,255,0.22), inset 0 0 12px rgba(2,4,14,0.9), 0 0 16px rgba(79,168,255,0.28); transition: box-shadow .25s ease; }
.ea-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.explore-ast:hover .ea-orb, .explore-ast:focus-visible .ea-orb { box-shadow: inset 0 0 0 1px rgba(143,211,255,0.35), inset 0 0 12px rgba(2,4,14,0.9), 0 0 22px rgba(255,190,120,0.35); }
.ea-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; padding-right: 4px; }
.ea-text strong { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: 0.2px; }
.ea-text small { font-size: 12.5px; color: var(--muted); letter-spacing: 0.3px; }
/* "Explore" in the same blue as the planet and the arrow beside it; "AsT" is the site's own silver logo (as in the top nav). */
.ea-text strong { display: inline-flex; align-items: center; gap: 7px; }
.ea-explore { background: linear-gradient(90deg, #4FA8FF 0%, #8FD3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ea-logo { height: 22px; width: auto; display: block; filter: drop-shadow(0 0 4px rgba(232,240,255,0.45)) drop-shadow(0 4px 8px rgba(0,0,0,0.45)); }
.ea-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--ink); box-shadow: var(--grad-shadow); transition: transform .25s ease; }
.explore-ast:hover .ea-go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .explore-ast, .ea-go { transition: none; } }

.about-hero { padding-top: 52px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.about-hero h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.collage { flex: 1 1 380px; min-width: 0; position: relative; height: 460px; perspective: 1200px; }
.collage img { position: absolute; object-fit: cover; }
.collage .a { left: 6%; top: 40px; width: 48%; height: 380px; border-radius: 26px; border: 1px solid rgba(255,255,255,0.3); transform: rotateY(24deg) rotateZ(-6deg); box-shadow: 0 30px 60px rgba(0,0,0,0.55); }
.collage .b { right: 6%; top: 0; width: 50%; height: 420px; object-position: center 40%; border-radius: 28px; border: 1px solid rgba(255,255,255,0.45); transform: rotateY(-14deg) rotateZ(4deg) translateZ(40px); box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 80px rgba(47,107,255,0.5); }
.icon-badge { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.values li { border-radius: 20px; padding: 22px; display: flex; gap: 14px; }
.values .ic { color: var(--accent); display: flex; }
.team-card { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.avatar { width: 88px; height: 88px; border-radius: 44px; background: radial-gradient(circle at 32% 26%, #FFFFFF 0%, #CDEBFF 14%, #8FD3FF 34%, #4FA8FF 64%, #1B3FA6 100%); box-shadow: inset -8px -10px 20px rgba(14,35,80,0.45), 0 16px 36px rgba(47,107,255,0.45); display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: var(--ink); }

/* ---------- FAQ ---------- */
.center-head { padding-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.center-head h1, .contact-head h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.faq-search { width: 100%; max-width: 620px; margin-top: 8px; height: 56px; border-radius: 28px; }
.faq-search input { font-size: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 16px; border-radius: 22px; font: inherit; font-size: 14px; cursor: pointer; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(18px); box-shadow: var(--glass-shadow); color: var(--text); }
.tab[aria-selected="true"] { border: 0; background: var(--grad); box-shadow: var(--grad-shadow); color: var(--ink); font-weight: 700; }
.qa { border-radius: 20px; overflow: hidden; }
.qa h2 { margin: 0; }
.qa button { width: 100%; min-height: 64px; padding: 16px 20px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; cursor: pointer; }
.qa .plus { flex: none; width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; line-height: 1; transition: transform 0.2s; border: 1px solid rgba(255,255,255,0.3); color: var(--accent); }
.qa button[aria-expanded="true"] .plus { transform: rotate(45deg); border: 0; background: var(--grad); box-shadow: var(--grad-shadow); color: var(--ink); }
.qa p { margin: 0; padding: 0 20px 20px; font-size: 15px; line-height: 1.7; color: var(--soft); }
.help-card { flex: 1 1 280px; min-width: 0; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(150deg, rgba(47,107,255,0.40) 0%, rgba(79,168,255,0.22) 55%, rgba(143,211,255,0.16) 100%); }

/* ---------- contact ---------- */
.contact-head { padding-top: 52px; display: flex; flex-direction: column; gap: 14px; }
.way { border-radius: 20px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.way .tag-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.map-ph { border-radius: 20px; height: 200px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 12px, rgba(255,255,255,0.02) 12px 24px); border: 1px solid rgba(255,255,255,0.16); }
.promo { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(150deg, rgba(47,107,255,0.38) 0%, rgba(143,211,255,0.14) 100%); }

/* ---------- auth ---------- */
.auth { margin-top: 48px; display: flex; justify-content: center; }
.auth .card { width: 100%; max-width: 460px; padding: 32px; }

/* ---------- motion ---------- */
@keyframes astHeroIn { from { opacity: 0; transform: translateY(40px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: no-preference) {
  main > *:first-child > * { animation: astHeroIn .9s cubic-bezier(.2,.8,.2,1) both; }
  main > *:first-child > *:nth-child(2) { animation-delay: .18s; }
  main > *:first-child > *:nth-child(3) { animation-delay: .32s; }
  main > *:first-child > *:nth-child(4) { animation-delay: .44s; }
}
@media (prefers-reduced-motion: reduce) {
  .floaty { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .site-header .bar { justify-content: center; }
  .nav { justify-content: center; }
  .carousel { height: 532px; /* room for the 462px card + the dots */ }
  .newsletter, .site-footer .box { padding: 24px; }
  .h2 { font-size: 28px; }
  .ticket-3d-wrap { height: 420px; }
  .t-front { flex-direction: column; }
  .t-front > img { width: 100%; height: 34%; }
  .t-stub { width: 100%; height: 72px; flex-direction: row; border-left: 0; border-top: 2px dashed rgba(255,255,255,0.3); }
  .t-stub strong { font-size: 36px; }
  .t-stub .notch { display: none; }
  .t-back { flex-direction: column; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
  .t-back .qr svg { width: 150px; height: 150px; }
  .spin-stage { height: 520px; }
  .spin-shadow { width: 300px; margin-left: -150px; }
  .collage { height: 360px; }
  .collage .a { height: 290px; }
  .collage .b { height: 330px; }
}

/* ---------- my bookings: tickets with QR inline ---------- */
.mini-tickets { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,0.16); }
.mini-ticket { flex: 1 1 230px; max-width: 320px; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; text-decoration: none; color: var(--text); background: linear-gradient(135deg, #0E2350 0%, #061230 60%, #10306E 100%); border: 1px solid rgba(255,255,255,0.18); transition: transform .2s, border-color .2s; }
.mini-ticket:hover { color: var(--text); transform: translateY(-2px); border-color: var(--accent); }
.mini-qr { flex: none; padding: 6px; border-radius: 10px; background: #FFFFFF; display: flex; }
.mini-qr svg { width: 96px; height: 96px; display: block; }
.mini-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-meta strong { font-family: 'Outfit', sans-serif; font-size: 17px; letter-spacing: .5px; }
.mini-meta small { font-size: 12px; color: var(--muted); }
.mini-meta .pill { align-self: flex-start; }
@media (max-width: 720px) { .mini-ticket { max-width: none; } .mini-qr svg { width: 132px; height: 132px; } }

/* 6-digit code fields and text-style buttons (sign-up / forgot password) */
.otp-input { font-family: Consolas, ui-monospace, monospace; font-size: 26px; letter-spacing: 10px; text-align: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.link-btn:disabled { color: var(--muted); cursor: default; }

/* Explore → Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-card { border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); color: var(--text); }
.cat-cover { height: 170px; background: linear-gradient(135deg, #0E2350, #10306E); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.cat-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.cat-body .name { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; }
.cat-body .go-row { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; }

.cat-card .go { width: 42px; height: 42px; border-radius: 21px; display: flex; align-items: center; justify-content: center; }

/* Signed-in user menu in the header (like the admin top bar) */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-chip { display: flex; align-items: center; gap: 8px; height: 44px; padding: 4px 14px 4px 4px; border-radius: 22px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: var(--text); font-size: 14px; font-weight: 700; }
.user-chip:hover, .user-menu[open] > .user-chip { background: rgba(255,255,255,.1); }
.user-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #FF7A7A, #FFC861); color: #061230; font-size: 12px; font-weight: 800; }
.user-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chev { opacity: .7; transition: transform .2s; }
.user-menu[open] .user-chev { transform: rotate(180deg); }
.user-dd { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 240px; padding: 6px; border-radius: 16px; display: flex; flex-direction: column; background: #0B1A3D; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -12px rgba(0,0,0,.8); }
.user-dd-head { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 4px; font-size: 14px; }
.user-dd-head span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.user-dd a, .user-dd-out { display: block; width: 100%; padding: 9px 10px; border-radius: 10px; color: var(--muted, #A9B4D0); font-size: 14px; text-align: left; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; }
.user-dd a:hover, .user-dd a[aria-current="page"], .user-dd-out:hover { background: rgba(255,255,255,.07); color: var(--text); }
.user-dd form { margin: 0; border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; padding-top: 4px; }
.user-dd-out { color: #FF8A8A; }
@media (max-width: 720px) { .user-name { max-width: 110px; } }