:root {
  --bg: #050d1c;
  --accent: #7fe3ff;
  --accent2: #7cf5b8;
  --violet: #8c7bff;
  --text: #fff;
  --muted: rgba(255, 255, 255, .68);
  --surface: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .14);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--bg); overflow: hidden; color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.idle { cursor: none; }
#viewport { position: fixed; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }

/* ---------- stage (fixed design size, scaled + optionally rotated by JS) ---------- */
.stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform-origin: center center;
  overflow: hidden; background: var(--bg);
  --hh: 128px; --fh: 108px; --pad: 96px;
}
.stage.portrait { --hh: 150px; --fh: 176px; --pad: 64px; }

/* ---------- background ---------- */
.bg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #0d2745 0%, var(--bg) 70%); }
.blob { position: absolute; border-radius: 50%; opacity: .32; will-change: transform; }
.b1 { width: 1300px; height: 900px; left: -380px; top: -300px; background: radial-gradient(closest-side, var(--accent2), transparent); animation: drift1 30s ease-in-out infinite alternate; }
.b2 { width: 1200px; height: 1000px; right: -420px; bottom: -380px; background: radial-gradient(closest-side, var(--accent), transparent); animation: drift2 36s ease-in-out infinite alternate; }
.b3 { width: 900px; height: 700px; left: 35%; top: 20%; background: radial-gradient(closest-side, var(--violet), transparent); opacity: .18; animation: drift3 42s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(260px, 160px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-300px, -120px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-200px, 180px) scale(1.25); } }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; background: radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .45)); }

/* ---------- slides ---------- */
.slides { position: absolute; inset: 0; transition: opacity .4s; }
.stage.swap .slides { opacity: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, transform .9s ease, visibility 0s .9s;
}
.slide.active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 2; }
.t-slide .slide { transform: translateX(7%); }
.t-slide .slide.active { transform: none; }
.t-slide .slide.leaving { transform: translateX(-7%); }
.t-zoom .slide { transform: scale(1.07); }
.t-zoom .slide.active { transform: none; }
.t-zoom .slide.leaving { transform: scale(.94); }
.stage.instant .slide { transition: none !important; }

.sbg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide.active .sbg { animation: kenburns 26s ease-out both; }
.sbg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 13, 28, .72), rgba(5, 13, 28, .86)); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }

.inner { position: absolute; left: var(--pad); right: var(--pad); top: var(--hh); bottom: var(--fh); display: flex; flex-direction: column; min-height: 0; }

/* staggered entrance */
.slide.active [data-a] { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

.title { font-size: 84px; line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.stage.portrait .title { font-size: 92px; }
.lead { font-size: 32px; line-height: 1.45; color: var(--muted); margin-top: 22px; font-weight: 500; }
.foot { font-size: 26px; color: var(--muted); margin-top: 22px; line-height: 1.4; }

/* ---------- header ---------- */
.header { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); top: 0; height: var(--hh); display: flex; align-items: center; justify-content: space-between; }
.hlogo { height: 62px; width: auto; transition: opacity .6s; }
.stage.on-logo .hlogo { opacity: 0; }
.clock { text-align: right; line-height: 1.1; }
.clock b { display: block; font-size: 54px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.clock span { font-size: 22px; color: var(--muted); font-weight: 500; text-transform: capitalize; }
.no-clock .clock { display: none; }

/* ---------- footer ---------- */
.footer { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: 0; height: var(--fh); display: flex; align-items: center; gap: 36px; padding-bottom: 10px; }
.stage.portrait .footer { flex-wrap: wrap; align-content: center; row-gap: 22px; }
.ticker { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.stage.portrait .ticker { flex-basis: 100%; order: -1; }
.ticker.off { display: none; }
.ticker-track { display: inline-block; font-size: 28px; font-weight: 500; color: rgba(255, 255, 255, .9); will-change: transform; animation: marquee var(--dur, 30s) linear infinite; }
.ticker-track span { display: inline-block; padding-right: 140px; }
.ticker-track span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-right: 20px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

.dots { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.stage.portrait .dots { margin-left: 0; flex: 1; }
.dot { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.dot::before { content: ''; width: 14px; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: all .35s; }
.dot.on::before { width: 40px; background: var(--accent); }
.pbtn { margin-left: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: #fff; cursor: pointer; display: grid; place-items: center; }

.langs { display: flex; gap: 10px; }
.lang { border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 700 22px var(--font); letter-spacing: .06em; padding: 10px 20px; border-radius: 99px; cursor: pointer; }
.lang.on { background: var(--accent); border-color: var(--accent); color: #04121f; }

.progress { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, .06); }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.paused .progress i { animation-play-state: paused !important; }
@keyframes prog { from { width: 0; } to { width: 100%; } }

/* ---------- LOGO ---------- */
.s-logo .inner { top: 0; bottom: 0; align-items: center; justify-content: center; text-align: center; }
.logo-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.glow { position: absolute; width: 900px; height: 900px; top: 50%; left: 50%; transform: translate(-50%, -62%); background: radial-gradient(closest-side, rgba(127, 227, 255, .22), transparent); animation: pulse 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes pulse { to { transform: translate(-50%, -62%) scale(1.25); opacity: .6; } }
.biglogo { position: relative; height: 400px; width: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .4)); }
.stage.portrait .biglogo { height: 760px; }
.logo-title { position: relative; margin-top: 54px; font-size: 40px; letter-spacing: .38em; text-transform: uppercase; color: var(--accent); font-weight: 700; padding-left: .38em; }
.logo-sub { position: relative; margin-top: 22px; font-size: 52px; font-weight: 700; letter-spacing: -.01em; }
.stage.portrait .logo-sub { font-size: 56px; max-width: 880px; line-height: 1.2; }

/* ---------- MAP ---------- */
.m-grid { flex: 1; display: grid; min-height: 0; gap: 28px 64px; }
.stage.landscape .m-grid { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; grid-template-areas: 'head map' 'legend map'; }
.stage.portrait .m-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: 'head' 'map' 'legend'; }
.m-head { grid-area: head; }
.m-caption { white-space: pre-line; }
.m-map { grid-area: map; min-height: 0; min-width: 0; border-radius: 36px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.mapbox { position: relative; flex: none; }
.mapbox img { width: 100%; height: 100%; display: block; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #04121f; display: grid; place-items: center; font-style: normal; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.pin b { font-size: 24px; font-weight: 800; }
.pin::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; animation: ping 2.6s ease-out infinite; }
.pin.hl { width: 66px; height: 66px; background: var(--accent2); z-index: 2; }
.pin.hl b { font-size: 32px; }
.pin.hl::after { border-color: var(--accent2); }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.m-legend { grid-area: legend; list-style: none; display: flex; flex-direction: column; gap: 16px; align-self: end; }
.stage.portrait .m-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; align-self: auto; }
.m-legend li { display: flex; align-items: center; gap: 20px; font-size: 32px; font-weight: 600; }
.m-legend b { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #04121f; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.m-legend .hl b { background: var(--accent2); }
.m-legend .hl { font-weight: 800; }

/* ---------- SHUTTLE ---------- */
.sh-head { flex: none; margin-bottom: 30px; }
.sh-head .lead { margin-top: 14px; font-size: 28px; max-width: 1400px; }
.sh-tables { flex: 1; min-height: 0; display: grid; gap: 32px; align-content: start; }
.stage.landscape .sh-tables { grid-template-columns: 1fr 1fr; }
.stage.portrait .sh-tables { grid-template-columns: 1fr; }
.tbl { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 26px 30px 18px; }
.tbl-title { font-size: 38px; font-weight: 800; color: var(--accent); margin-bottom: 14px; letter-spacing: -.01em; }
.tr { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 0 4px; }
.th-row { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.th { font-size: 20px; line-height: 1.25; color: var(--muted); font-weight: 600; padding-right: 10px; }
.tbody .tr { padding-top: 6px; padding-bottom: 6px; border-radius: 14px; }
.td { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.stage.portrait .td { font-size: 46px; }
.td:nth-child(n+2) { color: rgba(255, 255, 255, .82); font-weight: 600; }
.tbody .tr.next { background: rgba(124, 245, 184, .16); box-shadow: inset 6px 0 0 var(--accent2); }
.tbody .tr.next .td:first-child { color: var(--accent2); }
.tbody .tr.next::before { content: attr(data-next); position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #04121f; background: var(--accent2); padding: 5px 12px; border-radius: 99px; }

/* ---------- HOURS ---------- */
.h-list { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 26px; }
.h-row { flex: 1 1 0; max-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); }
.h-row:last-child { border-bottom: 1px solid var(--line); }
.h-name { font-size: 48px; font-weight: 800; letter-spacing: -.01em; }
.h-note { font-size: 26px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.h-r { display: flex; align-items: center; gap: 26px; flex: none; }
.h-time { font-size: 60px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.pill { font-size: 20px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--muted); white-space: nowrap; }
.pill.open { background: rgba(124, 245, 184, .2); color: var(--accent2); }
.pill.open::before { content: '● '; }
.stage.portrait .h-row { flex-wrap: wrap; align-content: center; gap: 6px 30px; }
.stage.portrait .h-l { flex: 1 1 100%; }
.stage.portrait .h-row { max-height: 340px; }
.stage.portrait .h-name { font-size: 58px; }
.stage.portrait .h-note { font-size: 30px; }
.stage.portrait .h-time { font-size: 74px; }
.stage.portrait .pill { font-size: 24px; }

/* ---------- CARDS ---------- */
.c-grid { flex: 1; min-height: 0; margin-top: 34px; display: grid; gap: 28px; grid-template-columns: repeat(var(--cols, 3), 1fr); grid-auto-rows: 1fr; }
.card::before { content: ''; width: 56px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent2), var(--accent)); margin-bottom: 24px; flex: none; }
.card.has-img::before { display: none; }
.card { position: relative; display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 30px 32px; overflow: hidden; }
.c-img { margin: -30px -32px 22px; height: 42%; background-size: cover; background-position: center; flex: none; }
.c-body { flex: 1; min-height: 0; }
.card h3 { font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.card p { font-size: 25px; line-height: 1.35; color: var(--muted); margin-top: 10px; }
.c-price { font-size: 58px; font-weight: 800; color: var(--accent2); letter-spacing: -.02em; margin-top: 12px; }
.stage.portrait .card h3 { font-size: 40px; }

/* ---------- TEXT + QR ---------- */
.x-grid { flex: 1; min-height: 0; display: grid; gap: 70px; align-items: center; }
.stage.landscape .x-grid { grid-template-columns: 1fr auto; }
.stage.portrait .x-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; justify-items: start; gap: 56px; }
.x-body { font-size: 40px; line-height: 1.5; margin-top: 30px; white-space: pre-line; color: rgba(255, 255, 255, .9); font-weight: 500; }
.x-side { display: flex; flex-direction: column; gap: 32px; align-items: center; }
.stage.portrait .x-side { flex-direction: row; align-items: flex-start; }
.x-img { width: 560px; height: 360px; border-radius: 30px; background-size: cover; background-position: center; border: 1px solid var(--line); }
.x-qr { background: #fff; border-radius: 34px; padding: 30px 30px 24px; text-align: center; color: #06101f; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.qr { width: 340px; height: 340px; margin: 0 auto; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-label { margin-top: 18px; font-size: 30px; font-weight: 800; }

/* ---------- FULL IMAGE ---------- */
.s-image .inner { top: 0; bottom: 0; left: 0; right: 0; }
.i-full { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 26s ease-out both; }
.i-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 140px var(--pad) calc(var(--fh) + 30px); background: linear-gradient(0deg, rgba(5, 13, 28, .85), transparent); font-size: 56px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- empty ---------- */
.empty { margin: auto; text-align: center; font-size: 40px; color: var(--muted); }
