/* ===== ROOT VARIABLES ===== */
:root {
  --bg: #050510;
  --bg-2: #0a0a1c;
  --bg-3: #12122a;
  --fg: #f4f4f8;
  --fg-mute: #b0b0c8;
  --fg-dim: #7878a0;
  --messi: #75ABDD;
  --messi-2: #B4D1ED;
  --messi-deep: #4A87C2;
  --ronaldo: #DC1A35;
  --ronaldo-2: #FA4258;
  --ronaldo-deep: #8C0B1F;
  --gold: #FFD700;
  --gold-2: #FFA000;
  --gold-soft: rgba(255, 215, 0, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --shadow-1: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 16px 64px rgba(0, 0, 0, 0.55);
  --shadow-glow-m: 0 0 60px rgba(117, 171, 221, 0.35);
  --shadow-glow-r: 0 0 60px rgba(220, 26, 53, 0.35);
  --shadow-glow-gold: 0 0 60px rgba(255, 215, 0, 0.25);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
  --grad-messi: linear-gradient(135deg, #75ABDD, #4A87C2);
  --grad-ronaldo: linear-gradient(135deg, #FA4258, #8C0B1F);
  --grad-gold: linear-gradient(135deg, #FFD700, #FFA000);
  --grad-rivalry: linear-gradient(90deg, #75ABDD 0%, #FFD700 50%, #DC1A35 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Heebo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at top right, rgba(220, 26, 53, 0.08), transparent 60%),
    radial-gradient(ellipse 80% 50% at top left, rgba(117, 171, 221, 0.08), transparent 60%),
    radial-gradient(ellipse 100% 60% at bottom, rgba(255, 215, 0, 0.04), transparent 70%);
  background-attachment: fixed;
}

::selection {
  background: var(--gold);
  color: #000;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0;
  background: var(--grad-rivalry);
  z-index: 9999;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(20px);
  mix-blend-mode: screen;
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

/* ===== LIVE BADGE ===== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-smooth) 0.2s forwards;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4060;
  box-shadow: 0 0 10px #ff4060;
  animation: livePulse 1.6s ease-in-out infinite;
}

.live-dot.small {
  width: 6px;
  height: 6px;
}

.live-text {
  color: #ff6080;
  font-weight: 900;
}

.live-time {
  color: var(--fg-mute);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

/* ===== LIVE LABEL ===== */
.live-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: rgba(255, 80, 80, 0.1) !important;
  border-color: rgba(255, 80, 80, 0.35) !important;
  color: #ff8095 !important;
}

.src-tag {
  display: inline-block;
  font-family: 'Bebas Neue', monospace;
  background: rgba(255,215,0,0.1);
  color: var(--gold);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.95em;
  letter-spacing: 1px;
  border: 1px solid rgba(255,215,0,0.2);
}

.data-source-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 500;
}

.source-chip i {
  color: var(--gold);
  font-size: 12px;
}

.source-chip strong {
  color: var(--fg);
  font-weight: 700;
}

.data-live-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ff8095;
  margin-top: 12px;
}

.data-live-note i {
  font-size: 8px;
  animation: livePulse 1.6s ease-in-out infinite;
}

/* ===== FRESH DATA FLASH ===== */
.fresh-flash {
  animation: freshFlash 0.8s var(--ease-smooth);
}

@keyframes freshFlash {
  0% { color: var(--gold); text-shadow: 0 0 20px var(--gold); transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ===== MAGNETIC ===== */
.magnetic {
  transition: transform 0.3s var(--ease-spring);
}

/* ===== GLASS ===== */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.12) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.35s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -1px;
  transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo .logo-10 {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-logo .logo-vs {
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 600;
  margin: 0 4px;
}
.nav-logo .logo-7 {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-mute);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--grad-rivalry);
  transition: width 0.35s var(--ease-smooth);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  color: var(--fg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(110%);
  transform: scale(1.1);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(5,5,16,0.5) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(5,5,16,0.6) 0%, transparent 30%, var(--bg) 100%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  animation: heroImgIn 1.8s var(--ease-smooth) 0.5s forwards;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: contrast(1.1) saturate(1.2);
}

.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 12px var(--gold);
  animation: particleFloat 8s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 600;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 0.6s forwards;
}

.hero-tagline .line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-mute), transparent);
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'Bebas Neue', 'Frank Ruhl Libre', serif;
  font-size: clamp(96px, 22vw, 280px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -2px;
  margin-bottom: 40px;
}

.title-10, .title-7 {
  position: relative;
  display: inline-block;
}

.title-10 {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 100px rgba(117, 171, 221, 0.45);
  opacity: 0;
  transform: translateX(-120px) rotate(-5deg);
  animation: slideInRight 1.1s var(--ease-spring) 0.8s forwards;
}

.title-vs {
  font-family: 'Heebo', sans-serif;
  font-size: 0.28em;
  font-weight: 800;
  color: var(--fg);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  opacity: 0;
  transform: scale(0) rotate(180deg);
  animation: popIn 0.7s var(--ease-spring) 1.3s forwards;
  letter-spacing: 2px;
}

.title-7 {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 100px rgba(220, 26, 53, 0.45);
  opacity: 0;
  transform: translateX(120px) rotate(5deg);
  animation: slideInLeft 1.1s var(--ease-spring) 0.8s forwards;
}

.hero-names {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 1.5s forwards;
}

.hn-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-dim);
}

.hn-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-name.messi-color .hn-name {
  color: var(--messi-2);
  text-shadow: 0 0 40px rgba(117, 171, 221, 0.6);
}

.hero-name.ronaldo-color .hn-name {
  color: var(--ronaldo-2);
  text-shadow: 0 0 40px rgba(220, 26, 53, 0.6);
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--fg-mute);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 44px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 1.7s forwards;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-smooth) 1.9s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
  border: 1px solid var(--glass-border);
}

.hero-cta.primary {
  background: var(--grad-rivalry);
  color: #fff;
  box-shadow: 0 8px 32px rgba(150, 100, 100, 0.4);
  border-color: transparent;
}

.hero-cta.primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 44px rgba(150, 100, 100, 0.6);
}

.hero-cta.secondary {
  background: rgba(255,255,255,0.04);
  color: var(--fg-mute);
  backdrop-filter: blur(10px);
}

.hero-cta.secondary:hover {
  background: rgba(255,255,255,0.08);
  color: var(--fg);
  transform: translateY(-3px);
}

.hero-cta i {
  font-size: 13px;
  animation: bounce 1.5s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 2px solid var(--fg-mute);
  border-radius: 14px;
  z-index: 3;
  opacity: 0.6;
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--fg);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ===== SECTION COMMONS ===== */
section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 100px;
}

.section-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.section-title .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.section-title .accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0.3;
  border-radius: 100px;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-mute);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

.subsection-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  margin: 80px 0 40px;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.subsection-title .title-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.5em;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  letter-spacing: 4px;
}

/* ===== STATS SECTION ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.stat-card {
  padding: 28px;
  text-align: center;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
  transform-style: preserve-3d;
}

.stat-card:hover {
  box-shadow: var(--shadow-2);
}

.stat-card.legendary-stat {
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-glow-gold);
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 14px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 26px;
  font-weight: 700;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.stat-side {
  flex: 1;
}

.stat-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-side.messi .stat-name { color: var(--messi-2); }
.stat-side.ronaldo .stat-name { color: var(--ronaldo-2); }

.stat-value {
  font-family: 'Bebas Neue', 'Frank Ruhl Libre', serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.stat-side.messi .stat-value {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-side.ronaldo .stat-value {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-divider {
  font-size: 13px;
  color: var(--fg-dim);
  font-weight: 800;
  letter-spacing: 2px;
}

.stat-winner {
  font-size: 13px;
  font-weight: 600;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stat-winner.messi { color: var(--messi-2); }
.stat-winner.ronaldo { color: var(--ronaldo-2); }

.stat-winner i {
  font-size: 12px;
}

/* ===== PLAYER SECTIONS ===== */
.player-section {
  position: relative;
  overflow: hidden;
}

.player-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.player-section.messi-section::before {
  top: -100px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(117, 171, 221, 0.18), transparent 65%);
}

.player-section.ronaldo-section::before {
  top: -100px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(220, 26, 53, 0.18), transparent 65%);
}

.player-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.player-intro.reverse {
  flex-direction: row-reverse;
}

.player-number-wrap {
  position: relative;
  flex-shrink: 0;
}

.player-number {
  font-family: 'Bebas Neue', serif;
  font-size: clamp(160px, 24vw, 320px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -4px;
  position: relative;
  z-index: 2;
}

.player-number.messi-color {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 120px rgba(117, 171, 221, 0.4);
}

.player-number.ronaldo-color {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 120px rgba(220, 26, 53, 0.4);
}

.player-number-shadow {
  position: absolute;
  inset: 0;
  font-family: 'Bebas Neue', serif;
  font-size: clamp(160px, 24vw, 320px);
  font-weight: 900;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  z-index: 1;
  transform: translate(8px, 8px);
}

.player-info {
  flex: 1;
  min-width: 280px;
}

.player-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 100px;
}

.player-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 500;
}

.player-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.player-meta i {
  color: var(--gold);
  font-size: 12px;
}

.player-bio {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.8;
  color: var(--fg-mute);
  max-width: 920px;
  margin: 0 auto 50px;
  padding: 32px;
  background: var(--glass-bg);
  border-right: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 500;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.player-image-card {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.player-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-smooth), filter 0.6s;
  filter: contrast(1.05) saturate(1.1);
}

.player-image-card:hover img {
  transform: scale(1.08);
  filter: contrast(1.1) saturate(1.2);
}

.image-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(5,5,16,0.95), rgba(5,5,16,0.4) 60%, transparent);
  z-index: 2;
}

.caption-year {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.caption-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

/* ===== PEAK YEARS ===== */
.peak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.peak-card {
  padding: 32px;
  position: relative;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.peak-card:hover {
  transform: translateY(-6px);
}

.messi-section .peak-card:hover { box-shadow: var(--shadow-glow-m); }
.ronaldo-section .peak-card:hover { box-shadow: var(--shadow-glow-r); }

.peak-card.featured {
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.04));
}

.peak-card.legendary {
  border-color: rgba(255, 215, 0, 0.55);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(255, 165, 0, 0.06));
  box-shadow: 0 0 80px rgba(255, 215, 0, 0.18);
}

.peak-flag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--grad-gold);
  color: #000;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.peak-year {
  font-family: 'Bebas Neue', serif;
  font-size: 56px;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 12px;
}

.peak-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 22px;
  font-family: 'Frank Ruhl Libre', serif;
}

.peak-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.peak-stats > div {
  flex: 1;
  min-width: 80px;
  font-size: 12px;
  color: var(--fg-mute);
  font-weight: 600;
}

.peak-stats span {
  display: block;
  font-family: 'Bebas Neue', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0;
}

.peak-card p {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.75;
}

/* ===== YEARLY COMPARISON ===== */
.year-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 50px;
  justify-content: center;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}

.year-btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-mute);
  background: transparent;
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease-spring);
  min-width: 76px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.year-btn:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.year-btn.active {
  background: var(--grad-rivalry);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(150, 100, 100, 0.4);
  transform: scale(1.05);
}

.year-result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.year-card {
  padding: 32px;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.year-card.messi-bg {
  background:
    linear-gradient(135deg, rgba(117, 171, 221, 0.08), rgba(117, 171, 221, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.year-card.ronaldo-bg {
  background:
    linear-gradient(135deg, rgba(220, 26, 53, 0.08), rgba(220, 26, 53, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.year-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--glass-border);
}

.player-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', serif;
  font-size: 32px;
  font-weight: 900;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
}

.player-badge.messi-color {
  color: var(--messi-2);
  text-shadow: 0 0 24px rgba(117, 171, 221, 0.6);
  border-color: rgba(117, 171, 221, 0.3);
}

.player-badge.ronaldo-color {
  color: var(--ronaldo-2);
  text-shadow: 0 0 24px rgba(220, 26, 53, 0.6);
  border-color: rgba(220, 26, 53, 0.3);
}

.year-player-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.year-card-sub {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.year-club {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 12px 18px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  display: inline-block;
}

.year-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.ystat {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
}

.ystat-num {
  font-family: 'Bebas Neue', serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ystat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 600;
}

.year-trophies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  min-height: 32px;
}

.trophy-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(255,215,0,0.16), rgba(255,165,0,0.08));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 100px;
  color: var(--gold);
}

.year-highlight {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.7;
  padding: 16px 18px;
  background: rgba(255,255,255,0.025);
  border-right: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}

.year-vs {
  align-self: center;
  position: relative;
}

.year-vs span {
  font-family: 'Bebas Neue', serif;
  font-size: 52px;
  font-weight: 900;
  background: var(--grad-rivalry);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 4px;
  display: block;
  padding: 16px;
}

/* ===== HEAD TO HEAD ===== */
.head2head {
  background: linear-gradient(180deg, transparent, rgba(255,215,0,0.03), transparent);
}

.h2h-main {
  padding: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.h2h-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s;
}

.h2h-row:last-child {
  border-bottom: none;
}

.h2h-row:hover:not(.h2h-header) {
  background: rgba(255,255,255,0.02);
}

.h2h-header {
  background: linear-gradient(90deg, rgba(117,171,221,0.08), rgba(255,215,0,0.06), rgba(220,26,53,0.08));
  padding: 28px;
}

.h2h-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.h2h-side.ronaldo {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.h2h-num {
  font-family: 'Bebas Neue', serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
}

.h2h-side.messi .h2h-num {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2h-side.ronaldo .h2h-num {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2h-name {
  font-size: 20px;
  font-weight: 800;
}

.h2h-vs {
  text-align: center;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.h2h-val {
  font-family: 'Bebas Neue', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.h2h-val.messi {
  text-align: right;
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2h-val.ronaldo {
  text-align: left;
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2h-stat {
  text-align: center;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 600;
}

.h2h-row.highlighted {
  background: linear-gradient(90deg, rgba(117,171,221,0.06), rgba(255,215,0,0.1), rgba(220,26,53,0.06));
}

.h2h-row.highlighted .h2h-stat {
  color: var(--gold);
  font-weight: 800;
}

.h2h-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.h2h-note {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.h2h-note i {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.h2h-note p {
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.7;
}

/* ===== TROPHY CABINET ===== */
.trophy-feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}

.trophy-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}

.trophy-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trophy-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,16,0.5));
  pointer-events: none;
}

.trophy-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bar-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: center;
}

.bar-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.bar-pair {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  height: 36px;
  overflow: hidden;
  position: relative;
}

.bar {
  height: 100%;
  width: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  font-weight: 800;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
  transition: width 1.4s var(--ease-spring);
  position: relative;
}

.bar.animate {
  width: var(--w);
}

.bar.messi {
  background: var(--grad-messi);
  box-shadow: 0 4px 18px rgba(117, 171, 221, 0.3);
}

.bar.ronaldo {
  background: var(--grad-ronaldo);
  box-shadow: 0 4px 18px rgba(220, 26, 53, 0.3);
}

.bar.zero {
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.15);
  padding: 0 16px;
  width: 60px !important;
}

.bar.zero span {
  color: var(--fg-dim);
}

.bar span {
  position: relative;
  z-index: 2;
}

.highlight-row .bar-label {
  color: var(--gold);
  font-weight: 800;
  position: relative;
}

.highlight-row .bar-label::before {
  content: '🏆';
  margin-left: 8px;
}

/* ===== RECORDS / GOAL TYPES ===== */
.goals-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.gtype-card {
  padding: 32px;
  transition: transform 0.4s var(--ease-spring);
}

.gtype-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.gtype-card > i {
  font-size: 36px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: block;
}

.gtype-card h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.gtype-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.gtype-side {
  text-align: center;
}

.gtype-side span {
  font-family: 'Bebas Neue', serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.gtype-side label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 700;
}

.gtype-side.messi span {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gtype-side.ronaldo span {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gtype-card p {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.7;
}

/* ===== PER COMPETITION ===== */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.comp-card {
  padding: 28px;
  transition: transform 0.4s var(--ease-spring);
}

.comp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.comp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.comp-head i {
  font-size: 24px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comp-head h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  font-weight: 800;
}

.comp-stats {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.comp-side {
  text-align: center;
  min-width: 60px;
}

.comp-side span {
  display: block;
  font-family: 'Bebas Neue', serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.comp-side label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 700;
}

.comp-side.messi span {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comp-side.ronaldo span {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comp-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.comp-fill {
  height: 10px;
  border-radius: 100px;
  width: 0;
  transition: width 1.5s var(--ease-spring);
}

.comp-fill.animate {
  width: var(--w);
}

.comp-fill.messi {
  background: var(--grad-messi);
  box-shadow: 0 2px 12px rgba(117, 171, 221, 0.3);
}

.comp-fill.ronaldo {
  background: var(--grad-ronaldo);
  box-shadow: 0 2px 12px rgba(220, 26, 53, 0.3);
}

.comp-card p {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.7;
}

/* ===== BY AGE ===== */
.age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.age-card {
  padding: 28px;
  transition: transform 0.3s var(--ease-spring);
}

.age-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.age-label {
  font-family: 'Bebas Neue', serif;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255,215,0,0.2);
}

.age-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.age-side {
  text-align: center;
}

.age-side span {
  display: block;
  font-family: 'Bebas Neue', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.age-side label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 700;
}

.age-side.messi span {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.age-side.ronaldo span {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.age-bar {
  height: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  overflow: hidden;
  display: flex;
}

.age-fill {
  height: 100%;
  width: 0;
  transition: width 1.4s var(--ease-spring);
}

.age-fill.animate {
  width: var(--w);
}

.age-fill.messi {
  background: var(--grad-messi);
}

.age-fill.ronaldo {
  background: var(--grad-ronaldo);
  margin-right: 2px;
}

.age-note {
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.7;
}

.age-note i {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ===== RECORDS ===== */
.records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.record-card {
  padding: 32px 28px;
  position: relative;
  text-align: center;
  transition: transform 0.4s var(--ease-spring);
  overflow: hidden;
}

.record-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.06), transparent 60%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

.record-card:hover {
  transform: translateY(-6px);
}

.record-card > * {
  position: relative;
  z-index: 2;
}

.record-icon {
  font-size: 32px;
  margin-bottom: 16px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.record-holder {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.record-holder.messi {
  background: rgba(117, 171, 221, 0.15);
  color: var(--messi-2);
  border: 1px solid rgba(117, 171, 221, 0.3);
}

.record-holder.ronaldo {
  background: rgba(220, 26, 53, 0.15);
  color: var(--ronaldo-2);
  border: 1px solid rgba(220, 26, 53, 0.3);
}

.record-holder.both {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.record-value {
  font-family: 'Bebas Neue', serif;
  font-size: 86px;
  font-weight: 900;
  line-height: 0.9;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.record-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 6px;
  line-height: 1.3;
}

.record-year {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 600;
  margin-bottom: 18px;
}

.record-card p {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.65;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

/* ===== QUOTES ===== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 24px;
}

.quote-card {
  padding: 36px;
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}

.quote-card:hover {
  transform: translateY(-6px);
}

.quote-card.featured-quote {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 215, 0, 0.3);
}

.quote-mark {
  font-size: 44px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
  margin-bottom: 14px;
  display: block;
}

.quote-card blockquote {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 26px;
  letter-spacing: -0.3px;
}

.featured-quote blockquote {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.quote-card figcaption {
  border-top: 1px solid var(--glass-border);
  padding-top: 18px;
}

.quote-card figcaption strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.quote-card figcaption span {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.6;
}

/* ===== MODERN ERA ===== */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 28px;
}

.modern-card {
  padding: 0;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
  overflow: hidden;
}

.modern-card:hover {
  transform: translateY(-6px);
}

.modern-card.messi-bg:hover {
  box-shadow: var(--shadow-glow-m);
}

.modern-card.ronaldo-bg:hover {
  box-shadow: var(--shadow-glow-r);
}

.modern-card.messi-bg {
  background:
    linear-gradient(135deg, rgba(117, 171, 221, 0.1), rgba(255, 255, 255, 0.03));
}

.modern-card.ronaldo-bg {
  background:
    linear-gradient(135deg, rgba(220, 26, 53, 0.1), rgba(255, 255, 255, 0.03));
}

.modern-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.modern-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-smooth);
}

.modern-card:hover .modern-img img {
  transform: scale(1.06);
}

.modern-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,16,0.6));
  pointer-events: none;
}

.modern-info {
  padding: 32px;
}

.modern-club {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  padding: 8px 14px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 100px;
  margin-bottom: 20px;
}

.modern-card h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  margin-bottom: 24px;
}

.modern-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.modern-stats > div {
  text-align: center;
  padding: 18px 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  font-size: 12px;
  color: var(--fg-mute);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.04);
}

.modern-stats span {
  display: block;
  font-family: 'Bebas Neue', serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modern-card p {
  color: var(--fg-mute);
  line-height: 1.8;
  font-size: 15px;
}

/* ===== VERDICT ===== */
.verdict {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.verdict-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at center, rgba(255, 215, 0, 0.1), transparent 70%),
    radial-gradient(ellipse 50% 40% at top, rgba(117, 171, 221, 0.06), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.verdict-content {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.verdict-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 900;
  line-height: 0.82;
  margin: 24px 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-2), #FFE890, var(--gold-2), var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -3px;
  animation: shimmerText 5s ease-in-out infinite;
}

.verdict-subtitle {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 70px;
  line-height: 1.4;
  font-family: 'Frank Ruhl Libre', serif;
}

.verdict-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 70px;
  text-align: right;
}

.vpoint {
  display: flex;
  gap: 16px;
  padding: 26px;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.vpoint:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.4);
}

.vpoint > i {
  font-size: 30px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

.vpoint strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.vpoint span {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.7;
}

.verdict-final {
  padding: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-align: center;
  box-shadow: var(--shadow-glow-gold);
}

.verdict-final .vfp {
  font-size: 18px;
  color: var(--fg-mute);
  margin-bottom: 20px;
  line-height: 1.8;
}

.verdict-final .vfp.big {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--fg);
  font-weight: 600;
}

.verdict-final .vfp.signature {
  font-size: 18px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-top: 28px;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
  padding: 70px 0 50px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background: rgba(5,5,16,0.6);
}

.footer-logo {
  font-family: 'Bebas Neue', serif;
  font-size: 56px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.footer-logo .logo-10 {
  background: var(--grad-messi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-logo .logo-vs {
  font-size: 18px;
  color: var(--fg-dim);
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  margin: 0 6px;
}
.footer-logo .logo-7 {
  background: var(--grad-ronaldo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-text {
  font-size: 14px;
  color: var(--fg-mute);
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-text.small {
  font-size: 12px;
  color: var(--fg-dim);
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-dim);
  margin: 20px 0;
}

.footer-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: var(--fg-dim);
}

.footer-sub a {
  color: var(--fg-mute);
  transition: color 0.2s;
}

.footer-sub a:hover {
  color: var(--gold);
}

/* ===== ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}

@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes popIn {
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes heroImgIn {
  to { opacity: 1; }
}

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

@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}

@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(var(--drift, 50px)); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .trophy-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quote-card.featured-quote {
    grid-column: span 1;
  }

  .featured-quote blockquote {
    font-size: 24px;
  }
}

@media (max-width: 980px) {
  .year-result {
    grid-template-columns: 1fr;
  }

  .year-vs {
    text-align: center;
  }

  .year-vs span {
    font-size: 36px;
    padding: 8px;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .h2h-row {
    padding: 18px 20px;
  }

  .h2h-num {
    font-size: 44px;
  }

  .h2h-name {
    font-size: 16px;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(24px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  section {
    padding: 70px 0;
  }

  .hero-names {
    gap: 32px;
  }

  .player-intro {
    flex-direction: column;
    text-align: center;
  }

  .player-intro.reverse {
    flex-direction: column;
  }

  .player-info {
    text-align: center !important;
  }

  .player-meta {
    justify-content: center;
  }

  .player-bio {
    text-align: right;
    padding: 24px;
  }

  .player-number {
    font-size: 200px;
  }

  .modern-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
  }

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

  .quote-card blockquote {
    font-size: 18px;
  }

  .featured-quote blockquote {
    font-size: 22px;
  }

  .year-btn {
    min-width: 64px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .h2h-row {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .h2h-side {
    justify-content: center !important;
    flex-direction: row !important;
  }

  .h2h-header {
    padding: 18px;
  }

  .h2h-stat {
    padding: 6px 0;
  }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
