/* ===================================================================
   UNITED AFRICA PEACE CUP — Stylesheet
   =================================================================== */

:root {
  --bg: #0a0f0d;
  --bg-alt: #0d1512;
  --surface: #121b17;
  --surface-2: #16211c;
  --border: rgba(255, 255, 255, 0.08);

  --text: #f4f7f5;
  --text-muted: #a9b6b0;
  --text-faint: #74857e;

  --green: #16a34a;
  --green-dark: #0d6b32;
  --green-bright: #22c55e;
  --gold: #f2b705;
  --gold-soft: #ffd25a;
  --red: #e2483d;

  --gradient-brand: linear-gradient(120deg, var(--green-bright), var(--gold));
  --gradient-hero: radial-gradient(120% 120% at 15% 10%, rgba(34, 197, 94, 0.28), transparent 55%),
                   radial-gradient(120% 120% at 85% 90%, rgba(242, 183, 5, 0.18), transparent 55%);

  --shadow-lg: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 15px 35px -18px rgba(0, 0, 0, 0.55);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

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

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #06210f;
  box-shadow: 0 12px 30px -10px rgba(34, 197, 94, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(34, 197, 94, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--green-bright);
  color: var(--green-bright);
}

.btn-outline:hover {
  background: rgba(34, 197, 94, 0.1);
  transform: translateY(-2px);
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-brand);
  font-size: 1.1rem;
}

.brand-text { letter-spacing: 0.04em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #06210f !important;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-hero);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-1 {
  width: 460px;
  height: 460px;
  background: var(--green-bright);
  top: -120px;
  left: -100px;
}

.glow-2 {
  width: 380px;
  height: 380px;
  background: var(--gold);
  bottom: -140px;
  right: -80px;
  opacity: 0.35;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-soft);
  padding: 7px 16px;
  border: 1px solid rgba(242, 183, 5, 0.35);
  border-radius: 999px;
  margin-bottom: 24px;
  background: rgba(242, 183, 5, 0.06);
}

.hero h1 { color: var(--text); margin-bottom: 20px; }

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--green-bright);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.hero-lede {
  font-size: 1.08rem;
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-soft);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
  z-index: 1;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 3px;
  margin: 7px auto 0;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------------- Sections (generic) ---------------- */

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--green-bright);
  margin-bottom: 14px;
}

.kicker-light { color: var(--gold-soft); }

.section-lede {
  max-width: 640px;
  font-size: 1.08rem;
}

.fine-print {
  font-size: 0.88rem;
  color: var(--text-faint);
  margin-top: 22px;
}

/* ---------------- Call to Clubs ---------------- */

.call-clubs { text-align: center; }
.call-clubs h2 { margin-bottom: 32px; }

.role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.role-chip {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.call-lede { font-size: 1.1rem; margin-bottom: 6px; }
.call-strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 18px;
}

.call-shout {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}

/* ---------------- Feature grid ---------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 1.9rem;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; font-size: 0.96rem; }

/* ---------------- Eligibility ---------------- */

.eligibility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 10px;
}

.eligibility-row span {
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

/* ---------------- Steps ---------------- */

.steps {
  list-style: none;
  margin: 50px 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.step {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

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

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #06210f;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.step-body h3 { margin-bottom: 6px; }
.step-body p { margin: 0; }

.register-cta { margin-top: 10px; }

/* ---------------- Quote section ---------------- */

.section-quote { text-align: center; background: var(--bg-alt); }

.section-quote h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.quote-lines {
  margin-top: 36px;
  font-family: var(--font-display);
}

.quote-lines p {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  margin: 0.4em 0;
}

/* ---------------- Invitation Band ---------------- */

.section-band {
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(34, 197, 94, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-band h2 { color: var(--text); }

.band-lede {
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 1.08rem;
}

.band-shout {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--gold-soft);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.band-tagline {
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* ---------------- Partner ---------------- */

.partner-card {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(242,183,5,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.partner-info { max-width: 620px; }
.partner-info h3 { margin-bottom: 10px; font-size: 1.4rem; }
.partner-info p { margin: 0; }

/* ---------------- Contact ---------------- */

.section-contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px dashed rgba(242, 183, 5, 0.4);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.contact-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-value {
  font-weight: 600;
  color: var(--gold-soft);
  font-size: 1.02rem;
}

.todo-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

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

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.footer-motto { font-weight: 600; color: var(--text); margin: 0; }
.footer-lines { color: var(--text-faint); margin: 0 0 10px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 10px 0 18px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--green-bright); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}

/* ---------------- Reveal animation ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: rgba(10, 15, 13, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 4px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 8px;
    border-radius: 8px;
  }

  .main-nav a:hover { background: rgba(255,255,255,0.05); }

  .nav-cta { text-align: center; margin-top: 6px; }

  .nav-toggle { display: flex; }

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

  .partner-card { flex-direction: column; align-items: flex-start; }

  .hero { padding-top: 140px; }
}
