/* ============================================
   FC BARCELONA - ESTILOS PRINCIPALES
   ============================================ */

:root {
  --color-primary: #0038a8;
  --color-secondary: #ce1126;
  --color-accent: #ffc600;
  --color-bg: #0f0d0a;
  --color-text: #f5f5f5;
  --color-text-secondary: #b8b8b8;
  --color-border: #2a2a2a;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-secondary);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.barca-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */

.barca-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 13, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(206, 17, 38, 0.2);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: pointer;
}

.brand-icon {
  color: #0038a8;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.nav-brand:hover .brand-icon {
  transform: rotate(10deg) scale(1.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0038a8, #ce1126);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav-primary {
  background: linear-gradient(135deg, #0038a8, #ce1126);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(206, 17, 38, 0.3);
}

.btn-nav-primary::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, #0038a8, #ce1126);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-underline {
  height: 3px;
  background: linear-gradient(90deg, #0038a8, #ce1126, transparent);
  animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
  0%,
  100% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 30%;
    margin-left: 35%;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 60px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(0, 56, 168, 0.15) 0%,
    rgba(206, 17, 38, 0.05) 50%,
    transparent 100%
  );
  z-index: 0;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(0, 56, 168, 0.8), transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 10%;
  background: radial-gradient(circle, rgba(206, 17, 38, 0.6), transparent);
  animation-delay: 1s;
}

.particle:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 10%;
  left: 50%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  width: 50px;
  height: 50px;
  top: 20%;
  right: 30%;
  background: radial-gradient(circle, rgba(255, 198, 0, 0.4), transparent);
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  width: 70px;
  height: 70px;
  bottom: 20%;
  right: 20%;
  animation-delay: 2.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-50px) scale(1.1);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .word {
  display: block;
  animation: revealWord 0.8s ease-out forwards;
}

.hero-title .word:nth-child(1) {
  color: #0038a8;
  animation-delay: 0.1s;
}
.hero-title .word:nth-child(2) {
  color: #0038a8;
  animation-delay: 0.2s;
}
.hero-title .word:nth-child(3) {
  color: #ce1126;
  animation-delay: 0.3s;
}
.hero-title .word:nth-child(4) {
  color: #ce1126;
  animation-delay: 0.4s;
}

@keyframes revealWord {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #0038a8, #ce1126);
  color: white;
  box-shadow: 0 10px 30px rgba(206, 17, 38, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(206, 17, 38, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(0, 56, 168, 0.5);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(0, 56, 168, 0.1);
  border-color: #0038a8;
  color: #0038a8;
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
}

.hero-image {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.image-card {
  position: relative;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(206, 17, 38, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.05) 0%,
    rgba(206, 17, 38, 0.05) 100%
  );
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 56, 168, 0.1);
  border-bottom: 1px solid rgba(206, 17, 38, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 56, 168, 0.1);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 56, 168, 0.1);
  border-color: rgba(0, 56, 168, 0.3);
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.reveal-stat {
  animation: revealStat 0.8s ease-out forwards;
  opacity: 0;
}

.reveal-stat:nth-child(1) {
  animation-delay: 0.1s;
}
.reveal-stat:nth-child(2) {
  animation-delay: 0.2s;
}
.reveal-stat:nth-child(3) {
  animation-delay: 0.3s;
}
.reveal-stat:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes revealStat {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #0038a8, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

/* ============================================
   EQUIPO SECTION
   ============================================ */

.equipo-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 56, 168, 0.2);
  color: var(--color-text);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #0038a8, #ce1126);
  border-color: transparent;
  color: white;
  transform: scale(1.05);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.player-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 56, 168, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  animation: fadeInScale 0.6s ease-out forwards;
  opacity: 0;
}

.player-card:nth-child(1) {
  animation-delay: 0.05s;
}
.player-card:nth-child(2) {
  animation-delay: 0.1s;
}
.player-card:nth-child(3) {
  animation-delay: 0.15s;
}
.player-card:nth-child(4) {
  animation-delay: 0.2s;
}
.player-card:nth-child(5) {
  animation-delay: 0.25s;
}
.player-card:nth-child(6) {
  animation-delay: 0.3s;
}
.player-card:nth-child(7) {
  animation-delay: 0.35s;
}
.player-card:nth-child(8) {
  animation-delay: 0.4s;
}
.player-card:nth-child(9) {
  animation-delay: 0.45s;
}
.player-card:nth-child(10) {
  animation-delay: 0.5s;
}
.player-card:nth-child(11) {
  animation-delay: 0.55s;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.player-card:hover {
  transform: translateY(-10px);
  border-color: rgba(206, 17, 38, 0.5);
  box-shadow: 0 20px 40px rgba(206, 17, 38, 0.2);
}

.player-image {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.player-card:hover .player-img {
  transform: scale(1.1);
}

.player-number {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 10;
}

.player-card:hover .player-number {
  transform: scale(1.2);
  color: rgba(255, 255, 255, 0.4);
}

.player-info {
  padding: 1.5rem;
}

.player-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.player-position {
  color: #0038a8;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.player-nationality {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ============================================
   HISTORIA SECTION
   ============================================ */

.historia {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(0, 56, 168, 0.08) 0%,
    rgba(206, 17, 38, 0.05) 50%,
    rgba(0, 56, 168, 0.08) 100%
  );
  position: relative;
  overflow: hidden;
}

.historia::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 56, 168, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.historia::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(206, 17, 38, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.historia .barca-container {
  position: relative;
  z-index: 1;
}

.historia .section-title {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  animation: slideInUp 0.8s ease-out;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.historia .section-subtitle {
  font-size: 1.35rem;
  color: #d0d0d0;
  margin-bottom: 3rem;
  animation: slideInUp 0.8s ease-out 0.1s both;
  font-weight: 600;
}

.historia-intro {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.18) 0%,
    rgba(206, 17, 38, 0.12) 100%
  );
  border: 3px solid rgba(0, 56, 168, 0.35);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin-bottom: 5rem;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 0.8s ease-out 0.2s both;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 56, 168, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.historia-intro p {
  font-size: 1.2rem;
  color: #ffffff;
  line-height: 1.95;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #0038a8 0%,
    #ce1126 25%,
    #ffc600 50%,
    #ce1126 75%,
    #0038a8 100%
  );
  border-radius: 3px;
  box-shadow: 0 0 40px rgba(0, 56, 168, 0.4), 0 0 80px rgba(206, 17, 38, 0.2);
}

.timeline-item {
  margin-bottom: 4rem;
  animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  position: relative;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(7) {
  animation-delay: 0.7s;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffc600 0%, #ffb300 100%);
  border-radius: 50%;
  border: 5px solid #0f0d0a;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 50px rgba(255, 198, 0, 0.6), 0 0 100px rgba(255, 198, 0, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.25);
  box-shadow: 0 0 80px rgba(255, 198, 0, 0.8), 0 0 120px rgba(206, 17, 38, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.4);
}

.timeline-content {
  position: relative;
  padding: 2.8rem 2.5rem;
  margin-left: 52%;
  background: linear-gradient(
    135deg,
    rgba(255, 198, 0, 0.08) 0%,
    rgba(206, 17, 38, 0.06) 100%
  );
  border: 2.5px solid rgba(255, 198, 0, 0.25);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 198, 0, 0.08);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 198, 0, 0.15),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.timeline-item:hover .timeline-content::before {
  left: 100%;
}

.timeline-item:hover .timeline-content {
  border-color: rgba(255, 198, 0, 0.5);
  background: linear-gradient(
    135deg,
    rgba(255, 198, 0, 0.12) 0%,
    rgba(206, 17, 38, 0.08) 100%
  );
  box-shadow: 0 20px 60px rgba(255, 198, 0, 0.15);
  transform: translateX(-8px);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 52%;
  border-left: none;
  border-right: 3.5px solid rgba(255, 198, 0, 0.25);
}

.timeline-item:nth-child(odd):hover .timeline-content {
  border-right-color: rgba(255, 198, 0, 0.6);
  transform: translateX(8px);
}

.timeline-item:nth-child(even):hover .timeline-content {
  border-left-color: rgba(255, 198, 0, 0.6);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.timeline-year {
  color: #ffc600;
  font-weight: 900;
  font-size: 2.2rem;
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffc600, #ffb300);
  color: #000000;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 198, 0, 0.4);
}

.timeline-title {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  margin: 0.8rem 0 1.2rem;
  letter-spacing: -0.3px;
}

.timeline-description {
  color: #e8e8e8;
  line-height: 1.9;
  font-size: 1.02rem;
  margin: 1.2rem 0;
  font-weight: 600;
}

.timeline-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 2px solid rgba(255, 198, 0, 0.2);
  flex-wrap: wrap;
}

.timeline-stats span {
  font-size: 0.95rem;
  color: #ffc600;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Historia Highlights */
.historia-highlights {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 3px solid rgba(255, 198, 0, 0.3);
  animation: slideInUp 0.8s ease-out 0.8s both;
}

.historia-highlights h3 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 4rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  background: linear-gradient(
    135deg,
    rgba(255, 198, 0, 0.12) 0%,
    rgba(206, 17, 38, 0.08) 100%
  );
  border: 2.5px solid rgba(255, 198, 0, 0.35);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 198, 0, 0.1);
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 198, 0, 0.15) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-card:nth-child(1) {
  animation-delay: 0.8s;
}
.highlight-card:nth-child(2) {
  animation-delay: 0.9s;
}
.highlight-card:nth-child(3) {
  animation-delay: 1s;
}
.highlight-card:nth-child(4) {
  animation-delay: 1.1s;
}

.highlight-card:hover {
  border-color: rgba(255, 198, 0, 0.6);
  background: linear-gradient(
    135deg,
    rgba(255, 198, 0, 0.18) 0%,
    rgba(206, 17, 38, 0.12) 100%
  );
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(255, 198, 0, 0.25);
}

.highlight-number {
  font-size: 3.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffc600 0%, #ffb300 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.highlight-card p {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
}

/* ============================================
   GALERÍA SECTION
   ============================================ */

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
  animation: fadeInScale 0.6s ease-out forwards;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 56, 168, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 56, 168, 0.25);
}

.gallery-item:nth-child(1) {
  animation-delay: 0.05s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.15s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.25s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.35s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.4s;
}

.gallery-image {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.15) rotate(2deg);
}

/* Badge de categoría */
.gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #0038a8 0%, #ce1126 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  opacity: 0.9;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-badge {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(206, 17, 38, 0.4);
}

/* Overlay mejorado */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Año/Etiqueta de temporada */
.gallery-year {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffc600;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
}

.gallery-item:hover .gallery-year {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay h3 {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.15s;
}

.gallery-item:hover .gallery-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NOTICIAS SECTION
   ============================================ */

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(0, 56, 168, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInScale 0.6s ease-out forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  position: relative;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.news-card:hover::before {
  left: 100%;
}

.news-card:nth-child(1) {
  animation-delay: 0.1s;
}
.news-card:nth-child(2) {
  animation-delay: 0.15s;
}
.news-card:nth-child(3) {
  animation-delay: 0.2s;
}
.news-card:nth-child(4) {
  animation-delay: 0.25s;
}
.news-card:nth-child(5) {
  animation-delay: 0.3s;
}
.news-card:nth-child(6) {
  animation-delay: 0.35s;
}

.news-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(206, 17, 38, 0.6);
  box-shadow: 0 25px 50px rgba(206, 17, 38, 0.25),
    0 0 40px rgba(0, 56, 168, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.news-featured {
  grid-column: 1 / -1;
  max-width: none;
}

@media (max-width: 768px) {
  .news-featured {
    grid-column: 1;
  }
}

.news-image {
  width: 100%;
  height: 200px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.news-featured .news-image {
  height: 280px;
}

.news-card:hover .news-image {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.news-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(206, 17, 38, 0.95);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 2;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.news-category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.news-category-badge.mercado {
  background: rgba(206, 17, 38, 0.85);
  color: white;
}

.news-category-badge.champions {
  background: rgba(32, 106, 183, 0.85);
  color: white;
}

.news-category-badge.tacttica {
  background: rgba(255, 198, 0, 0.85);
  color: #000;
}

.news-category-badge.cantera {
  background: rgba(0, 212, 170, 0.85);
  color: white;
}

.news-category-badge.aficion {
  background: rgba(139, 92, 246, 0.85);
  color: white;
}

.news-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.news-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.15),
    rgba(0, 56, 168, 0.05)
  );
  color: #0038a8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  width: fit-content;
  border: 1px solid rgba(0, 56, 168, 0.2);
  transition: all 0.3s ease;
}

.news-category .category-icon {
  font-size: 1rem;
}

.news-card:hover .news-category {
  background: linear-gradient(
    135deg,
    rgba(206, 17, 38, 0.2),
    rgba(206, 17, 38, 0.05)
  );
  color: #ce1126;
  border-color: rgba(206, 17, 38, 0.3);
  transform: translateX(5px);
}

.news-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  color: #fff;
  transition: all 0.3s ease;
  font-weight: 700;
}

.news-card:hover .news-content h3 {
  color: #ffc600;
}

.news-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1.2rem;
  flex: 1;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.news-card:hover .news-content p {
  color: #e0e0e0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.news-card:hover .news-meta span {
  color: #0038a8;
}

.link-icon {
  color: #0038a8;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.link-icon:hover {
  color: #ce1126;
  transform: translateX(8px);
  gap: 14px;
}

.noticias-cta {
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.noticias-cta .btn {
  min-width: 180px;
}

/* ============================================
   PATROCINADORES & PARTNERS SECTION
   ============================================ */

.patrocinadores {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.05) 0%,
    rgba(206, 17, 38, 0.05) 100%
  );
  border-top: 2px solid rgba(0, 56, 168, 0.1);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(0, 56, 168, 0.15);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInUp 0.6s ease-out forwards;
}

.sponsor-card:nth-child(1) {
  animation-delay: 0.1s;
}
.sponsor-card:nth-child(2) {
  animation-delay: 0.2s;
}
.sponsor-card:nth-child(3) {
  animation-delay: 0.3s;
}
.sponsor-card:nth-child(4) {
  animation-delay: 0.4s;
}
.sponsor-card:nth-child(5) {
  animation-delay: 0.5s;
}
.sponsor-card:nth-child(6) {
  animation-delay: 0.6s;
}
.sponsor-card:nth-child(7) {
  animation-delay: 0.7s;
}
.sponsor-card:nth-child(8) {
  animation-delay: 0.8s;
}

.sponsor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 198, 0, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.sponsor-card:hover::before {
  left: 100%;
}

.sponsor-card:hover {
  border-color: rgba(0, 56, 168, 0.4);
  background: rgba(0, 56, 168, 0.08);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 56, 168, 0.2);
}

.sponsor-principal {
  grid-column: 1 / -1;
  border-color: rgba(206, 17, 38, 0.3);
  background: linear-gradient(
    135deg,
    rgba(206, 17, 38, 0.08) 0%,
    rgba(0, 56, 168, 0.05) 100%
  );
}

.sponsor-principal:hover {
  border-color: rgba(206, 17, 38, 0.5);
  background: linear-gradient(
    135deg,
    rgba(206, 17, 38, 0.15) 0%,
    rgba(0, 56, 168, 0.1) 100%
  );
  box-shadow: 0 20px 50px rgba(206, 17, 38, 0.3);
}

.sponsor-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0038a8 0%, #ce1126 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.sponsor-logo {
  margin: 1.5rem 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.1) 0%,
    rgba(206, 17, 38, 0.08) 100%
  );
  border: 2px dashed rgba(0, 56, 168, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sponsor-card:hover .logo-placeholder {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.2) 0%,
    rgba(206, 17, 38, 0.15) 100%
  );
  border-color: rgba(0, 56, 168, 0.4);
}

.logo-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  text-align: center;
  letter-spacing: 0.5px;
}

.logo-placeholder.nike {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-color: rgba(255, 255, 255, 0.1);
}

.logo-placeholder.microsoft {
  background: linear-gradient(
    135deg,
    rgba(0, 120, 215, 0.08) 0%,
    rgba(0, 120, 215, 0.04) 100%
  );
  border-color: rgba(0, 120, 215, 0.2);
}

.logo-placeholder.coca {
  background: linear-gradient(
    135deg,
    rgba(206, 17, 38, 0.1) 0%,
    rgba(206, 17, 38, 0.05) 100%
  );
  border-color: rgba(206, 17, 38, 0.2);
}

.logo-placeholder.generali {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.08) 0%,
    rgba(255, 0, 0, 0.04) 100%
  );
  border-color: rgba(255, 0, 0, 0.2);
}

.logo-placeholder.qatar {
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.1) 0%,
    rgba(0, 51, 102, 0.05) 100%
  );
  border-color: rgba(0, 51, 102, 0.2);
}

.logo-placeholder.gaming {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.08) 0%,
    rgba(255, 215, 0, 0.04) 100%
  );
  border-color: rgba(255, 215, 0, 0.2);
}

.logo-placeholder.finance {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 51, 0.08) 0%,
    rgba(0, 102, 51, 0.04) 100%
  );
  border-color: rgba(0, 102, 51, 0.2);
}

.sponsor-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.sponsor-principal h3 {
  font-size: 2rem;
  background: linear-gradient(135deg, #ce1126 0%, #0038a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sponsor-category {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.sponsor-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsors-cta {
  background: rgba(0, 56, 168, 0.08);
  border: 2px solid rgba(0, 56, 168, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  animation: slideInUp 0.6s ease-out 0.9s both;
}

.sponsors-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.sponsors-cta .btn {
  min-width: 220px;
}

/* ============================================
   ESTADÍSTICAS SECTION
   ============================================ */

.stats-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-box {
  background: rgba(0, 56, 168, 0.05);
  border: 2px solid rgba(0, 56, 168, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: rgba(206, 17, 38, 0.5);
  background: rgba(206, 17, 38, 0.05);
}

.stat-box h3 {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.stat-value {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0038a8, #ce1126);
  border-radius: 10px;
  animation: fillWidth 1s ease-out forwards;
  width: 0;
}

@keyframes fillWidth {
  to {
    width: var(--width, 100%);
  }
}

.stat-detail {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.top-scorers {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.08) 0%,
    rgba(206, 17, 38, 0.06) 100%
  );
  border: 2px solid rgba(0, 56, 168, 0.15);
  padding: 3rem 2rem;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.top-scorers::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 56, 168, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.scorers-header {
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.scorers-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #0038a8 0%, #ce1126 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.scorers-subtitle {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.scorers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.scorer-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
}

.scorer-item[data-position="1"] {
  animation-delay: 0.1s;
  grid-column: 1 / -1;
}

.scorer-item[data-position="2"] {
  animation-delay: 0.2s;
}

.scorer-item[data-position="3"] {
  animation-delay: 0.3s;
}

.scorer-item[data-position="4"] {
  animation-delay: 0.4s;
}

.scorer-item[data-position="5"] {
  animation-delay: 0.5s;
}

.scorer-item[data-position="6"] {
  animation-delay: 0.6s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scorer-rank-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1.2rem;
}

.rank-number {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 900;
  width: 40px;
  text-align: center;
}

.rank-icon {
  font-size: 1.5rem;
}

.scorer-item.scorer-champion .rank-number {
  background: linear-gradient(135deg, #ffc600 0%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scorer-item.scorer-silver .rank-number {
  background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scorer-item.scorer-bronze .rank-number {
  background: linear-gradient(135deg, #cd7f32 0%, #996633 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scorer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(0, 56, 168, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.scorer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.scorer-item:hover .scorer-card {
  background: rgba(206, 17, 38, 0.12);
  border-color: rgba(206, 17, 38, 0.4);
  box-shadow: 0 12px 30px rgba(206, 17, 38, 0.25),
    0 0 40px rgba(0, 56, 168, 0.15);
  transform: translateY(-6px);
}

.scorer-item:hover .scorer-card::before {
  left: 100%;
}

.scorer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.scorer-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: var(--color-text);
}

.scorer-team {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  background: rgba(0, 56, 168, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin: 0;
}

.scorer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: rgba(0, 56, 168, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.scorer-item:hover .stat-box {
  background: rgba(206, 17, 38, 0.15);
  transform: scale(1.05);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0038a8;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.scorer-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.goals-bar {
  height: 6px;
  background: rgba(0, 56, 168, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0038a8 0%, #ce1126 100%);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scorer-item:hover .bar-fill {
  box-shadow: 0 0 10px rgba(206, 17, 38, 0.6);
}

.scorer-goals-emoji {
  font-size: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.scorer-item:nth-child(odd) .scorer-goals-emoji {
  animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 1024px) {
  /* Patrocinadores Responsive */
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-principal {
    grid-column: 1 / -1;
  }

  .sponsor-card h3 {
    font-size: 1.25rem;
  }

  .sponsor-principal h3 {
    font-size: 1.6rem;
  }

  .sponsors-cta {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-principal {
    grid-column: 1;
  }

  .top-scorers {
    padding: 2rem 1.5rem;
  }

  .scorers-header h3 {
    font-size: 1.5rem;
  }

  .scorers-list {
    grid-template-columns: 1fr;
  }

  .scorer-item[data-position="1"] {
    grid-column: 1;
  }

  .scorer-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-card {
    padding: 1.5rem 1rem;
  }

  .sponsor-logo {
    height: 60px;
  }

  .sponsor-card h3 {
    font-size: 1rem;
  }

  .sponsor-principal h3 {
    font-size: 1.3rem;
  }

  .sponsors-cta {
    padding: 1.5rem 1rem;
  }

  .top-scorers {
    padding: 1.5rem 1rem;
  }

  .scorers-header h3 {
    font-size: 1.25rem;
  }

  .scorer-name {
    font-size: 1.1rem;
  }

  .scorer-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .stat-box {
    padding: 0.5rem;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}

/* ============================================
   AFICIÓN SECTION
   ============================================ */

.aficion-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.aficion-form {
  background: rgba(0, 56, 168, 0.05);
  padding: 3rem;
  border-radius: 12px;
  border: 2px solid rgba(0, 56, 168, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 56, 168, 0.2);
  border-radius: 8px;
  color: var(--color-text);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(0, 56, 168, 0.1);
  border-color: #0038a8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin: 0;
  flex: 1;
}

.form-help {
  display: block;
  text-align: center;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  font-size: 0.85rem;
}

.aficion-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(206, 17, 38, 0.05);
  border: 2px solid rgba(206, 17, 38, 0.1);
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(206, 17, 38, 0.5);
  background: rgba(206, 17, 38, 0.1);
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.info-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.benefits-list {
  background: rgba(255, 198, 0, 0.05);
  border-left: 4px solid #ffc600;
  padding: 1.5rem;
  border-radius: 8px;
}

.benefits-list h3 {
  margin-bottom: 1rem;
}

.benefits-list ul {
  list-style: none;
}

.benefits-list li {
  padding: 0.5rem 0;
  color: var(--color-text-secondary);
}

.benefits-list li::before {
  content: "✓ ";
  color: #ffc600;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */

.cta-final {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.1) 0%,
    rgba(206, 17, 38, 0.1) 100%
  );
  border-top: 2px solid rgba(0, 56, 168, 0.2);
  border-bottom: 2px solid rgba(206, 17, 38, 0.2);
}

.cta-content {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.barca-footer {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.05) 0%,
    rgba(206, 17, 38, 0.05) 100%
  );
  border-top: 2px solid rgba(0, 56, 168, 0.1);
  padding: 4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: #0038a8;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 56, 168, 0.2);
  border-radius: 8px;
  color: var(--color-text);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(0, 56, 168, 0.1);
  border-color: #0038a8;
}

.newsletter-form button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(206, 17, 38, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 56, 168, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--color-bg);
  border-radius: 12px;
  border: 2px solid rgba(0, 56, 168, 0.2);
  max-width: 500px;
  width: 90%;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  transform: rotate(90deg);
  color: #ce1126;
}

.modal-body {
  padding: 3rem 2rem;
  text-align: center;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  border-radius: 50%;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.modal-body h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-body p {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .section-title {
    font-size: 2.8rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    margin-bottom: 3.5rem;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 70px;
    margin-right: 0;
    border-left: 3px solid rgba(0, 56, 168, 0.3);
    border-right: none;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 70px;
    margin-right: 0;
    border-left: 3px solid rgba(0, 56, 168, 0.3);
    border-right: none;
  }

  .timeline-content {
    margin-left: 70px;
    padding-left: 1.5rem;
  }

  .timeline-marker {
    left: 25px;
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

  .timeline-year {
    font-size: 1.6rem;
  }

  .timeline-title {
    font-size: 1.3rem;
  }

  .timeline-description {
    font-size: 0.95rem;
  }

  .historia-intro {
    padding: 2.5rem 2rem;
  }

  .historia-intro p {
    font-size: 1.1rem;
  }

  .historia-highlights {
    margin-top: 4rem;
    padding-top: 3rem;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .highlight-number {
    font-size: 3rem;
  }

  .highlight-card p {
    font-size: 1rem;
  }

  .aficion-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 13, 10, 0.98);
    padding: 2rem;
    gap: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .historia .section-title {
    font-size: 2.4rem;
  }

  .historia .section-subtitle {
    font-size: 1.15rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .equipo-grid,
  .gallery-grid,
  .noticias-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding: 2rem 0;
  }

  .timeline::before {
    left: 20px;
    width: 5px;
  }

  .timeline-item {
    margin-bottom: 3rem;
    margin-left: 0;
  }

  .timeline-marker {
    left: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    border-width: 4px;
  }

  .timeline-content {
    margin-left: 65px;
    margin-right: 0;
    padding: 2rem 1.8rem;
    border-left: 3px solid rgba(0, 56, 168, 0.3);
    border-right: none;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 65px;
    margin-right: 0;
    border-left: 3px solid rgba(0, 56, 168, 0.3);
    border-right: none;
  }

  .timeline-item:nth-child(odd):hover .timeline-content {
    transform: translateX(0);
    border-right-color: inherit;
    border-left-color: rgba(206, 17, 38, 0.6);
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .timeline-year {
    font-size: 1.5rem;
  }

  .timeline-title {
    font-size: 1.2rem;
    margin: 0.6rem 0 0.8rem;
  }

  .timeline-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
  }

  .timeline-description {
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0.8rem 0;
  }

  .timeline-stats {
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    font-size: 0.85rem;
  }

  .timeline-stats span {
    font-size: 0.85rem;
  }

  .historia-intro {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .historia-intro p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .highlight-card {
    padding: 2.5rem 1.8rem;
  }

  .highlight-number {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
  }

  .highlight-card p {
    font-size: 1rem;
  }

  .stats-comparison {
    grid-template-columns: 1fr 1fr;
  }

  .aficion-form {
    padding: 2rem;
  }

  section {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .nav-brand {
    font-size: 1.2rem;
  }

  .historia {
    padding: 4rem 1.5rem;
  }

  .historia::before {
    width: 300px;
    height: 300px;
    top: -20%;
    right: -15%;
  }

  .historia::after {
    width: 250px;
    height: 250px;
    bottom: -20%;
    left: -10%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .historia .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .historia .section-subtitle {
    font-size: 1rem;
  }

  .timeline {
    padding: 1.5rem 0;
  }

  .timeline::before {
    left: 15px;
    width: 4px;
  }

  .timeline-item {
    margin-bottom: 2.5rem;
  }

  .timeline-marker {
    left: 15px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    border-width: 3px;
  }

  .timeline-content {
    margin-left: 55px;
    margin-right: 0;
    padding: 1.8rem 1.3rem;
    border-left: 3px solid rgba(0, 56, 168, 0.3);
    border-right: none;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55px;
    margin-right: 0;
    border-left: 3px solid rgba(0, 56, 168, 0.3);
    border-right: none;
  }

  .timeline-item:hover .timeline-content {
    transform: translateX(0);
    border-left-color: rgba(206, 17, 38, 0.6);
  }

  .timeline-item:nth-child(odd):hover .timeline-content {
    transform: translateX(0);
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .timeline-year {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .timeline-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }

  .timeline-title {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.6rem;
  }

  .timeline-description {
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0.6rem 0;
  }

  .timeline-stats {
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-stats span {
    font-size: 0.8rem;
  }

  .historia-intro {
    padding: 1.8rem 1.3rem;
    margin-bottom: 2.5rem;
    border-radius: 16px;
  }

  .historia-intro p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .historia-highlights {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .historia-highlights h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .highlight-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .highlight-number {
    font-size: 2.5rem;
    margin-bottom: 0.4rem;
  }

  .highlight-card p {
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-comparison {
    grid-template-columns: 1fr;
  }

  .gallery-filters,
  .equipo-filters {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    height: 200px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-links {
    gap: 1rem;
  }

  .modal-body {
    padding: 2rem 1rem;
  }

  .aficion-form {
    padding: 1.5rem;
  }
}

/* ============================================
   SCROLL BEHAVIOR
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 56, 168, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0038a8, #ce1126);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0038a8, #ce1126);
  opacity: 0.8;
}

/* ============================================
   PRÓXIMOS PARTIDOS SECTION
   ============================================ */

.proximos-partidos {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    rgba(0, 56, 168, 0.05) 0%,
    transparent 100%
  );
}

.partidos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partido-card {
  background: rgba(0, 56, 168, 0.1);
  border: 1px solid rgba(0, 56, 168, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
}

.partido-card:hover {
  background: rgba(0, 56, 168, 0.15);
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.partido-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(206, 17, 38, 0.3);
}

.competicion {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.fecha {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.partido-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.equipo {
  text-align: center;
}

.equipo h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.escudo {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.vs {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.partido-footer {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ============================================
   TROFEOS SECTION
   ============================================ */

.trofeos {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(206, 17, 38, 0.05) 100%
  );
}

.trofeos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trofeo-card {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.1),
    rgba(206, 17, 38, 0.1)
  );
  border: 1px solid rgba(206, 17, 38, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.trofeo-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.15),
    rgba(206, 17, 38, 0.15)
  );
  border-color: var(--color-accent);
}

.trofeo-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.trofeo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.trofeo-count {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  margin: 0.5rem 0;
}

.trofeo-detail {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ============================================
   CANTERA SECTION
   ============================================ */

.cantera {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    rgba(0, 56, 168, 0.05) 0%,
    rgba(206, 17, 38, 0.05) 100%
  );
}

.cantera-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.cantera-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cantera-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.cantera-highlights {
  list-style: none;
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

.cantera-highlights li {
  padding: 0.75rem;
  padding-left: 2rem;
  background: rgba(0, 56, 168, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
  transition: var(--transition);
}

.cantera-highlights li:hover {
  background: rgba(0, 56, 168, 0.15);
  transform: translateX(5px);
}

.cantera-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 56, 168, 0.2);
}

.cantera-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   ESTADÍSTICAS DE JUGADORES
   ============================================ */

.player-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(206, 17, 38, 0.2);
}

.player-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffc600, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   CUERPO TÉCNICO
   ============================================ */

.cuerpo-tecnico {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    rgba(0, 56, 168, 0.05) 0%,
    transparent 100%
  );
  position: relative;
  overflow: hidden;
}

.staff-section {
  margin-bottom: 4rem;
}

.staff-role-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
}

.head-coach {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.1),
    rgba(206, 17, 38, 0.05)
  );
  border: 2px solid rgba(0, 56, 168, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
}

.head-coach:hover {
  border-color: rgba(206, 17, 38, 0.4);
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.15),
    rgba(206, 17, 38, 0.1)
  );
}

.staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 56, 168, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.head-coach .staff-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.staff-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(206, 17, 38, 0.3);
  transform: translateY(-5px);
}

.staff-image {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 3px solid rgba(206, 17, 38, 0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-coach .staff-image {
  width: 200px;
  height: 200px;
  border: 4px solid rgba(206, 17, 38, 0.5);
}

.staff-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(206, 17, 38, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  z-index: 2;
}

.staff-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-info {
  flex: 1;
}

.staff-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.head-coach .staff-info h3 {
  font-size: 1.75rem;
}

.staff-position {
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0038a8, #206ab7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.staff-nationality {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 56, 168, 0.1);
  border-radius: 8px;
}

.staff-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.staff-stats .stat-label {
  font-size: 0.75rem;
}

.staff-stats .stat-value {
  font-size: 1.5rem;
}

.staff-experience {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  padding-top: 1rem;
  border-top: 1px solid rgba(206, 17, 38, 0.2);
}

.staff-role-badge {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(206, 17, 38, 0.2),
    rgba(255, 198, 0, 0.1)
  );
  color: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.staff-card.assistant {
  max-width: none;
  align-items: flex-start;
  text-align: left;
  flex-direction: row;
  padding: 1rem;
}

.staff-card.assistant .staff-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.staff-structure {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(0, 56, 168, 0.2);
}

.staff-structure h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.structure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.structure-card {
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.1),
    rgba(206, 17, 38, 0.05)
  );
  border: 1px solid rgba(0, 56, 168, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.structure-card:hover {
  border-color: rgba(206, 17, 38, 0.4);
  background: linear-gradient(
    135deg,
    rgba(0, 56, 168, 0.15),
    rgba(206, 17, 38, 0.1)
  );
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.structure-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.structure-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #0038a8, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.structure-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .cantera-content {
    grid-template-columns: 1fr;
  }

  .partidos-grid {
    grid-template-columns: 1fr;
  }

  .trofeos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }

  .staff-card.assistant {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .staff-card.assistant .staff-image {
    width: 120px;
    height: 120px;
  }

  .staff-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.75rem;
  }

  .structure-cards {
    grid-template-columns: 1fr;
  }

  .head-coach {
    flex-direction: column;
  }

  .head-coach .staff-image {
    width: 150px;
    height: 150px;
  }
}
