/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --navy:        #0f1f3d;
  --blue:        #1659c7;
  --green:       #16a34a;
  --green-hover: #15803d;
  --text:        #111827;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --surface:     #f8fafc;
  --white:       #ffffff;
}

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

.page {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  min-height: 100vh;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 36px 28px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Ticket Wrapper ────────────────────────────────────────── */
.ticket-wrapper {
  padding: 24px 20px 32px;
}

/* ── Card (image + overlay) ────────────────────────────────── */
.card {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 31, 61, 0.10);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image fills the card as a background — does not push layout */
.card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay is now in normal flow — it defines the card height */
.overlay-content {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: center;
}

.overlay-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.overlay-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.overlay-info {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.overlay-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.paypal-logo {
  height: 30px !important;
  width: auto !important;
}

.amount-text {
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.overlay-button {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  letter-spacing: 0.4px;
  width: 100%;
}

.overlay-button:hover {
  background: var(--green-hover);
}

/* ── Info Labels (shared) ──────────────────────────────────── */
.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.info-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* ── Progress Bar ──────────────────────────────────────────── */
.progress-bar {
  width: 100%;
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 99px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 24px;
}

/* ── Info / Countdown Section ──────────────────────────────── */
.info-section {
  text-align: center;
  padding: 20px 0 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.info-section p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 14px;
}

.info-section .info-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.info-timer {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 3px;
}

/* ── Features ──────────────────────────────────────────────── */
.features {
  display: flex;
  justify-content: stretch;
  padding: 24px 0 8px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 16px 8px;
  border-right: 1px solid var(--border);
}

.feature:last-child {
  border-right: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--navy);
}

.feature span {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

/* ── CTA Button (standalone) ───────────────────────────────── */
.cta-button {
  display: block;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}

.cta-button:hover {
  background: var(--green-hover);
}
