/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #050816;
  --secondary-bg: #0B1220;
  --card-bg: #111827;
  --primary-accent: #00A8FF;
  --secondary-accent: #2563EB;
  --text-white: #FFFFFF;
  --text-muted: #94A3B8;
  --border-color: rgba(255,255,255,0.08);
  --success: #22C55E;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--primary-bg);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--primary-accent);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 4rem 0;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
  font-family: var(--font-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
  color: var(--text-white);
}

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

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--primary-accent);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 8, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
}

.logo a:hover {
  color: var(--primary-accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  align-items: center;
}

.nav-list li a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.06);
}

.nav-list li a.active {
  color: var(--primary-accent);
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-white);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

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

.hamburger .bar {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .nav-list.open {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
}


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 168, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 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='%2300A8FF' fill-opacity='0.03'%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");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SPORTS CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.sport-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.sport-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-accent);
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.1);
}

.sport-card .card-icon {
  font-size: 2.5rem;
  color: var(--primary-accent);
  margin-bottom: 0.8rem;
}

.sport-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.sport-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* ===== FEATURED ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.featured-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem 0.8rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.featured-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-accent);
  background: rgba(0, 168, 255, 0.05);
}

.featured-card i {
  font-size: 2rem;
  color: var(--primary-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.featured-card span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step {
  padding: 1.5rem;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== FEATURES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--primary-accent);
  transform: translateY(-4px);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-accent);
}

.faq-question i {
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1rem 1.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-bg);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-list.open {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
}

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

:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 2px;
}