:root {
  --bg: #070b16;
  --bg-2: #0d1424;
  --panel: rgba(16, 22, 38, 0.92);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --muted: #9aa3b8;
  --orange: #ff9a4a;
  --pink: #ff5c72;
  --grad: linear-gradient(105deg, #ff9a4a 0%, #ff6b5a 45%, #ff5c72 100%);
  --mint: #4adeb1;
  --teal: #2dd4bf;
  --cream: #f3eee3;
  --ink: #12182a;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(120% 80% at 50% -10%, #1a1230 0%, transparent 55%),
    radial-gradient(90% 60% at 100% 20%, rgba(255, 92, 114, 0.08), transparent 40%),
    radial-gradient(80% 50% at 0% 80%, rgba(255, 154, 74, 0.07), transparent 35%),
    linear-gradient(180deg, #0a0f1c 0%, #070b16 100%);
  min-height: 100dvh;
}

body.light {
  --bg: #eef1f7;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.94);
  --stroke: rgba(18, 24, 42, 0.12);
  --text: #12182a;
  --muted: #5b657a;
  background:
    radial-gradient(100% 70% at 50% 0%, #ffe2d0 0%, transparent 50%),
    linear-gradient(180deg, #f7f3ee, #e8edf7);
}

.app {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 14px 16px 36px;
  min-height: 100dvh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 6px 0 10px;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn .hidden {
  display: none;
}

.screen {
  animation: rise 0.45s ease both;
}

.screen[hidden] {
  display: none !important;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Landing hero —— */
.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  min-height: 520px;
}

.hero-art {
  position: absolute;
  inset: 0;
  background: #1a0f18;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #2a1840 0%, #c45a3a 38%, #f0a060 58%, #ffd2a0 72%, #1a1020 100%);
}

.hero-sun {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe7a8 0%, #ff9a4a 45%, transparent 70%);
  filter: blur(2px);
  animation: pulseSun 4s ease-in-out infinite;
}

@keyframes pulseSun {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

.hero-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28%;
  height: 90px;
  background:
    linear-gradient(90deg, transparent 4%, #1a1228 4% 8%, transparent 8% 12%, #221533 12% 18%, transparent 18% 22%, #181028 22% 30%, transparent 30% 36%, #24163a 36% 42%, transparent 42% 48%, #1c1230 48% 55%, transparent 55% 62%, #20143a 62% 70%, transparent 70% 76%, #18102c 76% 84%, transparent 84% 90%, #221636 90% 96%, transparent 96%),
    linear-gradient(180deg, transparent 40%, rgba(10, 8, 20, 0.7));
  opacity: 0.85;
}

.hero-palm {
  position: absolute;
  bottom: 18%;
  width: 70px;
  height: 160px;
  background:
    radial-gradient(ellipse at 50% 18%, #0e0a16 0 18%, transparent 19%),
    linear-gradient(90deg, transparent 46%, #0e0a16 46% 54%, transparent 54%);
  opacity: 0.9;
}

.hero-palm::before,
.hero-palm::after {
  content: "";
  position: absolute;
  top: 8%;
  width: 48px;
  height: 28px;
  background: #0e0a16;
  border-radius: 50% 0 50% 0;
  transform-origin: left center;
}

.hero-palm::before { left: 50%; transform: rotate(-25deg); }
.hero-palm::after { left: 50%; transform: scaleX(-1) rotate(-25deg); }

.hero-palm-l { left: 6%; transform: scaleX(-1); }
.hero-palm-r { right: 4%; }

.hero-car {
  position: absolute;
  left: 18%;
  bottom: 16%;
  width: 150px;
  height: 42px;
  background: linear-gradient(180deg, #c42a3a, #7a1220);
  border-radius: 10px 40px 8px 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  animation: carIdle 3.2s ease-in-out infinite;
}

.hero-car::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -18px;
  width: 78px;
  height: 22px;
  background: #8a1a28;
  border-radius: 10px 18px 0 0;
  clip-path: polygon(12% 100%, 28% 0, 78% 0, 100% 100%);
}

.hero-car::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -6px;
  height: 10px;
  background:
    radial-gradient(circle at 18% 50%, #111 0 8px, transparent 9px),
    radial-gradient(circle at 82% 50%, #111 0 8px, transparent 9px);
}

@keyframes carIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 22, 0.15) 0%, rgba(7, 11, 22, 0.2) 35%, rgba(7, 11, 22, 0.88) 72%, #070b16 100%),
    linear-gradient(90deg, rgba(7, 11, 22, 0.45), transparent 30% 70%, rgba(7, 11, 22, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  justify-content: flex-end;
}

.marquee-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.marquee-dots::before {
  content: "";
  display: flex;
  width: 100%;
  height: 8px;
  background: radial-gradient(circle, var(--orange) 0 2.2px, transparent 2.4px) 0 0 / 14px 8px repeat-x;
  filter: drop-shadow(0 0 4px rgba(255, 154, 74, 0.7));
  animation: bulbs 1.4s linear infinite;
}

@keyframes bulbs {
  to { background-position: 14px 0; }
}

.pill-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e8ecf8;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(74, 222, 177, 0.6);
  animation: livePulse 1.6s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 177, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 177, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 177, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 12vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

.hero-sub {
  margin: 0 0 18px;
  color: rgba(244, 246, 251, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 34ch;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, filter 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--orange);
  color: #1a120c;
  box-shadow: 0 10px 28px rgba(255, 154, 74, 0.35);
}

.btn-ghost {
  background: rgba(8, 12, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-gradient {
  background: var(--grad);
  color: #140e0c;
  box-shadow: 0 12px 30px rgba(255, 92, 114, 0.3);
}

.btn-block {
  width: 100%;
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 16px;
  font-size: 1.02rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(244, 246, 251, 0.9);
}

.diamond {
  width: 8px;
  height: 8px;
  background: var(--mint);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(74, 222, 177, 0.5);
}

.hero-foot {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(244, 246, 251, 0.55);
}

/* Chat */
.chat-card {
  margin-top: 14px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(12, 17, 30, 0.85);
  padding: 16px;
  box-shadow: var(--shadow);
}

body.light .chat-card {
  background: rgba(255, 255, 255, 0.9);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.chat-head h2 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.chat-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--mint);
  font-weight: 600;
  white-space: nowrap;
}

.chat-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 220px;
  overflow: hidden;
}

.chat-msg {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  animation: rise 0.35s ease both;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #111;
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.chat-meta strong {
  font-size: 0.82rem;
}

.chat-meta time {
  color: var(--muted);
  font-size: 0.72rem;
}

.bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(244, 246, 251, 0.9);
}

body.light .bubble {
  background: #f3f5fa;
  color: var(--text);
}

/* Shared screen chrome */
.step-label {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.screen-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 2.8rem);
  letter-spacing: 0.03em;
  margin: 0 0 8px;
  line-height: 0.95;
}

.screen-sub {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.screen-sub.mono {
  font-variant-numeric: tabular-nums;
}

.panel {
  border: 1px solid var(--stroke);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(22, 28, 46, 0.95), rgba(12, 16, 28, 0.98));
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
}

body.light .panel {
  background: #fff;
}

/* Ticket shell / admission */
.ticket-shell {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #101624;
  box-shadow: var(--shadow);
}

.ticket-banner {
  background: var(--grad);
  color: #14100e;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.15rem;
}

.ticket-chip {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 16, 14, 0.18);
}

.ticket-body {
  padding: 16px;
}

.field-label {
  display: block;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.device-card {
  position: relative;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 12px 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.device-card strong {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
}

.device-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.device-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35), 0 0 24px rgba(45, 212, 191, 0.18);
}

.device-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: #06231c;
  background: transparent;
}

.device-card.is-selected .device-check {
  background: var(--teal);
  border-color: var(--teal);
  font-weight: 800;
}

.device-icon {
  color: rgba(255, 255, 255, 0.85);
}

.location-line {
  margin: 0;
  font-size: 0.9rem;
}

.linkish {
  background: none;
  border: none;
  color: var(--orange);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 0;
  margin-left: 4px;
}

.location-hint {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.select-wrap {
  position: relative;
  margin-bottom: 14px;
}

.select-wrap select {
  width: 100%;
  appearance: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 14px 40px 14px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.route-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  padding: 14px;
}

.route-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.route-top strong {
  display: block;
  font-size: 1.05rem;
}

.route-top span {
  color: #5b657a;
  font-size: 0.8rem;
}

.ping-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #6a7388;
  font-weight: 700;
}

.ping-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #0f8f6a;
}

.signal {
  display: inline-block;
  width: 14px;
  height: 12px;
  background:
    linear-gradient(#0f8f6a, #0f8f6a) 0 100% / 2.5px 40% no-repeat,
    linear-gradient(#0f8f6a, #0f8f6a) 4px 100% / 2.5px 60% no-repeat,
    linear-gradient(#0f8f6a, #0f8f6a) 8px 100% / 2.5px 80% no-repeat,
    linear-gradient(#0f8f6a, #0f8f6a) 12px 100% / 2.5px 100% no-repeat;
}

.signal.dark {
  background:
    linear-gradient(#0f8f6a, #0f8f6a) 0 100% / 2.5px 40% no-repeat,
    linear-gradient(#0f8f6a, #0f8f6a) 4px 100% / 2.5px 60% no-repeat,
    linear-gradient(#0f8f6a, #0f8f6a) 8px 100% / 2.5px 80% no-repeat,
    linear-gradient(#0f8f6a, #0f8f6a) 12px 100% / 2.5px 100% no-repeat;
}

.route-note {
  margin: 0;
  font-size: 0.78rem;
  color: #1a7a5c;
  font-weight: 600;
}

/* Checking / opening progress */
.scan-stage {
  display: grid;
  place-items: center;
  margin: 8px 0 18px;
  min-height: 140px;
}

.scan-ticket {
  position: relative;
  width: min(260px, 100%);
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1d2438, #121826);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.scan-row {
  display: flex;
  gap: 8px;
  padding: 14px;
}

.scan-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #c9d0e0;
}

.scan-tag.mint {
  color: var(--mint);
  background: rgba(74, 222, 177, 0.12);
}

.scan-lines {
  margin: 8px 14px;
  height: 40px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0 2px,
    transparent 2px 8px
  );
  opacity: 0.7;
}

.scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #ff6b5a, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 107, 90, 0.55);
  animation: scan 2.2s ease-in-out infinite;
}

@keyframes scan {
  0% { left: 8%; opacity: 0.4; }
  50% { opacity: 1; }
  100% { left: 90%; opacity: 0.4; }
}

.progress-block {
  text-align: center;
  margin-bottom: 16px;
}

.progress-pct {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.progress-pct small {
  font-size: 1.4rem;
  margin-left: 2px;
  opacity: 0.85;
}

.progress-status {
  margin: 4px 0 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6b5a, #ffb07a);
  transition: width 0.25s ease;
  box-shadow: 0 0 16px rgba(255, 107, 90, 0.45);
}

.progress-fill.hot {
  background: linear-gradient(90deg, #ff5c72, #ff9a4a);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(244, 246, 251, 0.75);
}

.check-list li.is-active {
  border-color: rgba(255, 92, 114, 0.35);
  background: rgba(255, 92, 114, 0.08);
  color: var(--text);
}

.check-list li.is-done {
  color: rgba(244, 246, 251, 0.88);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.check-icon.pending {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.check-icon.done {
  background: var(--mint);
  color: #063227;
}

.check-icon.spinner {
  border: 2px solid rgba(255, 107, 90, 0.25);
  border-top-color: #ff6b5a;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.disclaimer {
  margin: 18px 8px 0;
  text-align: center;
  color: rgba(154, 163, 184, 0.7);
  font-size: 0.68rem;
  line-height: 1.4;
}

.open-foot {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Cinema marquee */
.cinema-marquee {
  margin: 8px 0 20px;
  border-radius: 18px;
  background: #0c101c;
  border: 1px solid rgba(255, 210, 120, 0.25);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 154, 74, 0.12);
}

.bulb-row {
  height: 16px;
  background:
    radial-gradient(circle, #ffe08a 0 3px, transparent 3.5px) 8px 50% / 16px 16px repeat-x;
  filter: drop-shadow(0 0 5px rgba(255, 210, 120, 0.75));
  animation: bulbs 1.2s linear infinite;
}

.bulb-row.bottom {
  animation-direction: reverse;
}

.marquee-inner {
  padding: 22px 16px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 92, 114, 0.18), transparent 55%),
    linear-gradient(180deg, #141a2c, #0c101c);
}

.now {
  display: block;
  color: #8ec8ff;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.gta-glow {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 12vw, 3.4rem);
  letter-spacing: 0.04em;
  margin: 6px 0;
  background: linear-gradient(90deg, #ff9a4a, #ff5c72 55%, #ff8a3a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 92, 114, 0.55));
  animation: glowPulse 2.4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(255, 92, 114, 0.45)); }
  50% { filter: drop-shadow(0 0 26px rgba(255, 154, 74, 0.7)); }
}

/* Ready / boarding pass */
.pass-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.pass-hero {
  position: relative;
  height: 160px;
  margin: 12px 12px 0;
  border-radius: 16px;
  overflow: hidden;
}

.pass-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #2a1840 0%, #c45a3a 45%, #f0a060 70%, #ffd2a0 100%);
}

.pass-sun {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 70px;
  height: 70px;
  margin-left: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe7a8, #ff9a4a 60%, transparent 70%);
}

.pass-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 42px;
  background: linear-gradient(90deg, #1a1228 0 8%, transparent 8% 14%, #221533 14% 22%, transparent 22% 30%, #181028 30% 42%, transparent 42% 50%, #24163a 50% 60%, transparent 60% 70%, #1c1230 70% 82%, transparent 82% 90%, #221636 90% 100%);
  opacity: 0.85;
}

.pass-car {
  position: absolute;
  left: 28%;
  bottom: 12%;
  width: 90px;
  height: 24px;
  background: linear-gradient(180deg, #c42a3a, #7a1220);
  border-radius: 6px 24px 5px 5px;
}

.pass-perf {
  height: 18px;
  margin: 0 8px;
  background:
    radial-gradient(circle at 10px 50%, var(--bg) 0 7px, transparent 7.5px) 0 0 / 20px 18px repeat-x;
  border-bottom: 1.5px dashed rgba(18, 24, 42, 0.22);
}

body.light .pass-perf {
  background:
    radial-gradient(circle at 10px 50%, #e8edf7 0 7px, transparent 7.5px) 0 0 / 20px 18px repeat-x;
}

.pass-body {
  padding: 18px 18px 8px;
  text-align: center;
}

.ok-line {
  margin: 0 0 8px;
  color: #0f8f6a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ok-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f8f6a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.ready-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, #ff8a3a, #c44dff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ready-sub {
  margin: 0 0 16px;
  color: #5b657a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.pass-body .btn-gradient {
  margin-top: 0;
}

.ready-hint {
  margin: 10px 0 6px;
  color: #8a93a8;
  font-size: 0.78rem;
}

.pass-meta {
  padding: 8px 18px 18px;
}

.pass-admit {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pass-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(18, 24, 42, 0.1);
  font-size: 0.86rem;
}

.pass-rows span {
  color: #6a7388;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.ping-green {
  color: #0f8f6a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.barcode {
  height: 54px;
  margin: 12px 0 14px;
  background: repeating-linear-gradient(
    90deg,
    #12182a 0 2px,
    transparent 2px 3px,
    #12182a 3px 4px,
    transparent 4px 7px,
    #12182a 7px 10px,
    transparent 10px 11px,
    #12182a 11px 12px,
    transparent 12px 15px
  );
  border-radius: 4px;
}

.change-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  text-decoration: underline;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 480px) {
  .app {
    padding-top: 22px;
  }
}
