/* ═══════════════════════════════════════════
   U21 FOOTBALL — SHARED DESIGN SYSTEM
   Used by: home, scout landing, player landing
   ═══════════════════════════════════════════ */

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

/* ── DESIGN TOKENS ── */
:root {
  --night:  #0A0A0A;
  --night2: #111111;
  --card:   #1A1A1A;
  --card2:  #222222;
  --red:    #CC0000;
  --red-b:  #E00000;
  --red-dim: rgba(204, 0, 0, 0.12);
  --white:  #FFFFFF;
  --muted:  #AAAAAA;
  --border: rgba(255, 255, 255, 0.12);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
  background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
nav.scrolled { background: rgba(10, 10, 10, 0.98); }
.nav-logo img { height: 34px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-back {
  font-size: 13px; color: var(--muted); text-decoration: none;
  display: flex; align-items: center; gap: 7px; transition: color .2s;
}
.nav-back:hover { color: var(--white); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }

/* ── BUTTONS ── */
.btn-ghost {
  background: none; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white);
  padding: 7px 18px; border-radius: 4px; font-size: 13px; cursor: pointer;
  text-decoration: none; transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--white); }

.btn-red {
  background: var(--red); color: var(--white); font-weight: 700;
  padding: 7px 20px; border-radius: 4px; font-size: 13px; cursor: pointer;
  text-decoration: none; border: none; transition: background .2s;
  text-transform: uppercase; letter-spacing: .5px;
}
.btn-red:hover { background: var(--red-b); }

.btn-red-lg {
  background: var(--red); color: var(--white); font-weight: 800;
  padding: 16px 36px; border-radius: 4px; font-size: 15px; text-decoration: none;
  text-transform: uppercase; letter-spacing: 1px; transition: background .2s;
}
.btn-red-lg:hover { background: var(--red-b); }

.btn-outline-lg {
  background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white);
  padding: 16px 36px; border-radius: 4px; font-size: 15px; text-decoration: none;
  transition: border-color .2s;
}
.btn-outline-lg:hover { border-color: var(--white); }

.btn-white-lg {
  background: var(--white); color: var(--night); font-weight: 800;
  padding: 16px 36px; border-radius: 4px; font-size: 15px; text-decoration: none;
  text-transform: uppercase; letter-spacing: 1px; transition: background .2s;
}
.btn-white-lg:hover { background: #E0E0E0; }

/* ── FOCUS-VISIBLE ── */
a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.btn-red-lg:focus-visible,
.btn-outline-lg:focus-visible,
.btn-white-lg:focus-visible,
.btn-red:focus-visible,
.btn-ghost:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ── UTILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--white); color: var(--night); font-weight: 700;
  padding: 0.5rem 1rem; z-index: 1000; border-radius: 0 0 4px 4px;
  text-decoration: none; font-size: 14px;
}
.skip-link:focus { top: 0.5rem; }

/* ── SECTION TYPOGRAPHY ── */
section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* Eyebrow — JetBrains Mono overline */
.eyebrow,
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 3px; color: var(--red);
  text-transform: uppercase; margin-bottom: 12px;
}

/* Title — Bebas Neue display */
.sec-title,
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4vw, 56px); line-height: 1; margin-bottom: 16px;
}
.sec-title .accent,
.section-title .accent { color: var(--red); }

/* Subtitle */
.sec-sub,
.section-sub {
  color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 540px;
}

.section-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
@media (min-width: 576px) {
  .section-header { align-items: flex-end; margin-bottom: 2rem; gap: 1rem; }
}

.see-all {
  font-size: 13px; color: var(--red); text-decoration: underline;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: gap .2s;
}
.see-all:hover { gap: 10px; }

/* ── FOOTER ── */
footer {
  background: var(--night); border-top: 1px solid var(--border);
  padding: 0;
}
.footer-top {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding: 3rem 1rem; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 576px) {
  .footer-top { grid-template-columns: 1fr 1fr; padding: 3rem 2rem; }
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr; padding: 4rem 5rem; }
}
@media (min-width: 1200px) {
  .footer-top { padding: 4rem 10rem; }
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 0.5px; margin-bottom: 1rem; color: var(--white); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1.5rem 1rem; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted); text-align: center;
}
@media (min-width: 576px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; padding: 1.5rem 2rem; text-align: left; }
}
@media (min-width: 1200px) {
  .footer-bottom { padding: 1.5rem 10rem; }
}
.footer-bottom a {
  color: var(--muted); text-decoration: none; margin-left: 1.5rem; transition: color .2s;
}
.footer-bottom a:hover { color: var(--white); }

/* Simple footer (landing pages variant) */
.footer-simple {
  background: var(--night); border-top: 1px solid var(--border);
  padding: 32px 5%; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-simple img { height: 30px; }
.footer-simple .footer-links { display: flex; gap: 20px; }
.footer-simple .footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-simple .footer-links a:hover { color: var(--white); }
.footer-simple p { font-size: 12px; color: var(--muted); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .5s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 900px) {
  .footer-simple { flex-direction: column; text-align: center; gap: 12px; }
  .footer-simple .footer-links { justify-content: center; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-bottom a { margin-left: 0; margin: 0 0.75rem; }
}
@media (max-width: 600px) {
  section { padding: 50px 4%; }
  .btn-red-lg,
  .btn-outline-lg,
  .btn-white-lg { padding: 14px 24px; font-size: 14px; }
  .section-header { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.min-h-25 {
    min-height: 25vh;
}
.min-h-50 {
    min-height: 50vh;
}
.min-h-75 {
    min-height: 75vh;
}
