/* ── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Repeat the Monkey #3 — Bucolic Garden palette */
  --sage:      #7A9E7E;   /* soft sage green */
  --forest:    #3D6B4F;   /* deep forest */
  --olive:     #5C7A5A;   /* muted olive */
  --cream:     #F8F6F0;   /* warm off-white */
  --charcoal:  #2C2C2C;   /* near-black charcoal */
  --stone:     #6B6B6B;   /* muted stone grey */
  --terracotta:#C4704E;   /* warm terracotta accent */
  --red:       #C0392B;   /* error red */

  /* roles */
  --primary:      var(--forest);
  --primary-dark: #2D5240;
  --bg:           #EEF2E8;    /* light green background */
  --surface:      #FFFFFF;
  --surface2:     #E8ECE2;
  --border:       #D1D9C8;
  --text:         var(--charcoal);
  --text-muted:   var(--stone);
  --success:      var(--forest);
  --error:        var(--red);
  --orange:       var(--terracotta);
  --yellow:       var(--sage);
  --green:        var(--forest);
  --brown:        var(--charcoal);
  --sky:          var(--sage);
  --radius:       12px;
  --radius-sm:    8px;
}

body {
  font-family: 'Roboto', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-brand:hover { text-decoration: none; color: #fff; }

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.88rem;
}

.nav-links a { color: rgba(255,255,255,0.7); }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* ── Container ────────────────────────────────────────────────────────────── */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 16px 56px;
  flex: 1;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 50px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

.btn-full { width: 100%; display: block; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-page { max-width: 420px; margin: 0 auto; }
.form-page h1 { margin-bottom: 8px; font-size: 1.75rem; }
.form-sub { color: var(--text-muted); margin-bottom: 24px; font-weight: 300; }
.form-footer { margin-top: 16px; text-align: center; color: var(--text-muted); font-size: 0.88rem; }

.card-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.card-form h2 { margin-bottom: 16px; font-size: 1.1rem; }

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 14px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
input:focus { border-color: var(--primary); }

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 400;
}
.alert-error   { background: #fdf0ee; border: 1px solid var(--error);   color: var(--error); }
.alert-success { background: #edf5f0; border: 1px solid var(--success); color: var(--success); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 56px 0 44px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.1;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Feature cards ─────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  transition: transform 0.15s;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.feature-card h3 { font-size: 0.92rem; margin-bottom: 6px; font-weight: 600; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; }

/* ── Section divider ──────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── Ticket ───────────────────────────────────────────────────────────────── */
.ticket-page { max-width: 420px; margin: 0 auto; }
.ticket-page h1 { margin-bottom: 20px; font-size: 1.75rem; }

.ticket-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.ticket-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--forest), var(--sage));
  border-radius: 2px;
  margin-bottom: 20px;
}

.ticket-header { margin-bottom: 20px; }
.ticket-badge {
  display: inline-block;
  background: #edf5f0;
  color: var(--success);
  border: 1px solid var(--success);
  border-radius: 50px;
  padding: 3px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.ticket-header h2 { font-size: 1.3rem; }
.ticket-header p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; font-weight: 300; }

.qr-container {
  text-align: center;
  padding: 20px 0 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  margin: 16px 0;
}
.qr-code {
  max-width: 200px;
  width: 100%;
  border-radius: 8px;
  background: white;
  padding: 8px;
}
.qr-hint { color: var(--text-muted); font-size: 0.8rem; margin-top: 10px; font-weight: 300; }

.ticket-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
}
.balance-label { color: var(--text-muted); font-size: 0.88rem; font-weight: 400; }
.balance-amount { font-size: 1.3rem; font-weight: 700; color: var(--success); }

.no-ticket { text-align: center; }
.no-ticket .ticket-header { padding: 20px 0; }

/* ── Wallet ───────────────────────────────────────────────────────────────── */
.wallet-page { max-width: 480px; margin: 0 auto; }
.wallet-page h1 { margin-bottom: 20px; font-size: 1.75rem; }

.balance-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.balance-card .balance-label { color: rgba(255,255,255,0.55); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.balance-big {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-top: 6px;
}

.topup-section { margin-bottom: 24px; }
.topup-section h2 { margin-bottom: 14px; font-size: 1.15rem; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.amount-option { cursor: pointer; }
.amount-option input { display: none; }
.amount-option span {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 1rem;
  transition: border-color 0.15s, background 0.15s;
  color: var(--text);
}
.amount-option input:checked + span {
  border-color: var(--primary);
  background: #edf5f0;
  color: var(--primary);
}

.transactions { margin-top: 28px; }
.transactions h2 { margin-bottom: 12px; font-size: 1.15rem; }
.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.tx-desc { display: block; font-weight: 500; }
.tx-date { color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; font-weight: 300; }
.tx-amount { font-weight: 700; font-size: 1rem; }
.tx-credit .tx-amount { color: var(--success); }
.tx-debit  .tx-amount { color: var(--error); }

/* ── Admin stats ──────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0;
}
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}
.stat-number { display: block; font-size: 2rem; font-weight: 900; color: var(--primary); }
.stat-label  { display: block; color: var(--text-muted); font-size: 0.75rem; margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 520px) {
  .admin-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .admin-actions { grid-template-columns: repeat(4, 1fr); }
}
.admin-action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  font-size: 0.88rem;
  font-weight: 500;
}
.admin-action-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(61,107,79,0.10); text-decoration: none; }
.action-icon { font-size: 1.5rem; font-weight: 300; color: var(--text-muted); }
.action-label { font-size: 0.88rem; font-weight: 500; }

/* ── Scanner ──────────────────────────────────────────────────────────────── */
.scanner-container { margin: 20px 0; }
#reader, #bar-reader {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.result-box {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 500;
  white-space: pre-line;
  font-size: 1rem;
}
.result-ok    { background: #edf5f0; border: 2px solid var(--success); color: var(--success); }
.result-error { background: #fdf0ee; border: 2px solid var(--error);   color: var(--error); }
.hidden { display: none !important; }

.manual-entry {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ── Bar ──────────────────────────────────────────────────────────────────── */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}
@media (min-width: 420px) {
  .drinks-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .drinks-grid { grid-template-columns: repeat(4, 1fr); }
}
.drink-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  color: var(--text);
}
.drink-btn:hover  { border-color: var(--primary); background: #edf5f0; transform: scale(1.03); }
.drink-btn.active { border-color: var(--primary); background: #edf5f0; }
.drink-emoji  { font-size: 1.5rem; }
.drink-name   { font-size: 0.85rem; font-weight: 500; }
.drink-price  { font-size: 0.88rem; color: var(--primary); font-weight: 700; }

.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 14px;
}
.order-summary h3 { margin-bottom: 12px; font-size: 1rem; }
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.order-total {
  text-align: right;
  padding: 10px 0 4px;
  font-size: 1rem;
  font-weight: 700;
}
.order-actions { display: flex; gap: 10px; margin-top: 12px; }
.order-actions .btn-outline,
.order-actions .btn-primary { flex: 1; }

.remove-btn {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 1rem;
  margin-left: 8px;
  padding: 0 4px;
  opacity: 0.7;
  transition: opacity 0.12s;
}
.remove-btn:hover { opacity: 1; }

/* ── Page header ──────────────────────────────────────────────────────────── */
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 1.75rem; margin-bottom: 4px; }
.page-header p  { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 22px 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

/* ── Navbar extras ────────────────────────────────────────────────────────── */
.nav-link-subtle { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 400; }
.nav-link-subtle:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--forest);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; text-decoration: none; color: #fff; }

/* ── Full-screen hero ──────────────────────────────────────────────────────── */
.hero-full {
  min-height: 100svh;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 24px 60px;
  overflow: hidden;
  text-align: center;
}

/* Subtle botanical gradient */
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(122,158,126,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(92,122,90,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(196,112,78,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-full .hero-eyebrow {
  display: inline-block;
  background: rgba(122,158,126,0.15);
  color: var(--sage);
  border: 1px solid rgba(122,158,126,0.3);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.8rem, 12vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-dates {
  color: var(--sage);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--forest);
  color: #fff;
  border: 2px solid var(--forest);
  transition: all 0.18s;
  text-decoration: none;
}
.btn-hero:hover { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; color: #fff; }

.btn-hero-ghost {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 400;
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.18s;
  text-decoration: none;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.6); text-decoration: none; color: #fff; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 1.2rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Manifesto ─────────────────────────────────────────────────────────────── */
.manifesto-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
  text-align: center;
}
.manifesto-inner { max-width: 560px; margin: 0 auto; }
.manifesto-text {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-weight: 300;
}
.manifesto-text em { color: var(--forest); font-style: italic; }
.manifesto-text--sm { font-size: clamp(0.92rem, 2.5vw, 1.05rem); color: var(--text-muted); }

/* ── Features section ──────────────────────────────────────────────────────── */
.features-section {
  padding: 64px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-block:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.feature-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}
.feature-icon-lg { font-size: 1.5rem; margin-bottom: 12px; color: var(--text-muted); }
.feature-block h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-block p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.btn-feature {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}
.btn-feature:hover { text-decoration: underline; }

/* ── Info strip ────────────────────────────────────────────────────────────── */
.info-strip {
  background: var(--charcoal);
  padding: 18px 24px;
}
.info-strip-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}
.info-strip-item { display: flex; align-items: center; gap: 6px; }
.info-strip-icon { font-size: 0.9rem; }
.info-strip-sep { color: rgba(255,255,255,0.2); }
.info-strip-link { color: var(--sage); font-weight: 500; text-decoration: none; }
.info-strip-link:hover { text-decoration: underline; color: var(--sage); }

/* ── Footer ── overrides ───────────────────────────────────────────────────── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 28px 20px; }
.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-logo { font-weight: 900; font-size: 0.88rem; color: var(--charcoal); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-tagline { color: var(--text-muted); font-size: 0.78rem; font-weight: 300; font-style: italic; }
.footer-cta { color: var(--primary); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.footer-cta:hover { text-decoration: underline; }

/* ── Ticket purchase flow ──────────────────────────────────────────────────── */
.ticket-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
}

@media (max-width: 640px) {
  .ticket-flow { grid-template-columns: 1fr; gap: 28px; }
}

.ticket-flow-preview {}
.ticket-flow-hint { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-top: 12px; font-weight: 300; }

/* The physical-ticket-looking stub */
.ticket-stub {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.ticket-stub-top {
  padding: 28px 24px 20px;
  text-align: center;
}
.ticket-stub-event {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ticket-stub-sub {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 300;
}
.ticket-stub-dashes {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.15) 0 8px, transparent 8px 16px);
  margin: 0 16px;
}
.ticket-stub-body {
  padding: 20px 24px;
}
.ticket-stub-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}
.ticket-stub-row:last-child { border-bottom: none; }
.ticket-stub-label { color: rgba(255,255,255,0.35); font-weight: 300; }
.ticket-stub-value { color: rgba(255,255,255,0.85); font-weight: 500; }
.ticket-stub-qr {
  padding: 20px 24px 28px;
  display: flex;
  justify-content: center;
}
.ticket-stub-qr-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  text-align: center;
}
.ticket-stub-qr-hint { font-size: 0.68rem; }

.ticket-flow-form h1 { font-size: 1.75rem; margin-bottom: 6px; }

/* ── Info page ─────────────────────────────────────────────────────────────── */
.info-page { max-width: 640px; margin: 0 auto; }
.info-page .page-header { padding: 8px 0 32px; }
.info-page .page-header h1 { font-size: 2rem; margin-bottom: 8px; margin-top: 8px; }
.info-page .page-header p { color: var(--text-muted); font-size: 1rem; font-weight: 300; }

.info-blocks { display: flex; flex-direction: column; gap: 0; }

.info-block {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.info-block:last-child { border-bottom: none; }
.info-block-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  margin-top: 2px;
  color: var(--text-muted);
  font-weight: 300;
}
.info-block-body h2 { font-size: 1.15rem; margin-bottom: 10px; }
.info-block-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; font-weight: 300; }
.info-block-body p:last-child { margin-bottom: 0; }
.info-block-body strong { color: var(--text); font-weight: 500; }
.info-block-body a { color: var(--primary); }
.info-block-body a.btn-primary { color: #fff !important; }

.info-steps {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}
.info-steps li { margin-bottom: 6px; }
.info-steps strong { color: var(--text); font-weight: 500; }

.info-note {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

/* ── Stripe Embedded Checkout ─────────────────────────────────────────────── */
.checkout-wrapper {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 300;
}

.checkout-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .stat-number { font-size: 1.4rem; }
  .stat-card { padding: 14px 8px; }
  .hero h1 { font-size: 2rem; }
}
