/* CSS Variables - Black/White/Gray Theme */
:root {
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-gray: #404040;
  --light-gray: #666666;
  --medium-gray: #999999;
  --text-white: #ffffff;
  --text-light-gray: #e0e0e0;
  --text-medium-gray: #b8b8b8;
  --background-black: #0a0a0a;
  --card-bg: #1f1f1f;
  --border-gray: rgba(255, 255, 255, 0.15);
  --hover-gray: rgba(255, 255, 255, 0.1);
  --accent-highlight: #ffffff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background: var(--background-black);
  color: var(--text-white);
  overflow-x: hidden;
}

/* Enhanced Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.08;
}

.bg-animation::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  animation: float 30s infinite linear;
}

.bg-animation::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
  animation: wave 20s infinite ease-in-out;
}

/* Floating particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--text-light-gray);
  border-radius: 50%;
  animation: particleFloat 15s infinite linear;
  opacity: 0.4;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-50px, -50px) rotate(360deg); }
}

@keyframes wave {
  0%, 100% { transform: translateX(-100px) skewX(0deg); }
  50% { transform: translateX(100px) skewX(2deg); }
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Enhanced Header with Goal Net Pattern and Stadium Lighting */
header {
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gray);
  z-index: 100;
  position: relative;
  overflow: hidden;
}

/* Goal net pattern background - Much more visible */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(0deg, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 25px 25px, 25px 25px, 12px 12px, 12px 12px;
  opacity: 0.8;
  animation: netFloat 25s infinite linear;
}

/* Stadium lighting effects */
header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 50%);
  animation: stadiumLights 8s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Bottom border glow */
.header-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes netFloat {
  0% { transform: translateX(0px) translateY(0px); }
  100% { transform: translateX(-25px) translateY(-25px); }
}

@keyframes stadiumLights {
  0% { 
    opacity: 0.4; 
    transform: scale(1) rotate(0deg);
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.05) rotate(1deg);
  }
  100% { 
    opacity: 0.5; 
    transform: scale(0.98) rotate(-1deg);
  }
}

@keyframes borderGlow {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo-img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
  50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.2); }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Navigation */
nav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav-section {
  position: relative;
}

.nav-link {
  color: var(--text-medium-gray);
  text-decoration: none;
  padding: 1rem 1.5rem;
  display: block;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--text-white), var(--text-light-gray));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-white);
  background: var(--hover-gray);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link.active {
  color: var(--text-white);
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--accent-gray) 100%);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.nav-link.active::before {
  width: 100%;
}

/* Dropdown Styles */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-gray);
  z-index: 1000;
}

.nav-section:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown-item {
  color: var(--text-medium-gray);
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  color: var(--text-white);
  background: var(--hover-gray);
}

/* Main Content Styles */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Enhanced Hero with Animations */
.hero {
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: heroPulse 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.hero-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--text-light-gray) 50%, var(--medium-gray) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleSlideIn 1s ease-out;
}

@keyframes titleSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-medium-gray);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: subtitleSlideIn 1s ease-out 0.2s both;
}

@keyframes subtitleSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: buttonsSlideIn 1s ease-out 0.4s both;
}

@keyframes buttonsSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--accent-gray) 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--border-gray);
}

.btn-secondary:hover {
  background: var(--hover-gray);
  border-color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Enhanced Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--text-light-gray) 100%);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  transition: width 0.3s ease;
}

.feature-card:hover::after {
  width: 100%;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--text-light-gray) 0%, var(--medium-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-white);
}

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

/* Enhanced Stats Section */
.stats-section {
  margin: 4rem 0;
}

.stats-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border-gray);
  position: relative;
  overflow: hidden;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: statsRotate 20s linear infinite;
}

@keyframes statsRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.stats-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-white);
  position: relative;
  z-index: 1;
}

.stats-container p {
  color: var(--text-medium-gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--text-light-gray) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  animation: counterPulse 2s ease-in-out infinite;
}

@keyframes counterPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.stat-label {
  color: var(--text-medium-gray);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Enhanced Content Cards */
.content-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-gray);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
  animation: cardShimmer 8s ease-in-out infinite;
}

@keyframes cardShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.content-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  position: relative;
  z-index: 1;
}

.content-card p {
  color: var(--text-medium-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.overview-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.overview-item p {
  color: var(--text-medium-gray);
}

/* Section Styles */
section {
  margin-bottom: 4rem;
}

h2 {
  color: var(--text-white);
  font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: fixed;
    top: 81px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 81px);
    background: var(--card-bg);
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  nav.active {
    left: 0;
  }

  .nav-container {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav-section {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.05);
  }

  main {
    padding: 1rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

  .stats-container {
    padding: 2rem 1rem;
  }

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

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