/* STICKPLAY — Rifas Colombia · Producción */
:root {
  --bg-0: #050a1f;
  --bg-1: #0a1330;
  --bg-2: #111d44;
  --bg-3: #1a2a5e;
  --line: rgba(120, 160, 255, 0.14);
  --line-strong: rgba(120, 160, 255, 0.28);

  --ink-0: #ffffff;
  --ink-1: #e8edff;
  --ink-2: #a8b3d9;
  --ink-3: #6f7aa6;

  --blue-500: #2f6bff;
  --blue-400: #4d86ff;
  --blue-300: #7fa8ff;
  --blue-200: #b8cfff;
  --blue-glow: rgba(77, 134, 255, 0.45);

  --gold-500: #f5c34a;
  --gold-400: #ffd97a;
  --gold-300: #ffe9a8;
  --gold-glow: rgba(245, 195, 74, 0.4);

  --green: #22c989;
  --red: #ff5d6e;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --app-max: 480px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html, body {
  height: 100%;
  overflow: hidden; /* lock outer scroll; only .scroll scrolls internally */
}
html { background: var(--bg-0); }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink-1);
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

/* ── App container (centered on wide screens) ── */
.app {
  width: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  height: 100vh;
  height: 100dvh; /* dynamic viewport — Safari iOS URL bar collapse aware */
  background: var(--bg-0);
  color: var(--ink-1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 600px) {
  html, body { overflow: auto; height: auto; }
  body {
    background:
      radial-gradient(1200px 800px at 30% 20%, #14193a 0%, transparent 60%),
      radial-gradient(1000px 700px at 80% 80%, #0d1a3d 0%, transparent 60%),
      #06070d;
    padding: 24px 0;
    min-height: 100vh;
  }
  .app {
    height: 92vh;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  }
}

.app-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(47, 107, 255, 0.22) 0%, transparent 70%),
    radial-gradient(40% 30% at 90% 30%, rgba(245, 195, 74, 0.10) 0%, transparent 70%),
    radial-gradient(50% 35% at 10% 60%, rgba(47, 107, 255, 0.14) 0%, transparent 70%);
  z-index: 0;
}
.scroll {
  flex: 1 1 auto;
  min-height: 0;          /* CRITICAL: allow flex item to shrink below content size */
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  position: relative;
  z-index: 1;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scroll::-webkit-scrollbar { display: none; }
.scroll > .screen { padding-bottom: 16px; }

/* ── App bar ── */
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  position: relative;
  z-index: 2;
}
.appbar.screen-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.screen-title {
  text-align: center;
  flex: 1;
}
.screen-title .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-0);
}
.screen-title .s {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 1px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo .dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--gold-400);
  box-shadow: 0 0 12px var(--gold-glow);
}
.logo .accent { color: var(--gold-400); }

.appbar-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-1);
  position: relative;
}
.icon-btn .badge {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--bg-0);
}
/* ── Hero ── */
.hero { padding: 8px 20px 24px; position: relative; }
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80px 80px at 12% 38%, rgba(245,195,74,0.45) 0%, transparent 60%),
    radial-gradient(70px 70px at 88% 22%, rgba(245,195,74,0.35) 0%, transparent 60%),
    radial-gradient(120px 120px at 92% 70%, rgba(77,134,255,0.35) 0%, transparent 60%),
    radial-gradient(120px 120px at 8% 80%, rgba(77,134,255,0.30) 0%, transparent 60%);
  filter: blur(2px);
}
.prize-fund-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
}
.prize-fund {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffe9a8 0%, #f5c34a 60%, #c98f1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 20px var(--gold-glow));
  margin: 0 0 4px;
  position: relative;
}
.prize-fund .cop {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  -webkit-text-fill-color: var(--gold-400);
  margin-top: 4px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 22px 0 24px;
  position: relative;
}
.cd-cell {
  background: linear-gradient(180deg, #2f4cb0 0%, #1d2f7a 100%);
  border: 1px solid rgba(180, 210, 255, 0.25);
  border-radius: 14px;
  width: 64px;
  padding: 10px 6px 8px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 24px rgba(47, 107, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.cd-cell::before {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  pointer-events: none;
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
}
.cd-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-200);
  margin-top: 4px;
  position: relative;
}
.cd-sep {
  color: var(--blue-300);
  font-weight: 700;
  font-size: 22px;
  margin-top: -10px;
}

/* Progress */
.progress-card {
  margin: 0 20px 22px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.progress-row .l { font-size: 12px; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; }
.progress-row .r { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-0); }
.progress-row .r b { color: var(--gold-400); }
.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(120, 160, 255, 0.12);
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f5c34a 0%, #ffd97a 50%, #f5c34a 100%);
  border-radius: 99px;
  box-shadow: 0 0 12px var(--gold-glow);
  position: relative;
  transition: width 0.6s cubic-bezier(.2,.7,.2,1);
}
.bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2.4s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.progress-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-3);
}

/* Section */
.section { padding: 0 20px; margin-bottom: 26px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-0);
  margin: 0 0 12px;
}
.section-title small {
  font-weight: 500;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.section-title--sm { font-size: 14px; }
.section--testi-head { padding: 0 20px 6px; }

/* Ticket card (qty selector) */
.ticket-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.12) 0%, rgba(47, 107, 255, 0.04) 100%);
  border: 1px solid var(--line-strong);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.ticket-card::before {
  content: "";
  position: absolute;
  top: -50px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.qty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
}
.qty-pill {
  position: relative;
  border-radius: 14px;
  padding: 14px 8px 12px;
  background: linear-gradient(180deg, #4f7aff 0%, #2a4ec9 100%);
  border: 1px solid rgba(180, 210, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 14px rgba(47,107,255,0.25);
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  transition: transform 0.15s ease;
}
.qty-pill:active { transform: scale(0.97); }
.qty-pill.selected {
  background: linear-gradient(180deg, #ffd97a 0%, #c98f1f 100%);
  border-color: rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 18px var(--gold-glow);
  color: #1a1208;
}
.qty-pill .qty {
  font-size: 22px;
  letter-spacing: -0.01em;
  display: block;
}
.qty-pill .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
  display: block;
}
.qty-pill .bonus {
  position: absolute;
  top: -6px; right: -4px;
  font-size: 9px;
  font-weight: 700;
  background: var(--gold-400);
  color: #1a1208;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 14px;
}
.qty-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--ink-0);
  font-weight: 700;
  flex-shrink: 0;
}
.qty-btn:active { background: rgba(255,255,255,0.1); }
.qty-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-0);
  text-align: center;
  width: 100%;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-warning { font-size: 11px; color: var(--red); margin-top: 6px; }

.summary-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 4px;
  font-size: 13px;
  color: var(--ink-2);
}
.summary-line.total {
  border-top: 1px dashed var(--line-strong);
  margin-top: 6px; padding-top: 12px;
  color: var(--ink-0);
  font-size: 15px;
}
.summary-line .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-400);
  font-size: 18px;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffd97a 0%, #f5c34a 60%, #d59a25 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s ease, opacity 0.15s ease;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-strong);
  color: var(--ink-0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.btn-secondary--inline { margin-top: 10px; }

/* Prize cards */
.prize-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 195, 74, 0.08), rgba(245, 195, 74, 0.02));
  border: 1px solid rgba(245, 195, 74, 0.22);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.prize-card--blue {
  background: linear-gradient(180deg, rgba(47,107,255,0.10), rgba(47,107,255,0.02));
  border-color: rgba(120,160,255,0.25);
}
.prize-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.prize-card .tag--blue { color: var(--blue-300); }
.prize-card .lottery {
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 8px;
}
.prize-card .lottery b { color: var(--ink-1); }
.prize-card .lottery.example { font-style: italic; margin-top: 10px; }
.prize-card .lottery .gold { color: var(--gold-400); font-style: normal; font-weight: 700; }

.prize-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}
.prize-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-1);
  font-weight: 500;
}
.prize-list li .ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(245, 195, 74, 0.12);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.prize-list li .ico--blue { background: rgba(77,134,255,0.15); }
.prize-list li .ico--green { background: rgba(34,201,137,0.15); }

/* Prize hero image */
.prize-hero-img {
  margin: 0 -16px 14px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a1330;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(245,195,74,0.18);
}
.prize-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prize-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,10,31,0.55) 100%);
  pointer-events: none;
}
.prize-hero-img--blue {
  background: #000;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(120,160,255,0.22);
}
.prize-hero-img--blue::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.day-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.day-pill .d {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  text-transform: uppercase;
}
.day-pill .lot {
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* How it works */
.steps {
  display: grid;
  gap: 10px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(180deg, #4f7aff 0%, #2a4ec9 100%);
  border: 1px solid rgba(180, 210, 255, 0.3);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.step-body h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-0);
}
.step-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* Testimonials */
.testimonials {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 20px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 240px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  scroll-snap-align: start;
}
.testi-card .head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.testi-card .avatar {
  width: 36px; height: 36px;
  border-radius: 99px;
  background: linear-gradient(135deg, #4f7aff, #ffd97a);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}
.testi-card .name { font-weight: 700; font-size: 13px; color: var(--ink-0); }
.testi-card .city { font-size: 10.5px; color: var(--ink-3); }
.testi-card .won {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.testi-card .prize {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-0);
  line-height: 1.25;
}

/* Floating CTA — always visible, sits above bottom-nav, varies per screen */
.floating-cta-host {
  flex-shrink: 0;
  position: relative;
  background: var(--bg-0);
  z-index: 6;
}
.floating-cta-host::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -28px;
  height: 28px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-0) 100%);
  pointer-events: none;
}
.floating-cta {
  display: none;
  padding: 12px 20px 14px;
}
body[data-screen="landing"]      .floating-cta[data-cta-for="landing"],
body[data-screen="selection"]    .floating-cta[data-cta-for="selection"],
body[data-screen="checkout"]     .floating-cta[data-cta-for="checkout"],
body[data-screen="confirmation"] .floating-cta[data-cta-for="confirmation"],
body[data-screen="myTickets"]    .floating-cta[data-cta-for="myTickets"] {
  display: block;
}
.floating-cta .btn-primary + .btn-primary,
.floating-cta .btn-primary + .btn-secondary {
  margin-top: 8px;
}
.cta-pricerow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.cta-pricerow span { font-size: 13px; color: var(--ink-2); }
.cta-pricerow strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--gold-400);
}
.pay-disclaimer {
  text-align: center;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* Tickets grid */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ticket-chip {
  background: linear-gradient(135deg, #1d2f7a 0%, #0d1a3d 100%);
  border: 1px solid rgba(120, 160, 255, 0.3);
  border-radius: 14px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.ticket-chip::before {
  content: ""; position: absolute;
  left: -8px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--bg-0);
  border-radius: 99px;
  border-right: 1px solid rgba(120,160,255,0.3);
}
.ticket-chip::after {
  content: ""; position: absolute;
  right: -8px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--bg-0);
  border-radius: 99px;
  border-left: 1px solid rgba(120,160,255,0.3);
}
.ticket-chip .label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.ticket-chip .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.ticket-chip .invertido {
  font-size: 10px;
  color: var(--gold-400);
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.info-line {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 8px;
  line-height: 1.4;
}
.gold { color: var(--gold-400); }
.mono { font-family: var(--font-mono); }

/* Reserved-card: shown on selection screen — numbers assigned post-payment */
.reserved-card {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 195, 74, 0.08), rgba(245, 195, 74, 0.02));
  border: 1px solid rgba(245, 195, 74, 0.22);
  padding: 16px;
}
.reserved-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reserved-lock {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd97a, #f5c34a);
  color: #1a1208;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--gold-glow);
}
.reserved-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-0);
}
.reserved-sub {
  font-size: 10px;
  color: var(--gold-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}
.reserved-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0 0 14px;
}
.reserved-text b { color: var(--ink-0); font-weight: 700; }

.locked-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ticket-chip.locked {
  background: linear-gradient(135deg, rgba(120,160,255,0.18) 0%, rgba(13,26,61,0.65) 100%);
  border-color: rgba(120,160,255,0.20);
  opacity: 0.85;
}
.ticket-chip.locked .num {
  color: var(--blue-300);
  letter-spacing: 0.18em;
  font-size: 18px;
  opacity: 0.7;
  user-select: none;
}

/* ── Checkout ── */
.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}
.pay-method.selected {
  background: linear-gradient(180deg, rgba(245,195,74,0.10), rgba(245,195,74,0.03));
  border-color: var(--gold-400);
  box-shadow: 0 4px 16px var(--gold-glow);
}
.pay-method .pm-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pay-method .pm-text { flex: 1; }
.pay-method .pm-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-0);
}
.pay-method .pm-sub {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 1px;
  font-family: var(--font-body);
}
.radio {
  width: 22px; height: 22px;
  border-radius: 99px;
  border: 2px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pay-method.selected .radio { border-color: var(--gold-400); }
.pay-method.selected .radio::after {
  content: "";
  width: 12px; height: 12px;
  border-radius: 99px;
  background: var(--gold-400);
}

.field {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-0);
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.field:focus { outline: 2px solid var(--blue-400); outline-offset: -2px; }
.field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
  display: block;
}

.receipt {
  margin: 0 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.receipt--detail { margin: 0 20px 16px; }
.receipt-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--line);
}
.receipt-row:last-child { border-bottom: none; }
.receipt-row .l { color: var(--ink-2); }
.receipt-row .r { color: var(--ink-0); font-family: var(--font-display); font-weight: 600; }
.receipt-row .r--green { color: var(--green); }
.receipt-row .r--gold { color: var(--gold-400); }
.receipt-row .r--gold-lg { color: var(--gold-400); font-size: 20px; }
.receipt-row--total {
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  border-bottom: none;
}
.receipt-row--total .l { font-weight: 700; color: var(--ink-0); }

/* ── Confirmation ── */
.confirm-icon {
  width: 88px; height: 88px;
  border-radius: 99px;
  background: linear-gradient(135deg, #ffd97a, #f5c34a);
  display: grid; place-items: center;
  margin: 32px auto 18px;
  box-shadow: 0 12px 40px var(--gold-glow);
  position: relative;
}
.confirm-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 99px;
  border: 2px dashed rgba(245, 195, 74, 0.4);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.confirm-h1 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-0);
  margin: 0 20px 6px;
  letter-spacing: -0.02em;
}
.confirm-sub {
  text-align: center;
  color: var(--ink-2);
  font-size: 13.5px;
  margin: 0 24px 24px;
  line-height: 1.45;
}
.more-tickets {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ── Mis stickers ── */
.tab-bar {
  display: flex;
  gap: 4px;
  padding: 16px 20px 14px;
}
.tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  text-align: center;
  background: transparent;
}
.tab.active {
  background: rgba(255,255,255,0.06);
  color: var(--ink-0);
}
.draw-card {
  margin: 0 20px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.draw-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}
.draw-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-0); }
.draw-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}
.draw-kicker--gold { color: var(--gold-400); }
.draw-kicker--blue { color: var(--blue-300); }
.draw-kicker--mute { color: var(--ink-3); }
.draw-info { font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.draw-info b { color: var(--ink-1); }
.draw-foot { font-size: 11.5px; color: var(--ink-3); }

.draw-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.draw-status.pending { background: rgba(47, 107, 255, 0.15); color: var(--blue-300); }
.draw-status.live { background: rgba(34, 201, 137, 0.15); color: var(--green); }
.draw-status.lost { background: rgba(255,255,255,0.05); color: var(--ink-3); }

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-3);
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-1);
  margin-bottom: 4px;
}
.empty-sub { font-size: 12.5px; }

/* Bottom nav — always visible at the bottom of the app shell */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 4px 8px calc(6px + var(--safe-bottom));
  background: rgba(5, 10, 31, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  z-index: 10;
}
.nav-item {
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 10px;
  min-width: 56px;
  min-height: 40px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-3);
  background: transparent;
  touch-action: manipulation;
  transition: color 0.15s ease;
  line-height: 1;
}
.nav-item:active { color: var(--ink-1); }
.nav-item.active { color: var(--gold-400); }
.nav-item svg { width: 19px; height: 19px; flex-shrink: 0; }

/* Visibility helpers driven by [data-screen] on body */
body[data-screen="landing"] [data-hide-on="landing"] { display: none; }
body:not([data-screen="landing"]) [data-hide-on="landing"] { display: flex; }
