/* NoBroker Nexus 2026, guest page: a dark keynote stage.
   Unbounded for display, Manrope for text, Noto Sans Telugu for Telugu.
   NoBroker red is the light source: particles, glows and the primary action. */

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/unbounded-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/unbounded-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/unbounded-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/manrope-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/manrope-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/manrope-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/manrope-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Telugu'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/noto-sans-telugu-400-telugu.woff2') format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C00-0C7F, U+1CD5-1CD6, U+1CD8, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Telugu'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/noto-sans-telugu-600-telugu.woff2') format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C00-0C7F, U+1CD5-1CD6, U+1CD8, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }

:root {
  --bg: #060608;
  --text: #f5f6f8;
  --muted: #a4a9b6;
  --faint: #7d8392;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --red: #fd3753;
  --red-hi: #ff5a72;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: 'Unbounded', 'Noto Sans Telugu', system-ui, sans-serif;
  --sans: 'Manrope', 'Noto Sans Telugu', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(255, 255, 255, 0.18) var(--bg);
}
html.sheet-open,
html.sheet-open body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.lang-te { line-height: 1.75; }
/* Fine film grain over the whole stage */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
b, strong { font-weight: 600; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: rgba(253, 55, 83, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: -999px; top: 12px; z-index: 50;
  padding: 10px 16px; border-radius: var(--r-pill); background: #fff; color: #0b0c10; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 12px; }

/* ---------- Floating glass header ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 12px var(--gutter) 0; pointer-events: none; }
.topbar-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1200px; margin: 0 auto; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: rgba(14, 15, 20, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 40px -24px rgba(0, 0, 0, 0.8);
}
/* The official logo only sits on white */
.logo-chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: var(--r-pill); background: #fff; }
.logo-chip img { height: 22px; width: auto; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05); }
.lang button {
  min-width: 52px; min-height: 38px; padding: 0 14px;
  border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted);
  font: 600 14px/1 var(--sans); cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lang button[aria-pressed='true'] { background: #fff; color: #0b0c10; }
@media (hover: hover) and (pointer: fine) {
  .lang button[aria-pressed='false']:hover { color: var(--text); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  color: var(--text); font: 600 15px/1.2 var(--sans); letter-spacing: 0.005em; text-align: center; text-decoration: none;
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 0.2s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #e4223f 0%, #c9152f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 14px 36px -14px rgba(253, 55, 83, 0.85);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.06); border-color: var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-lg { min-height: 58px; padding: 12px 28px; font-size: 16px; }
.btn-lg:has(.btn-icon) { padding: 10px 10px 10px 28px; gap: 16px; }
.btn-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); transition: transform 0.35s var(--ease-out);
}
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 20px 48px -12px rgba(253, 55, 83, 1);
  }
  .btn-primary:hover .btn-icon { transform: translateX(3px); }
  .btn-glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.26); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.link-btn {
  padding: 10px 0; border: 0; background: none; color: var(--muted);
  font: 600 15px var(--sans); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: var(--line-2);
  cursor: pointer; transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .link-btn:hover { color: var(--text); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: 104px var(--gutter) 56px;
  text-align: center;
}
.hero-glow {
  position: absolute; inset: -10% -20% 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 32% at 50% 36%, rgba(253, 55, 83, 0.26), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, rgba(253, 55, 83, 0.1), transparent 70%);
  animation: glow-drift 16s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate3d(0, -3%, 0) scale(1.08); } }
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { display: grid; justify-items: center; width: 100%; max-width: 1100px; }
.hero-title { display: grid; justify-items: center; gap: clamp(10px, 1.4vw, 18px); }
.hero-word {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(60px, 18.5vw, 220px); line-height: 0.92; letter-spacing: 0;
  user-select: none; -webkit-user-select: none;
  animation: word-fallback 0.8s ease 1.4s backwards;
}
@keyframes word-fallback { from { color: transparent; } }
html.particles .hero-word { color: transparent; animation: none; }
.hero-year {
  margin-right: -0.9em;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(15px, 2vw, 24px); letter-spacing: 0.9em; color: var(--red);
}
.hero-tagline {
  margin-top: clamp(24px, 3.2vw, 40px);
  font-family: var(--display); font-weight: 400;
  font-size: clamp(18px, 2.3vw, 28px); line-height: 1.25; letter-spacing: -0.01em;
}
.lang-te .hero-tagline { line-height: 1.5; }
.hero-lead { max-width: 46ch; margin-top: 12px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); text-wrap: balance; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-meta li { display: inline-flex; align-items: center; gap: 9px; padding: 2px 20px; font-size: 15px; font-weight: 600; }
.hero-meta li + li { border-left: 1px solid var(--line-2); }
.hero-meta svg, .facts dt svg, .expect svg {
  flex: none; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero-meta svg { width: 18px; height: 18px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }

.countdown { display: flex; align-items: flex-start; justify-content: center; gap: clamp(6px, 1.6vw, 16px); margin-top: clamp(36px, 5vw, 56px); }
.countdown div { display: grid; justify-items: center; gap: 8px; min-width: clamp(56px, 8.5vw, 96px); }
.countdown b {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.countdown i { font-style: normal; font-family: var(--display); font-size: clamp(22px, 3.4vw, 40px); line-height: 1.15; color: rgba(255, 255, 255, 0.22); }
.countdown span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.lang-te .countdown span { font-size: 13px; letter-spacing: 0; text-transform: none; }
.live-now { margin-top: 32px; font-family: var(--display); font-size: 20px; color: var(--red-hi); }

/* The rest of the hero arrives as the particles settle */
.hero-year, .hero-tagline, .hero-lead, .hero-meta, .hero-actions, .countdown {
  animation: rise 1s var(--ease-premium) backwards;
}
.hero-year { animation-delay: 0.7s; }
.hero-tagline { animation-delay: 0.82s; }
.hero-lead { animation-delay: 0.9s; }
.hero-meta { animation-delay: 0.98s; }
.hero-actions { animation-delay: 1.06s; }
.countdown { animation-delay: 1.14s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-top: clamp(96px, 12vw, 168px); }
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.03em;
  text-transform: uppercase; text-wrap: balance;
}
.lang-te .section-title { line-height: 1.4; letter-spacing: 0; }

html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* Glass surfaces */
.glass {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 80px -48px rgba(0, 0, 0, 0.9);
}
/* A red rim of light follows the cursor around glass panels */
@media (hover: hover) and (pointer: fine) {
  [data-spotlight]::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(253, 55, 83, 0.7), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity 0.4s ease;
  }
  [data-spotlight]:hover::after { opacity: 1; }
}
.panel { padding: clamp(24px, 3.2vw, 40px); }

/* ---------- About ---------- */
.statement {
  max-width: 34ch; margin-top: clamp(28px, 4vw, 48px);
  font-weight: 600; font-size: clamp(24px, 3.3vw, 44px); line-height: 1.24; letter-spacing: -0.02em;
}
.lang-te .statement { line-height: 1.6; letter-spacing: 0; }
.statement .w { transition: opacity 0.2s linear; }
.about-grid { display: grid; gap: 40px; margin-top: clamp(48px, 6vw, 80px); }
.panel-title { margin-bottom: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.01em; }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.audience li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  min-height: 148px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  font-size: 16px; font-weight: 600; line-height: 1.3;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, background-color 0.3s ease;
}
.audience li > span:last-child { margin-top: auto; }
.icon-orb {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-md);
  border: 1px solid rgba(253, 55, 83, 0.4);
  background: radial-gradient(circle at 30% 25%, rgba(255, 130, 148, 0.55), rgba(253, 55, 83, 0.2) 60%, rgba(253, 55, 83, 0.08));
  box-shadow: 0 10px 26px -12px rgba(253, 55, 83, 0.8);
  color: #fff;
}
.icon-orb svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .audience li:hover { transform: translateY(-2px); border-color: rgba(253, 55, 83, 0.45); background-color: rgba(253, 55, 83, 0.05); }
}
.panel-text { color: var(--muted); }
.expect { display: grid; margin: 24px 0 0; padding: 0; list-style: none; }
.expect li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; }
.expect svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(253, 55, 83, 0.14); stroke-width: 2.4; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: end; }
}

/* ---------- Details ---------- */
.details-grid { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
.facts { display: grid; }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts dt {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.lang-te .facts dt { font-size: 14px; letter-spacing: 0; text-transform: none; }
.facts dt svg { width: 16px; height: 16px; }
.facts dd { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.3; letter-spacing: -0.01em; }
.facts dd b { display: block; font-weight: 700; }
.facts dd span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--muted); }
.details-card .btn-row { margin-top: 28px; }
.map-frame { display: flex; min-height: 320px; padding: 8px; }
.map { flex: 1; min-height: 300px; overflow: hidden; border-radius: calc(var(--r-xl) - 8px); background: #101116; }
.map iframe {
  display: block; width: 100%; height: 100%; border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.55) brightness(0.95) contrast(0.92);
}
@media (min-width: 900px) {
  .details-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; }
}

/* ---------- Reply ---------- */
.rsvp { scroll-margin-top: 88px; }
.rsvp:focus { outline: none; }
.rsvp-card { overflow: hidden; padding: clamp(36px, 6vw, 84px) clamp(22px, 5vw, 72px); text-align: center; }
.rsvp-glow {
  position: absolute; left: 10%; right: 10%; bottom: -70%; height: 120%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(253, 55, 83, 0.3), transparent 70%);
}
.rsvp-card .state { position: relative; display: grid; justify-items: center; }
.state > * + * { margin-top: 14px; }
.state > .choice { display: grid; gap: 12px; width: 100%; max-width: 640px; margin-top: 36px; }
.choice .btn { width: 100%; }
@media (min-width: 640px) { .state > .choice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note {
  display: inline-block; padding: 8px 14px;
  border: 1px solid rgba(253, 55, 83, 0.3); border-radius: var(--r-pill); background: rgba(253, 55, 83, 0.1);
  font-size: 14px; font-weight: 600;
}
.state > .btn-row { margin-top: 24px; }

/* Entry pass: a ticket with punched notches and a perforation */
.state > .ticket {
  position: relative; isolation: isolate;
  display: grid; justify-items: center; gap: 6px;
  width: 100%; max-width: 340px; margin-top: 30px; padding: 22px 22px 28px;
  filter: drop-shadow(0 30px 50px rgba(253, 55, 83, 0.25));
}
.ticket::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 24px;
  background: linear-gradient(165deg, #24252e 0%, #13141a 55%, #0d0e13 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-mask:
    radial-gradient(circle 12px at 0 62px, transparent 11.5px, #000 12px) left / 51% 100% no-repeat,
    radial-gradient(circle 12px at 100% 62px, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 12px at 0 62px, transparent 11.5px, #000 12px) left / 51% 100% no-repeat,
    radial-gradient(circle 12px at 100% 62px, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
}
.ticket-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; height: 40px; margin-bottom: 20px; padding-bottom: 4px; border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  font-family: var(--display); font-size: 12px; letter-spacing: 0.08em; color: var(--muted);
}
.ticket img { width: 184px; height: 184px; padding: 10px; border-radius: 16px; background: #fff; }
.pass-label { margin-top: 14px; color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.lang-te .pass-label { font-size: 13px; letter-spacing: 0; text-transform: none; }
.pass-code { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: 0.08em; }
.pass-code .ch { display: inline-block; white-space: pre; }
.pass-code.is-new .ch { animation: char-in 0.5s var(--ease-premium) backwards; animation-delay: calc(var(--i) * 55ms + 200ms); }
@keyframes char-in { from { opacity: 0; transform: translateY(-0.5em); filter: blur(4px); } }
.pass-meta { color: var(--muted); font-size: 15px; font-weight: 600; }

/* ---------- Bottom sheet (reply inputs) ---------- */
.sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden;
}
.sheet::backdrop { background: transparent; }
.sheet-scrim {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.5s var(--ease-sheet);
}
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 560px;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  display: flex; flex-direction: column;
  border: 1px solid var(--line-2); border-bottom: 0; border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #16171d 0%, #0d0e12 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 -30px 80px -30px rgba(0, 0, 0, 0.9);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-sheet);
}
.sheet-panel:focus { outline: none; }
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: translateY(0); }
.sheet.is-dragging .sheet-scrim,
.sheet.is-dragging .sheet-panel { transition: none; }
.sheet-grab {
  flex: none; padding: 10px 22px 18px; border-bottom: 1px solid var(--line);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
}
.sheet.is-dragging .sheet-grab { cursor: grabbing; }
.sheet-handle { display: block; width: 44px; height: 5px; margin: 0 auto 16px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet-title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.lang-te .sheet-title { line-height: 1.45; letter-spacing: 0; }
.sheet-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.sheet-close {
  position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--text);
  cursor: pointer; touch-action: manipulation; transition: background-color 0.2s ease, transform 0.2s var(--ease-out);
}
.sheet-close::before { content: ''; position: absolute; inset: -4px; }
.sheet-close:active { transform: scale(0.94); }
.sheet-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .sheet-close:hover { background: rgba(255, 255, 255, 0.12); } }

#form { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.sheet-fields {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: 18px; align-content: start; padding: 22px;
}
.sheet-foot { flex: none; padding: 14px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.sheet-foot .form-error { margin: 0 0 12px; }

.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.req { color: var(--red); }
.opt { color: var(--faint); font-weight: 400; }
input {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  font: 400 17px var(--sans); caret-color: var(--red);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
input::placeholder { color: #8d93a2; }
input:focus { outline: none; border-color: rgba(253, 55, 83, 0.75); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(253, 55, 83, 0.18); }
input[aria-invalid='true'] { border-color: #ff6b80; }
input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px #1b1c22 inset; caret-color: var(--red); }
.phone-wrap { display: flex; }
.phone-wrap .prefix {
  display: grid; place-items: center; padding: 0 16px;
  border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md);
  background: rgba(255, 255, 255, 0.07); color: var(--muted); font-weight: 600;
}
.phone-wrap input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.error { margin-top: 6px; color: #ff7a8c; font-size: 14px; font-weight: 600; }
.error:empty { display: none; }
.form-error { text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(96px, 12vw, 168px); border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--faint); font-size: 14px;
}
.footer .logo-chip { padding: 8px 14px; }
.footer .logo-chip img { height: 18px; }

/* ---------- Offline page ---------- */
.offline { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 20px; }
.offline-card { max-width: 460px; padding: 36px 30px; text-align: center; }
.offline-card .logo-chip { margin-bottom: 24px; }
.offline-card h1 { margin-bottom: 14px; font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; text-transform: uppercase; }
.offline-card p { color: var(--muted); }
.offline-card p + p { margin-top: 8px; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hero { padding-top: 96px; }
  .hero-meta { flex-direction: column; align-items: center; gap: 10px; }
  .hero-meta li { padding: 0; }
  .hero-meta li + li { border-left: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .logo-chip { padding: 8px 13px; }
  .logo-chip img { height: 20px; }
  .audience li { min-height: 132px; padding: 16px; }
}

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