/* ============================================================
   DUNSIN BANKOLE — FOOTBALL PITCH PORTFOLIO
   Design System & Global Styles
   ============================================================ */

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

:root {
  --pitch-green:    #1a5c2a;
  --pitch-green-2:  #1e6b31;
  --pitch-light:    #2a7a3e;
  --grass-bright:   #27ae60;
  --white:          #ffffff;
  --off-white:      #f0f4f0;
  --gold:           #e8c547;
  --gold-dark:      #c9a832;
  --neon-green:     #39ff6e;
  --dark:           #0a1a10;
  --dark-2:         #0f2318;
  --mid-dark:       #152d1e;
  --card-bg:        #0d1f15;
  --line-white:     rgba(255,255,255,0.85);
  --text-muted:     rgba(255,255,255,0.55);

  --font-display:   'Bebas Neue', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(57,255,110,0.25);
  --shadow-gold: 0 0 20px rgba(232,197,71,0.3);
}

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================================
   LOADER SPLASH
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-pitch {
  width: 80px;
  height: 80px;
  position: relative;
}

.loader-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--neon-green);
  border-right-color: var(--gold);
  animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

.loader-ball {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  animation: loaderSpin 2s linear infinite reverse;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  animation: livePulse 1s ease-in-out infinite;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ------------ Scrollbar ------------ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--pitch-light); border-radius: 3px; }

/* ============================================================
   NAV
   ============================================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(10, 26, 16, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

#main-nav.scrolled {
  background: rgba(10, 26, 16, 0.92);
  backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(232,197,71,0.5);
}

.nav-name {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.8);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--dark);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pitch-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a2010;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pitch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: pitchFadeIn 1.2s ease forwards;
}

@keyframes pitchFadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

.stadium-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0,0,0,0.7) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(0,0,0,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,0,0,0.15) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 2rem;
  animation: heroSlideUp 1s 0.4s ease both;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 40px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.matchday-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.live-badge {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ff4444;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(255,68,68,0.4);
  border-radius: var(--radius-pill);
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* Scoreboard */
.scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.club-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.club-crest {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.4));
}

.club-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 0 60px rgba(39,174,96,0.3);
  line-height: 1;
}

.score-box {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
  flex-shrink: 0;
}

.score {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(232,197,71,0.6);
}

.score-label {
  font-family: var(--font-condensed);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 0.3rem;
}

.hero-tagline-wrap { margin-bottom: 1.5rem; }

.hero-tagline {
  font-family: var(--font-condensed);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.pill {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(5px);
  color: rgba(255,255,255,0.85);
  transition: background 0.2s, border-color 0.2s;
}

.pill:hover {
  background: rgba(57,255,110,0.15);
  border-color: rgba(57,255,110,0.4);
}

.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero-scroll-cue:hover { transform: translateY(4px); }

.hero-scroll-cue span {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-ball {
  font-size: 1.5rem;
  animation: bounceBall 2s ease-in-out infinite;
}

@keyframes bounceBall {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ============================================================
   PENALTY KICK — GOAL CELEBRATION
   ============================================================ */
#football, #football-inner {
  transition: r 0.2s ease;
}
#football:hover {
  r: 12;
  filter: url(#softglow);
}

#goal-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.55) 0%, transparent 100%);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#goal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.goal-text {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 13rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow:
    0 0 40px rgba(232,197,71,0.9),
    0 0 80px rgba(232,197,71,0.5),
    0 8px 30px rgba(0,0,0,0.6);
  animation: goalPop 0.5s cubic-bezier(0.17, 0.89, 0.32, 1.4) both;
}

.goal-sub {
  font-family: var(--font-condensed);
  font-size: clamp(1rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  animation: goalPop 0.5s 0.12s cubic-bezier(0.17, 0.89, 0.32, 1.4) both;
}

.goal-crowd {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  animation: goalPop 0.5s 0.22s cubic-bezier(0.17, 0.89, 0.32, 1.4) both,
             crowdWave 0.6s 0.3s ease-in-out infinite alternate;
}

@keyframes goalPop {
  from { opacity: 0; transform: scale(0.3) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes crowdWave {
  from { transform: scale(1) rotate(-5deg); }
  to   { transform: scale(1.15) rotate(5deg); }
}

/* Net flash */
#goal-net-flash.flashing {
  animation: netFlash 0.12s ease-in-out 4 alternate;
}

@keyframes netFlash {
  from { fill: rgba(57,255,110,0); }
  to   { fill: rgba(57,255,110,0.7); }
}

/* Penalty hint tooltip */
#football-hint {
  position: absolute;
  top: calc(50% + 20px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  white-space: nowrap;
  animation: hintFade 3s 2s ease forwards;
  opacity: 0;
}

@keyframes hintFade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(0); }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}

@keyframes hintTextFade {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  overflow: hidden;
  background: var(--gold);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
}

.ticker-track .sep {
  font-size: 0.9rem;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.zone-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grass-bright);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-family: var(--font-condensed);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}

.section-header.light .zone-label { color: var(--neon-green); }
.section-header.light .section-title { color: var(--white); }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: var(--dark);
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
}

/* Subtle grass pattern watermark for about section */
#about::before {
  content: '⚽';
  position: absolute;
  right: -1rem;
  top: 4rem;
  font-size: 18rem;
  opacity: 0.015;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

#about > * { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}

/* Player Card — FIFA Style */
.player-card {
  background: linear-gradient(145deg, #1a6b35, #0d3b1e, #0a2810);
  border: 1px solid rgba(232,197,71,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.player-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(232,197,71,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(39,174,96,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.player-card:hover {
  transform: translateY(-8px) rotateY(3deg);
  box-shadow: var(--shadow-card), 0 0 50px rgba(57,255,110,0.3);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-rating {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(232,197,71,0.6);
}

.card-pos {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.8;
  margin-top: 0.5rem;
}

.card-flag {
  font-size: 1.5rem;
  margin-top: 0.3rem;
  margin-left: auto;
}

.card-silhouette {
  text-align: center;
  margin: 1rem 0;
}

.silhouette-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.avatar-ring {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(232,197,71,0.3);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%       { transform: scale(1.08); opacity: 0.7; }
}

.avatar-icon {
  font-size: 5rem;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.card-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-align: center;
  color: var(--white);
  letter-spacing: 0.1em;
  margin: 0.75rem 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.stat {
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.25rem;
  border: 1px solid rgba(255,255,255,0.07);
}

.stat-val {
  display: block;
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-key {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.card-club {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

/* About text */
.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.about-lead strong {
  color: var(--neon-green);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

.tag-group h4 {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(57,255,110,0.3);
  background: rgba(57,255,110,0.08);
  color: var(--neon-green);
  transition: background 0.2s, border-color 0.2s;
}

.chip:hover {
  background: rgba(57,255,110,0.2);
  border-color: rgba(57,255,110,0.6);
}

.chip.alt {
  border-color: rgba(232,197,71,0.3);
  background: rgba(232,197,71,0.08);
  color: var(--gold);
}

.chip.alt:hover {
  background: rgba(232,197,71,0.2);
  border-color: rgba(232,197,71,0.6);
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.social-link {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
#experience {
  padding: 0;
}

.pitch-bg-section {
  position: relative;
  background: var(--dark-2);
  padding: 6rem 2rem;
  overflow: hidden;
}

.pitch-lines-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 59px,
      rgba(255,255,255,0.025) 59px,
      rgba(255,255,255,0.025) 60px
    );
  pointer-events: none;
}

.pitch-lines-overlay::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.05);
}

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

/* Career blocks */
.career-timeline { display: flex; flex-direction: column; gap: 3rem; }

.career-block-label {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin-bottom: 1.25rem;
}

.career-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.career-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  cursor: pointer;
}

.career-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57,255,110,0.3);
  background: rgba(57,255,110,0.05);
}

.career-card.featured {
  border-color: rgba(232,197,71,0.2);
}

.career-card.featured:hover {
  border-color: rgba(232,197,71,0.5);
  background: rgba(232,197,71,0.04);
}

.career-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-year-badge {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

.career-badge {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(57,255,110,0.4);
  color: var(--neon-green);
}

.career-badge.current {
  animation: livePulse 2s ease-in-out infinite;
}

.career-role {
  font-family: var(--font-condensed);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.career-dept {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.career-company {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  transition: color 0.2s;
}

.career-company:hover { color: var(--gold-dark); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--neon-green), rgba(57,255,110,0.1));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.2s;
}

.timeline-item:hover { transform: translateX(4px); }
.timeline-item:last-child { border-bottom: none; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.6rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon-green);
  border: 2px solid var(--dark-2);
  box-shadow: 0 0 10px rgba(57,255,110,0.5);
}

.timeline-year {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  padding-top: 0.1rem;
}

.timeline-role {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 0.75rem;
}

.timeline-company.link {
  color: var(--gold);
  transition: color 0.2s;
}
.timeline-company.link:hover { color: var(--gold-dark); }

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.timeline-tags span {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   PROJECTS
   ============================================================ */
#projects {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

/* Filter buttons */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  background: transparent;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grass-bright);
  border-color: var(--grass-bright);
  color: var(--white);
  box-shadow: 0 0 20px rgba(39,174,96,0.3);
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39,174,96,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(57,255,110,0.3);
  box-shadow: 0 20px 50px rgba(57,255,110,0.1), 0 0 0 1px rgba(57,255,110,0.15);
}

.project-card:hover::after { opacity: 1; }

.project-card.hidden {
  display: none;
}

.proj-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  transition: color 0.3s;
  user-select: none;
}

.project-card:hover .proj-number {
  color: rgba(57,255,110,0.15);
}

.proj-content { position: relative; z-index: 1; }

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.proj-tags span {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(57,255,110,0.08);
  border: 1px solid rgba(57,255,110,0.2);
  color: var(--neon-green);
}

.proj-title {
  font-family: var(--font-condensed);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.proj-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.proj-link {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s, letter-spacing 0.2s;
  display: inline-block;
}

.proj-link:hover {
  color: var(--neon-green);
  letter-spacing: 0.15em;
}

.proj-pattern {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.proj-pattern::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--grass-bright), #1fa84d);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 8px 30px rgba(39,174,96,0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(39,174,96,0.5);
  background: linear-gradient(135deg, #31c55e, #27ae60);
}

.cta-icon {
  font-size: 1.2rem;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(232,197,71,0.4);
}

.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.4rem;
  display: block;
}

.stat-divider {
  font-size: 1.5rem;
  opacity: 0.25;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 0;
}

.goal-area-wrapper {
  position: relative;
  background: var(--dark-2);
  padding: 6rem 2rem;
  overflow: hidden;
}

.goal-net-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.goal-net-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(57,255,110,0.04) 0%, transparent 70%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  margin-top: 0.1rem;
}

.contact-label {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--white);
  transition: color 0.2s;
}

.contact-value:hover { color: var(--neon-green); }

.contact-cta-wrap {
  margin-bottom: 2rem;
}

.shoot-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--dark);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: var(--shadow-gold);
}

.shoot-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(232,197,71,0.5);
  background: var(--gold-dark);
}

.shoot-ball {
  font-size: 1.4rem;
  transition: transform 0.3s;
}

.shoot-btn:hover .shoot-ball {
  transform: translateX(6px) rotate(45deg);
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-social-pill {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}

.contact-social-pill:hover {
  color: var(--white);
  border-color: rgba(57,255,110,0.4);
  background: rgba(57,255,110,0.08);
  transform: translateY(-2px);
}

/* Formation card */
.formation-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.formation-title {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2rem;
}

.formation-viz {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.form-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: default;
}

.form-dot:hover {
  background: rgba(57,255,110,0.1);
  border-color: rgba(57,255,110,0.4);
  color: var(--neon-green);
  transform: scale(1.1);
}

.form-dot.gk {
  background: rgba(232,197,71,0.1);
  border-color: rgba(232,197,71,0.3);
  color: var(--gold);
}

.form-dot.striker {
  background: rgba(57,255,110,0.15);
  border-color: rgba(57,255,110,0.5);
  color: var(--neon-green);
  box-shadow: 0 0 20px rgba(57,255,110,0.3);
  font-size: 1rem;
}

.formation-label {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(232,197,71,0.4);
}

.footer-surname {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-desc {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   ANIMATIONS & INTERSECT
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .player-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .career-cards-row {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .scoreboard {
    flex-direction: column;
    gap: 1rem;
  }

  .club-name {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 600px) {
  .nav-links { display: none; }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .stats-bar {
    gap: 1.5rem;
  }

  .stat-divider { display: none; }

  section { padding: 4rem 1.25rem; }

  .section-title { font-size: 2.5rem; }

  .scoreboard { gap: 0.75rem; }

  .score-box { padding: 0.75rem 1rem; }

  .score { font-size: 2.5rem; }
}

/* ============================================================
   EXTRA POLISH DETAILS
   ============================================================ */

/* Section divider accent lines */
.pitch-bg-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57,255,110,0.3), transparent);
  pointer-events: none;
}

/* Glowing underline on hover for zone labels */
.zone-label {
  cursor: default;
  display: inline-block;
}

/* Project card gradient border on hover */
.project-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(57,255,110,0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.project-card:hover::before { opacity: 1; }

/* Timeline item accent on hover */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem; right: 0;
  top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(57,255,110,0.04), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.timeline-item { position: relative; }
.timeline-item:hover::before { opacity: 1; }

/* Smooth selection color */
::selection {
  background: rgba(57,255,110,0.25);
  color: var(--white);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
  border-radius: 4px;
}
