/* ========================================
   AGAMA FC - The Sporting Eagles
   Premium Football Club Website
   ======================================== */

/* CSS Variables */
:root {
  --primary: #1a5fb4;
  --primary-dark: #0d3a7a;
  --primary-light: #3584e4;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-primary: "Montserrat", sans-serif;
  --font-display: "Oswald", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.club-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.navbar:not(.scrolled) .club-name {
  color: var(--white);
}

.club-slogan {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.navbar:not(.scrolled) .club-slogan {
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.navbar:not(.scrolled) .nav-link {
  color: var(--white);
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
}

.navbar:not(.scrolled) .hamburger span {
  background: var(--white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 50%, var(--primary-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a5fb4' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
  animation: float 6s ease-in-out infinite;
}

.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(26, 95, 180, 0.4));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.title-line {
  display: block;
}

.title-line.highlight {
  color: var(--primary-light);
  text-shadow: 0 0 60px rgba(26, 95, 180, 0.6);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  margin: 12px auto 0;
  position: relative;
}

.scroll-indicator::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 24px;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(26, 95, 180, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.stat-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: width 1s ease;
}

/* ========================================
   Next Match Section
   ======================================== */
.next-match-section {
  padding: 100px 0;
  background: var(--white);
}

.match-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.match-card.featured {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border: 2px solid var(--primary);
}

.match-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  margin: 0 auto 32px;
}

.match-date .day {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-date .number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.match-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.match-teams .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 200px;
}

.match-teams .team img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-200);
}

.match-teams .team span {
  font-weight: 600;
  text-align: center;
}

.opponent-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-600);
}

.match-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-400);
}

.match-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.match-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.info-item svg {
  color: var(--primary);
}

.match-card .btn {
  display: block;
  max-width: 200px;
  margin: 0 auto;
}

/* ========================================
   Player Spotlight
   ======================================== */
.spotlight-section {
  background: var(--gray-50);
}

.spotlight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.spotlight-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-silhouette {
  width: 300px;
  height: 400px;
}

.player-silhouette svg {
  width: 100%;
  height: 100%;
}

.player-number {
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.spotlight-info {
  padding: 20px 0;
}

.player-position {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.player-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.player-bio {
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.player-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}

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

.player-stat .stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.player-stat .stat-name {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 180, 0.1);
  border-radius: 50%;
  color: var(--primary);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
  background: var(--gray-50);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.news-card.large {
  grid-row: span 2;
}

.news-image {
  height: 250px;
  background: var(--gray-100);
}

.news-card.large .news-image {
  height: 300px;
}

.news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-400);
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.read-more:hover {
  color: var(--primary-dark);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--gray-400);
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social-links.large a {
  width: 50px;
  height: 50px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ========================================
   Page Header (Inner Pages)
   ======================================== */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 50%, var(--primary-dark) 100%);
  text-align: center;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   About Page Styles
   ======================================== */
.about-section {
  padding: 100px 0;
}

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

.about-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-image {
  display: flex;
  justify-content: center;
}

.image-frame {
  position: relative;
  padding: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.image-frame::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--primary);
  border-radius: 20px;
  z-index: -1;
}

.badge-image {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

/* Mission Section */
.mission-section {
  background: var(--gray-50);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mission-card {
  background: var(--white);
  padding: 48px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.mission-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 180, 0.1);
  border-radius: 50%;
  color: var(--primary);
}

.mission-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mission-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* Timeline Section */
.timeline-section {
  padding: 100px 0;
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -44px;
  top: 0;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px var(--primary);
}

.timeline-content {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 12px;
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Stadium Section */
.stadium-section {
  background: var(--gray-50);
}

.stadium-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stadium-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.stadium-info p {
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.stadium-stats {
  display: flex;
  gap: 40px;
}

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

.stadium-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stadium-stat .stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
}

.stadium-image {
  display: flex;
  justify-content: center;
}

.stadium-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--gray-400);
}

.stadium-placeholder span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gray-500);
}

/* ========================================
   Team Page Styles
   ======================================== */
.team-section {
  padding: 80px 0 100px;
}

.team-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.player-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.player-card.captain {
  border: 2px solid var(--primary);
}

.player-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.player-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-400);
}

.player-placeholder.staff {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  color: var(--gray-500);
}

.player-placeholder.gk {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.player-placeholder.defender {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.player-placeholder.midfielder {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.player-placeholder.striker {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.jersey-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.player-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.position-badge {
  padding: 4px 12px;
  background: var(--white);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.captain-label {
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.player-info {
  padding: 20px;
  text-align: center;
}

.player-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.player-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.player-number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}

/* ========================================
   Fixtures Page Styles
   ======================================== */
.fixtures-section {
  padding: 80px 0 100px;
}

.fixtures-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}

.standings-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.card-header {
  padding: 20px;
  background: var(--primary);
  color: var(--white);
}

.card-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.league-name {
  font-size: 0.75rem;
  opacity: 0.8;
}

.standings-table {
  padding: 0;
}

.standings-table table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.8rem;
}

.standings-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  font-size: 0.7rem;
}

.standings-table tr {
  border-bottom: 1px solid var(--gray-100);
}

.standings-table tr.highlight {
  background: rgba(26, 95, 180, 0.05);
}

.standings-table tr.highlight td {
  color: var(--primary);
  font-weight: 600;
}

.club-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.club-cell img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.team-badge-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gray-600);
  flex-shrink: 0;
}

.fixtures-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fixtures-block {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.title-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 180, 0.1);
  border-radius: 8px;
  color: var(--primary);
}

.fixture-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.fixture-item:last-child {
  margin-bottom: 0;
}

.fixture-item:hover {
  background: var(--gray-100);
}

.fixture-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.fixture-date .month {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.fixture-date .day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.fixture-details {
  flex: 1;
}

.fixture-teams {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.fixture-teams .team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.fixture-teams .team.away {
  flex-direction: row-reverse;
}

.fixture-teams .team img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.fixture-teams .team span {
  font-weight: 600;
  font-size: 0.9rem;
}

.fixture-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
}

.fixture-score .score {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.result-badge {
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.result-badge.win {
  background: #10b981;
  color: var(--white);
}

.result-badge.draw {
  background: #f59e0b;
  color: var(--white);
}

.result-badge.loss {
  background: #ef4444;
  color: var(--white);
}

.fixture-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
}

.fixture-time .time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.fixture-time .vs {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 600;
}

.fixture-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.fixture-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.competition {
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   Gallery Page Styles
   ======================================== */
.gallery-section {
  padding: 80px 0 100px;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-rows: 200px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-400);
  transition: var(--transition);
}

.gallery-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
}

.gallery-item:hover .gallery-placeholder {
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: 12px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.contact-details p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.social-section h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-header {
  margin-bottom: 32px;
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-header p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.form-group.checkbox input {
  width: 20px;
  height: 20px;
  padding: 0;
}

.form-group.checkbox label {
  font-weight: 400;
  color: var(--gray-600);
}

/* Map Section */
.map-section {
  padding: 0;
  background: var(--gray-100);
}

.map-placeholder {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.map-content {
  text-align: center;
  color: var(--gray-500);
}

.map-content svg {
  margin-bottom: 20px;
  color: var(--primary);
}

.map-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.map-content p {
  margin-bottom: 20px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .spotlight-image {
    height: 350px;
  }

  .player-number {
    right: 50%;
    transform: translateX(50%);
  }

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

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

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

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

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

  .stadium-content {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fixtures-layout {
    grid-template-columns: 1fr;
  }

  .standings-card {
    position: relative;
    top: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--gray-700);
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .match-teams {
    flex-direction: column;
    gap: 20px;
  }

  .match-teams .team {
    flex-direction: row;
    max-width: none;
  }

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

  .news-card.large {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

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

  .fixture-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fixture-teams {
    flex-direction: column;
  }

  .fixture-teams .team,
  .fixture-teams .team.away {
    flex-direction: row;
    justify-content: center;
  }

  .fixture-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
}

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

  .hero-badge {
    width: 120px;
    height: 120px;
  }

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

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .stadium-stats {
    flex-direction: column;
    gap: 20px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide elements during filter */
.player-card.hidden,
.gallery-item.hidden {
  display: none;
}
