/* ============================================
   I NEED A DOLLAR — Premium Nothingness v2
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a08;
  --color-surface: #111110;
  --color-card: rgba(255, 255, 255, 0.03);
  --color-card-border: rgba(255, 255, 255, 0.08);
  --color-text: #f5f5f0;
  --color-text-secondary: #a1a19a;
  --color-text-muted: #5a5a54;
  --color-gold: #b5985a;
  --color-gold-light: #d4af37;
  --color-gold-bright: #f5d472;

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
}

/* Warm radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(
    circle,
    rgba(181, 152, 90, 0.06) 0%,
    rgba(181, 152, 90, 0.02) 40%,
    transparent 65%
  );
  pointer-events: none;
}

.hero__inner {
  max-width: 640px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s var(--ease-out-expo) both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-sm);
  color: var(--color-gold-light);
  animation: fadeInUp 1s 0.1s var(--ease-out-expo) both;
}

.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  color: var(--color-text-secondary);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.01em;
  animation: fadeInUp 1s 0.2s var(--ease-out-expo) both;
}

/* Blinking cursor */
.hero__cursor {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin: var(--space-lg) 0 var(--space-sm);
  animation: fadeInUp 1s 0.3s var(--ease-out-expo) both, blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Giant Dollar Sign --- */

.hero__dollar {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 26vw, 16rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 auto var(--space-md);
  user-select: none;
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;

  background: linear-gradient(
    105deg,
    var(--color-gold) 0%,
    var(--color-gold-light) 15%,
    var(--color-gold-bright) 30%,
    #fffef5 45%,
    var(--color-gold-bright) 55%,
    var(--color-gold-light) 70%,
    var(--color-gold) 85%,
    var(--color-gold-light) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    fadeInUp 1s 0.35s var(--ease-out-expo) both,
    shimmer 5s 2s ease-in-out infinite;
  transition: font-size 0.15s ease;
}

.hero__dollar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.dollar-sign {
  font-size: 0.45em;
  margin-right: 0.02em;
}

@keyframes shimmer {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: -100% 50%; }
}

/* --- Multiplier Buttons --- */

.multiplier-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s 0.45s var(--ease-out-expo) both;
}

.multiplier-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--color-card-border);
  border-radius: 10px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 72px;
}

.multiplier-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.multiplier-btn.active {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
}

.multiplier-btn__label {
  font-size: 1rem;
  font-weight: 600;
}

.multiplier-btn__price {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.multiplier-btn.active .multiplier-btn__price {
  color: var(--color-text-secondary);
}

/* Hero tagline */
.hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  animation: fadeInUp 1s 0.55s var(--ease-out-expo) both;
}

/* Hero CTA */
.hero__cta {
  margin-top: var(--space-lg);
  animation: fadeInUp 1s 0.65s var(--ease-out-expo) both;
}

.hero__fine-print {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  letter-spacing: 0.02em;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */

.section-divider {
  width: min(180px, 40vw);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ============================================
   LIVE COUNTER
   ============================================ */

.counter-section {
  padding: var(--space-xl) var(--space-md);
  max-width: 640px;
  margin: 0 auto;
}

.counter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  background: var(--color-card);
}

.counter-box__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.counter-box__subtitle {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

.counter-box__right {
  text-align: right;
}

.counter-box__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 0.15s ease;
}

.counter-box__number.bump {
  transform: scale(1.05);
}


/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  max-width: 640px;
  margin: 0 auto;
}

.faq__inner {
  /* nothing needed */
}

.faq__item {
  padding: var(--space-md) 0;
}

.faq__question {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.faq__answer {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-gold);
  line-height: 1.5;
}

.faq__divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06), transparent);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-quart);
  padding: 1rem 2.5rem;
  min-width: 200px;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: #ffffff;
  transform: scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 4px 24px rgba(255, 255, 255, 0.06);
}

.btn--primary:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn--cta {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  padding: 1.25rem 3rem;
  width: 100%;
  max-width: 480px;
  transition: all 0.3s ease;
}

.btn--cta:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transform: scale(1.01);
}

.btn--cta:active {
  transform: scale(0.99);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  min-width: auto;
}

.btn--ghost:hover {
  color: var(--color-text);
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--color-bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ============================================
   MODALS
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px) saturate(0.8);
  -webkit-backdrop-filter: blur(24px) saturate(0.8);
}

.modal__content {
  position: relative;
  max-width: 460px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
  margin: auto 0;
  flex-shrink: 0;
}

.modal.active .modal__content {
  transform: translateY(0) scale(1);
}

.modal__eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 1.875rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.modal__subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

#payment-element {
  margin-top: var(--space-xs);
  min-height: 80px;
}

.payment-message {
  color: #ff453a;
  font-size: 0.8125rem;
  margin-top: var(--space-xs);
  text-align: center;
}

/* ============================================
   RECEIPT
   ============================================ */

.modal__content--receipt {
  max-width: 520px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.receipt {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.receipt__tear {
  width: 100%;
  height: 12px;
  position: relative;
  overflow: hidden;
}

.receipt__tear--top {
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 4px,
    var(--color-text-muted) 4px,
    var(--color-text-muted) 5px,
    transparent 5px,
    transparent 9px
  );
  opacity: 0.3;
  border-radius: 2px 2px 0 0;
}

.receipt__tear--bottom {
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 4px,
    var(--color-text-muted) 4px,
    var(--color-text-muted) 5px,
    transparent 5px,
    transparent 9px
  );
  opacity: 0.3;
  border-radius: 0 0 2px 2px;
}

.receipt__body {
  background: #111110;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 2rem;
  position: relative;
}

.receipt__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 0.75rem;
}

.receipt__info {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.receipt__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.receipt__separator {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  margin: 1.25rem 0;
}

.receipt__section-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.receipt__line-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0;
}

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

.receipt__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.receipt__item:last-child {
  border-bottom: none;
}

.receipt__item-price {
  color: var(--color-gold-light);
  font-weight: 600;
  text-align: right;
}

.receipt__item-price--muted {
  color: var(--color-text-muted);
  text-align: right;
}

.receipt__totals {
  display: flex;
  flex-direction: column;
}

.receipt__total-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  padding: 0.35rem 0;
}

.receipt__total-value {
  color: var(--color-gold-light);
  font-weight: 600;
}

.receipt__total-value--muted {
  color: var(--color-text-muted);
}

.receipt__grand-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gold);
  padding: 1rem 0;
}

.receipt__grand-total-value {
  font-size: 1.5rem;
  color: var(--color-gold-light);
}

.receipt__footer-lines {
  margin-top: 0.5rem;
}

.receipt__footer-lines .receipt__total-line {
  font-size: 0.75rem;
}

.receipt__message {
  text-align: center;
  padding: 1.5rem 0;
}

.receipt__quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.receipt__customer {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.receipt__customer strong {
  color: var(--color-text);
  font-size: 1rem;
}

.receipt__fine {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Barcode */
.receipt__barcode {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.receipt__barcode-lines {
  display: flex;
  justify-content: center;
  gap: 2px;
  height: 40px;
  margin-bottom: 0.5rem;
}

.receipt__barcode-lines span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
}

.receipt__barcode-number {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
}

/* NOTHING DELIVERED stamp */
.receipt__stamp {
  position: absolute;
  top: 55%;
  right: 1.5rem;
  transform: rotate(-15deg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(40, 80, 40, 0.5);
  border: 3px solid rgba(40, 80, 40, 0.35);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
}

.receipt__close {
  margin-top: var(--space-sm);
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================
   WALL OF WISHES (hidden but kept for data)
   ============================================ */

.wishes {
  display: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  opacity: 0.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  .counter-box {
    padding: 1.25rem 1.5rem;
  }

  .counter-box__number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .btn--cta {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
  }

  .hero__dollar {
    font-size: clamp(6rem, 30vw, 12rem);
  }

  .multiplier-btn {
    padding: 0.625rem 1rem;
    min-width: 60px;
  }

  .receipt__body {
    padding: 1.5rem 1.25rem;
  }

  .receipt__meta {
    flex-direction: column;
    gap: 0.25rem;
  }

  .receipt__stamp {
    font-size: 0.625rem;
    right: 0.75rem;
  }

  .counter-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .counter-box__right {
    text-align: center;
  }
}
