/* Base Styles and Variables */
:root {
  --primary-color: #0b60b0;
  --secondary-color: #40a2d8;
  --accent-color: #f3a953;
  --dark-color: #1a1c2b;
  --light-color: #f7f7f7;
  --text-color: #333333;
  --light-text-color: #ffffff;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 4rem;
}

h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--light-text-color);
}

.btn-secondary:hover {
  opacity: 0.9;
}

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

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

.btn-large {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
}

/* Header */
.header {
  background-color: var(--light-text-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo-container img {
  height: 60px;
  width: auto;
}

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

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: 2rem;
}

.nav-list a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.nav-list a:hover {
  color: var(--primary-color);
}

.user-actions {
  display: flex;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text-color);
  padding: 10rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--light-text-color);
  margin-bottom: 2rem;
  font-size: 4.8rem;
}

.hero-content p {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sports-illustration {
  width: 100%;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
}

/* Features Section */
.features {
  padding: 10rem 0;
  background-color: var(--light-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.feature-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 2rem;
}

/* Sports Section */
.sports-section {
  padding: 10rem 0;
  background-color: var(--dark-color);
}

.sports-section h2 {
  color: var(--light-text-color);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.sport-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.sport-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.sport-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 auto 2rem;
}

.sport-card h3, .sport-card p {
  color: var(--light-text-color);
}

/* Gaming Section */
.gaming-section {
  padding: 10rem 0;
  background-color: var(--light-color);
}

.section-intro {
  text-align: center;
  font-size: 1.8rem;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.gaming-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.gaming-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gaming-card:hover {
  transform: translateY(-5px);
}

.gaming-card a {
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
  margin-top: 1rem;
}

.gaming-card a:hover {
  color: var(--secondary-color);
}

/* News Section */
.news-section {
  padding: 10rem 0;
  background-color: var(--dark-color);
}

.news-section h2 {
  color: var(--light-text-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.news-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.news-date {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.news-source {
  margin-top: 2rem;
  font-style: italic;
}

/* Testimonials */
.testimonials {
  padding: 10rem 0;
  background-color: var(--light-color);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-content::before {
  content: """;
  font-size: 5rem;
  position: absolute;
  left: -1rem;
  top: -2rem;
  opacity: 0.1;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--light-text-color);
}

.cta-content p {
  color: var(--light-text-color);
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-text-color);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--light-text-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
}

.social-links a:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.payment-methods {
  display: flex;
  gap: 1.5rem;
}

.payment-icon {
  width: 50px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 60%;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 0;
  }
  
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--light-text-color);
    display: none;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-list li {
    margin: 1rem 0;
  }
  
  .nav-list a {
    display: block;
    padding: 1rem 0;
  }
  
  .user-actions {
    display: none;
  }
  
  .header .container {
    padding: 1rem 2rem;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .features, .sports-section, .gaming-section, .news-section, .testimonials {
    padding: 6rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 55%;
  }
  
  .feature-card, .sport-card, .gaming-card, .news-card, .testimonial-card {
    padding: 2rem;
  }
  
  .footer {
    padding: 4rem 0 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .payment-methods {
    justify-content: center;
  }
}
