@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS — Matching the IRL Pass/Flyer
   ═══════════════════════════════════════════ */
:root {
  --sc-cream: #f7f5f0;
  --sc-white: #ffffff;
  --sc-black: #111111;
  --sc-text: #2a2a2a;
  --sc-text-muted: #6b6b6b;
  --sc-border: #e0ddd6;
  --sc-green: #2B5329;
  --sc-green-light: #3a6e37;
  --radius: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--sc-cream);
  color: var(--sc-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select { font-family: inherit; }

/* ═══════════════════════════════════════════
   PASS CARD — The Central Container
   ═══════════════════════════════════════════ */
.pass-card {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  background: var(--sc-white);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04),
              0 20px 50px rgba(43, 83, 41, 0.1);
  overflow: hidden;
  position: relative;
}

/* ═══════════════════════════════════════════
   HERO / HEADER
   ═══════════════════════════════════════════ */
.hero {
  padding: 40px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.pass-header {
  position: relative;
  padding: 32px 24px 20px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--sc-green) 6%, var(--sc-white)) 0%,
    var(--sc-white) 100%
  );
  text-align: center;
}

.pass-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.logo-sc {
  height: 52px;
  object-fit: contain;
}

.collab-x {
  font-size: 1rem;
  font-weight: 300;
  color: var(--sc-text-muted);
}

.logo-landmark {
  height: 44px;
  object-fit: contain;
}

.pass-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--sc-text-muted);
  border-top: 1px solid var(--sc-border);
  padding-top: 16px;
}

/* Ticket cutout notches */
.pass-cutout {
  position: absolute;
  bottom: -15px;
  width: 30px;
  height: 30px;
  background: var(--sc-cream);
  border-radius: 50%;
  z-index: 10;
}
.pass-cutout.left { left: -15px; }
.pass-cutout.right { right: -15px; }

/* ═══════════════════════════════════════════
   PASS BODY
   ═══════════════════════════════════════════ */
.pass-body {
  padding: 32px 24px 24px;
}

/* ═══════════════════════════════════════════
   OFFER SECTION
   ═══════════════════════════════════════════ */
.offer-section {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--sc-border);
}

.offer-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  font-style: italic;
  color: var(--sc-black);
  margin-bottom: 20px;
  line-height: 1.3;
}

.offer-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.offer-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.offer-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sc-green);
  line-height: 1;
}

.offer-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sc-text-muted);
  max-width: 90px;
  text-align: left;
  line-height: 1.3;
}

.offer-plus {
  color: var(--sc-text-muted);
  font-size: 1.2rem;
  margin: 0 4px;
}

.offer-value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.offer-value {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sc-green);
}

.offer-note {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sc-text-muted);
}

/* ═══════════════════════════════════════════
   AMENITY STRIP
   ═══════════════════════════════════════════ */
.amenity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

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

.amenity-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.amenity-card span {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sc-text-muted);
  text-align: center;
}

/* ═══════════════════════════════════════════
   URGENCY BAR
   ═══════════════════════════════════════════ */
.urgency-bar {
  background: var(--sc-cream);
  padding: 10px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--sc-border);
}

.urgency-badge {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--sc-green);
  text-align: center;
  margin-bottom: 6px;
}

.urgency-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

.timer-group, .passes-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.timer-group {
  color: #c0392b;
}

.passes-group {
  color: var(--sc-green);
  opacity: 0.8;
}

.timer-group svg, .passes-group svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

/* ═══════════════════════════════════════════
   CLAIM FORM
   ═══════════════════════════════════════════ */
.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sc-text-muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--sc-black);
  background: var(--sc-white);
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input::placeholder {
  color: #b0b0b0;
}

.form-group input:focus {
  border-color: var(--sc-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sc-green) 10%, transparent);
  background: var(--sc-white);
}

.claim-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border-radius: 12px;
  background: var(--sc-green);
  color: var(--sc-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.claim-btn:hover {
  filter: brightness(0.85);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--sc-green) 30%, transparent);
  transform: translateY(-2px);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.68rem;
  color: var(--sc-text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   SUCCESS STATE
   ═══════════════════════════════════════════ */
.success-state {
  text-align: center;
  padding: 20px 0;
  animation: fadeInUp 0.5s ease;
}

.success-state .check-icon {
  color: var(--sc-green);
  margin-bottom: 16px;
}

.success-state .check-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--sc-green);
  fill: none;
}

.success-state h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--sc-black);
}

.success-subtitle {
  color: var(--sc-text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.confirmation-card {
  background: var(--sc-cream);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}

.conf-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--sc-border);
  font-size: 0.9rem;
}

.conf-row:last-child { border: none; }

.conf-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sc-text-muted);
  font-weight: 600;
}

.conf-value {
  font-weight: 600;
  color: var(--sc-black);
}

.barcode-area {
  background: var(--sc-white);
  padding: 20px;
  border-radius: 10px;
  margin-top: 16px;
  text-align: center;
}

.fake-barcode {
  font-family: monospace;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--sc-black);
}

.barcode-area span {
  font-family: monospace;
  color: var(--sc-text-muted);
  font-size: 0.85rem;
}

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

/* ═══════════════════════════════════════════
   PASS FOOTER
   ═══════════════════════════════════════════ */
.pass-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--sc-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sc-text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.footer-location svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.footer-contact {
  display: flex;
  justify-content: space-between;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sc-green);
  font-size: 0.8rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-link:hover { opacity: 0.7; }

.footer-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

/* ═══════════════════════════════════════════
   POWERED BY
   ═══════════════════════════════════════════ */
.powered-by {
  text-align: center;
  font-size: 0.75rem;
  color: var(--sc-text-muted);
  padding: 24px 0;
  letter-spacing: 0.5px;
}

.powered-by strong {
  color: var(--sc-green);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero {
    padding: 20px 16px 0;
  }
  .pass-card {
    border-radius: 0;
    box-shadow: none;
  }
  .pass-cutout { display: none; }
  body { background: var(--sc-white); }
}
