/* GameWeek marketing site — palette taken from the app */
:root {
  --bg: #293033;
  --bg-band: #1F2F29;
  --bg-deep: #0f2b22;
  --green-dark: #034732;
  --green-mid: #137a5a;
  --green-surface: #327c63;
  --gold: #e1cc44;
  --text: #FFFFFF;
  --text-muted: #cdd6d2;
  --text-dim: #7d8e88;
  --red: #9B2226;
  --radius: 16px;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-display: 'Shrikhand', cursive;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.5px; }
.gold { color: var(--gold); }
.muted { color: var(--text-muted); }
.small { font-size: 0.8rem; }
.eliminated { color: #ff8a8a; font-weight: 600; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(41, 48, 51, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(225, 204, 68, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 40px; width: auto; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  white-space: nowrap;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--bg-deep) !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(19, 122, 90, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(3, 71, 50, 0.5), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 32em;
  margin-bottom: 32px;
}

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 12px;
  line-height: 1.25;
  transition: transform 0.15s, filter 0.15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-small { font-size: 0.7rem; font-weight: 400; opacity: 0.85; }
.btn-big { font-size: 1.15rem; font-weight: 600; }

.btn-gold { background: var(--gold); color: var(--bg-deep); }
.btn-outline {
  border: 2px solid var(--green-surface);
  color: var(--text);
  background: rgba(19, 122, 90, 0.15);
}

.cta-note { margin-top: 14px; color: var(--text-dim); font-size: 0.85rem; }

/* phone mockup */
.hero-phone { display: flex; justify-content: center; }

.phone {
  width: 290px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  padding: 52px 16px 22px;
  overflow: hidden;
}

.phone-header { display: flex; justify-content: center; margin-bottom: 12px; }
.phone-logo { height: 44px; width: auto; }

.phone-title {
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.fixture-card {
  background: var(--green-dark);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.fixture-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
}

.team { width: 3ch; }
.team:last-child { text-align: right; }

.score-box {
  background: var(--bg-deep);
  border: 1px solid var(--green-surface);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
}

.score-sep { color: var(--text-dim); }

.fixture-tag {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
}
.fixture-tag.banker { background: var(--gold); color: var(--bg-deep); }
.fixture-tag.exact { background: var(--green-mid); color: var(--text); }
.fixture-tag.result { background: rgba(205, 214, 210, 0.15); color: var(--text-muted); }

.phone-points {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--bg-deep);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.phone-points strong { font-size: 1.4rem; }

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.band { background: var(--bg-band); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
  text-align: center;
}

.section-lead {
  color: var(--text-muted);
  text-align: center;
  max-width: 40em;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.section-lead.left { text-align: left; margin-left: 0; }

/* feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid rgba(50, 124, 99, 0.4);
}

.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* scoring */
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.score-card {
  background: var(--bg-band);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  border: 1px solid rgba(50, 124, 99, 0.4);
}

.score-card.banker-card {
  background: linear-gradient(160deg, var(--green-dark), var(--bg-deep));
  border-color: var(--gold);
}

.score-points {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 14px;
}
.score-points span { font-size: 1.2rem; }

.score-card h3 { margin-bottom: 8px; }
.score-card p { color: var(--text-muted); font-size: 0.95rem; }

/* bottom cta */
.bottom-cta { text-align: center; background: linear-gradient(180deg, var(--bg-band), var(--bg-deep)); }
.bottom-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }

/* footer */
.site-footer {
  background: var(--bg-deep);
  padding: 40px 0;
  border-top: 1px solid rgba(225, 204, 68, 0.15);
}

.footer-inner { text-align: center; }
.footer-logo { height: 60px; width: auto; margin: 0 auto 12px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* legal pages */
.legal {
  max-width: 760px;
  padding-top: 60px;
  padding-bottom: 90px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 6px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 36px 0 10px;
  color: var(--gold);
}

.legal p { color: var(--text-muted); margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; color: var(--text-muted); }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--gold); }

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .feature-grid, .score-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-deep);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(225, 204, 68, 0.15);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links.legal-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: 16px;
    border: none;
  }
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }
}
