/* style/sports.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey */
  --text-color-light: #F0F0F0;
  --text-color-dark: #333333;
  --background-light: #FFFFFF;
  --background-dark: #222222;
  --border-color: #E0E0E0;
  --button-hover-darken: #CCAA00;
}

.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

.page-sports .section-padding {
  padding: 80px 0;
}

.page-sports .bg-dark {
  background-color: var(--background-dark);
}

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

.page-sports .text-center {
  text-align: center;
}

.page-sports .section-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports .section-title .highlight {
  color: var(--primary-color);
}

.page-sports .section-description {
  font-size: 1.1em;
  color: var(--text-color-dark);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

.page-sports .white-text {
  color: var(--text-color-light);
}

/* Buttons */
.page-sports .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-sports .cta-button:hover {
  background: var(--button-hover-darken);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-sports .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-sports .btn-small:hover {
  background: var(--button-hover-darken);
  transform: translateY(-1px);
}

.page-sports .btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 15px;
}

.page-sports .btn-outline:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.page-sports .text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-sports .text-link:hover {
  color: var(--button-hover-darken);
  text-decoration: underline;
}

/* Hero Section */
.page-sports .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-dark); /* Fallback */
  overflow: hidden;
}

.page-sports .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-sports .hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.page-sports .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-sports .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light);
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  padding: 30px;
  background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.95));
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-sports .hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-color-light);
}

.page-sports .hero-title .highlight {
  color: var(--primary-color);
}

.page-sports .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-sports .intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports .intro-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-sports .intro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-sports .intro-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports .intro-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-sports .intro-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Sports Types Section */
.page-sports .sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports .sports-card {
  background-color: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-sports .sports-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

.page-sports .sports-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-sports .sports-card .card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-sports .sports-card .card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports .sports-card .card-title a:hover {
  color: var(--primary-color);
}

.page-sports .sports-card p {
  font-size: 0.95em;
  color: var(--text-color-dark);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-sports .sports-card .btn-small {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

/* Guide Section */
.page-sports .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports .step-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-sports .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-sports .step-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-sports .step-item h3 {
  font-size: 1.7em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-sports .step-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Promotions Section */
.page-sports .promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports .promo-card {
  background-color: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-sports .promo-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

.page-sports .promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-sports .promo-card .card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-sports .promo-card .card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports .promo-card .card-title a:hover {
  color: var(--primary-color);
}

.page-sports .promo-card p {
  font-size: 0.95em;
  color: var(--text-color-dark);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-sports .promo-card .btn-small {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

/* Features Section */
.page-sports .features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports .feature-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-sports .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-sports .feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-sports .feature-item h3 {
  font-size: 1.7em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-sports .feature-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* FAQ Section */
.page-sports .faq-container {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sports .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-sports .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.page-sports .faq-question h3 {
  font-size: 1.25em;
  color: var(--secondary-color);
  margin: 0;
  font-weight: bold;
}

.page-sports .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-sports .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-sports .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.page-sports .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  background: #f9f9f9;
  border-color: var(--primary-color);
}

.page-sports .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: var(--text-color-dark);
}

/* Conclusion Section */
.page-sports .conclusion-section {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-sports .conclusion-section .section-title {
  color: var(--text-color-light);
  margin-bottom: 25px;
}

.page-sports .conclusion-section .section-description {
  color: var(--text-color-light);
  margin-bottom: 40px;
}

.page-sports .conclusion-section .large-button {
  padding: 22px 60px;
  font-size: 1.4em;
}

.page-sports .conclusion-section .mt-3 {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-sports .section-title {
    font-size: 2.8em;
  }

  .page-sports .hero-title {
    font-size: 3em;
  }

  .page-sports .hero-description {
    font-size: 1.1em;
  }

  .page-sports .section-padding {
    padding: 60px 0;
  }

  .page-sports .hero-content {
    margin-top: -60px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-sports .section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }

  .page-sports .section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports .hero-title {
    font-size: 2.5em;
  }

  .page-sports .hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-sports .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }

  .page-sports .intro-item h3,
  .page-sports .sports-card .card-title,
  .page-sports .step-item h3,
  .page-sports .promo-card .card-title,
  .page-sports .feature-item h3 {
    font-size: 1.5em;
  }

  .page-sports .faq-question h3 {
    font-size: 1.1em;
  }

  .page-sports .faq-toggle {
    font-size: 1.8em;
  }

  .page-sports .hero-content {
    margin-top: -40px;
  }

  .page-sports .intro-grid, .page-sports .sports-grid, .page-sports .guide-steps, .page-sports .promo-grid, .page-sports .features-list {
    grid-template-columns: 1fr;
  }

  .page-sports .sports-card .btn-small,
  .page-sports .promo-card .btn-small {
    align-self: center;
    width: fit-content;
  }

  .page-sports .step-item .btn-outline {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-sports .section-title {
    font-size: 1.8em;
  }

  .page-sports .hero-title {
    font-size: 2em;
  }

  .page-sports .hero-description {
    font-size: 0.9em;
  }

  .page-sports .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-sports .section-padding {
    padding: 40px 0;
  }

  .page-sports .hero-content {
    margin-top: -20px;
    padding: 15px;
  }

  .page-sports .faq-question {
    padding: 15px 20px;
  }

  .page-sports .faq-question h3 {
    font-size: 1em;
  }

  .page-sports .faq-answer {
    padding: 15px 20px;
  }

  .page-sports .large-button {
    padding: 18px 40px;
    font-size: 1.2em;
  }
}