/* ============================================
   HAHA.NYC - Styles
   ============================================ */

:root {
  --bg: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --primary: #FFD700;
  --primary-dark: #e6c200;
  --text: #f0f0f0;
  --text-muted: #999999;
  --border: #333333;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #111;
  padding: 14px 32px;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-joke {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-joke:hover {
  background: var(--primary);
  color: #111;
}

.btn-lg {
  font-size: 1.15rem;
  padding: 18px 40px;
}

/* ---- Hero ---- */

.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(180deg, #1a1a00 0%, var(--bg) 100%);
}

.hero-title {
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}

.hero-title .dot {
  color: var(--primary);
}

.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 40px;
}

.joke-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 600px;
  margin: 0 auto 36px;
}

.joke-text {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 52px;
}

/* ---- Section Titles ---- */

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
}

/* ---- Tonight's Picks ---- */

.picks {
  padding: 80px 20px;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s;
}

.pick-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.pick-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.pick-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pick-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.pick-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---- Stats ---- */

.stats {
  padding: 80px 20px;
  background: var(--bg-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stats-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Newsletter ---- */

.newsletter {
  padding: 80px 20px;
  text-align: center;
}

.newsletter-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

/* ---- CTA ---- */

.cta {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #1a1a00 100%);
}

.cta-heading {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ---- Ad Slots ---- */

.ad-slot {
  padding: 20px 20px;
  text-align: center;
}

/* ---- Footer ---- */

.footer {
  padding: 48px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-text a {
  color: var(--primary);
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: #555;
  font-size: 0.8rem;
}

/* ---- Mobile ---- */

@media (max-width: 600px) {
  .hero {
    padding: 72px 16px 48px;
  }

  .joke-box {
    padding: 24px 20px;
  }

  .picks,
  .stats,
  .newsletter,
  .cta {
    padding: 56px 16px;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 16px 28px;
    width: 100%;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    min-width: unset;
  }

  .newsletter-form .btn {
    width: 100%;
    text-align: center;
  }
}
