/* ===================================
   GAMEIN — CSS THEME
   Fonts: Fraunces (headings) + Plus Jakarta Sans (body)
   Palette: Forest green / Cream / Amber
   =================================== */

:root {
  --green:      #1a3d1f;
  --green-mid:  #2d5c38;
  --green-light:#4a8a5a;
  --cream:      #f5f0e8;
  --cream-dark: #e8e0d0;
  --amber:      #d4a847;
  --amber-light:#e8c878;
  --ink:        #1c1c1c;
  --ink-muted:  #5a5a5a;
  --white:      #ffffff;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--green);
  letter-spacing: -0.01em;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding: 140px 48px 80px;
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 71, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(26, 61, 31, 0.4), transparent);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.72);
  max-width: 440px;
  font-weight: 400;
}

/* ---- HERO VISUAL (PHONE MOCKUP) ---- */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.phone-frame {
  background: #0f1f13;
  border-radius: 36px;
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
  max-width: 280px;
}

.phone-screen {
  background: var(--green-mid);
  border-radius: 32px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 16px;
}

.game-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sport-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

.sport-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.game-date {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.5);
  font-weight: 500;
}

.game-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
}

.rsvp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.rsvp-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cream);
}

.rsvp-avatar.in { background: rgba(34, 197, 94, 0.25); color: #4ade80; }
.rsvp-avatar.maybe { background: rgba(212, 168, 71, 0.25); color: var(--amber); }

.rsvp-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}

.rsvp-status.in { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.rsvp-status.maybe { background: rgba(212, 168, 71, 0.15); color: var(--amber); }

.game-link-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: rgba(245,240,232,0.4);
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ---- RSVP INDICATOR ---- */
.rsvp-indicator {
  display: flex;
  gap: 20px;
}

.rsvp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(245,240,232,0.7);
}

/* ---- HERO BOTTOM BAR ---- */
.hero-bottom-bar {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.hero-bottom-bar .sep { opacity: 0.3; }

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 80px 48px;
  background: var(--cream);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.manifesto-rule {
  height: 1px;
  background: var(--cream-dark);
  width: 100%;
}

blockquote p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--green);
  letter-spacing: -0.01em;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 48px;
  background: var(--cream);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  padding: 36px;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 40px rgba(26, 61, 31, 0.08);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ---- HOW IT WORKS ---- */
.howitworks {
  padding: 100px 48px;
  background: var(--green);
}

.howitworks-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.howitworks .section-label {
  color: rgba(245, 240, 232, 0.4);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 80px;
}

.step {
  flex: 1;
  padding: 0 40px 0 0;
}

.step-connector {
  width: 48px;
  height: 1px;
  background: rgba(212, 168, 71, 0.3);
  margin-top: 28px;
  flex-shrink: 0;
}

.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245,240,232,0.6);
}

/* ---- VS BANNER ---- */
.vs-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.vs-old, .vs-new {
  padding: 36px 40px;
}

.vs-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.5;
}

.vs-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(245,240,232,0.5);
}

.vs-new .vs-text {
  color: rgba(245,240,232,0.85);
  font-weight: 600;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--amber);
  opacity: 0.5;
  width: 60px;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

/* ---- CLOSER ---- */
.closer {
  padding: 100px 48px;
  background: var(--cream);
}

.closer-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closer-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
}

.closer-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
footer {
  padding: 48px;
  background: var(--green);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.4);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .site-nav { padding: 16px 24px; }

  .hero {
    padding: 120px 24px 60px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { align-items: center; }
  .phone-frame { max-width: 240px; }

  .feature-grid { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector { display: none; }

  .vs-banner { grid-template-columns: 1fr; }
  .vs-divider { display: none; }

  .manifesto, .features, .howitworks, .closer, footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 3px; }