/* style/sports.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey/Black */
  --accent-color: #CC0000; /* Red for emphasis */
  --text-light: #F0F0F0;
  --text-dark: #1A1A1A;
  --background-light: #FFFFFF;
  --background-dark: #2C2C2C;
  --border-color: #444444;
}

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

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

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

.page-sports section:nth-of-type(even) {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-sports section:nth-of-type(even) .section-title,
.page-sports section:nth-of-type(even) .section-description,
.page-sports section:nth-of-type(even) .feature-title,
.page-sports section:nth-of-type(even) .feature-text,
.page-sports section:nth-of-type(even) .step-title,
.page-sports section:nth-of-type(even) .step-text,
.page-sports section:nth-of-type(even) .type-title,
.page-sports section:nth-of-type(even) .type-text,
.page-sports section:nth-of-type(even) .tips-list li p,
.page-sports section:nth-of-of-type(even) .blog-title a,
.page-sports section:nth-of-type(even) .blog-excerpt,
.page-sports section:nth-of-type(even) .read-more {
  color: var(--text-light);
}

.page-sports section:nth-of-type(even) .faq-question h3,
.page-sports section:nth-of-type(even) .faq-toggle {
    color: var(--text-dark);
}

.page-sports section:nth-of-type(even) .faq-answer p {
    color: var(--text-dark);
}

.page-sports .section-title {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-sports .section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: 0;
  overflow: hidden;
  min-height: 500px; /* Adjust as needed */
}

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

.page-sports .hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Max height for the image */
  object-fit: cover;
  display: block;
}

.page-sports .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

.page-sports .hero-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports .hero-description {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-sports .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports .cta-button:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-sports .cta-button-small:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

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

.page-sports .intro-section strong {
  color: var(--primary-color);
}

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

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

.page-sports .feature-item {
  background-color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports .feature-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports .feature-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

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

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

.page-sports .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-sports .step-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports .step-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

/* Bet Types Section */
.page-sports .bet-types-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-sports .type-card {
  background-color: #333333;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports .type-card:hover {
  transform: translateY(-8px);
  background-color: #444444;
}

.page-sports .type-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-sports .type-text {
  font-size: 0.95em;
  color: var(--text-light);
}

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

.page-sports .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-sports .tips-list li {
  background-color: #f9f9f9;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-sports .tips-list li p {
  margin: 0;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-sports .tips-list li strong {
  color: var(--secondary-color);
}

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

.page-sports .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
  text-align: left;
}

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

.faq-answer .cta-button-small {
    margin-top: 15px;
    margin-right: 10px;
}

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

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

.page-sports .blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports .blog-card h3 {
  padding: 15px 20px 0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

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

.page-sports .blog-excerpt {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: #555555;
}

.page-sports .read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  margin: 0 20px 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-sports .read-more:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Final CTA Section */
.page-sports .final-cta-section {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 80px 0;
}

.page-sports .final-cta-section .section-title {
  color: var(--secondary-color);
  font-size: 3em;
}

.page-sports .final-cta-section .section-description {
  color: var(--secondary-color);
  margin-bottom: 50px;
}

.page-sports .final-cta-section .cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-sports .final-cta-section .cta-button:hover {
  background-color: #444444;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports .hero-title {
    font-size: 3em;
  }
  .page-sports .hero-description {
    font-size: 1.2em;
  }
  .page-sports .section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-sports section {
    padding: 40px 0;
  }
  .page-sports .hero-content {
    padding: 20px;
    width: 95%;
  }
  .page-sports .hero-title {
    font-size: 2.2em;
  }
  .page-sports .hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-sports .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-sports .section-title {
    font-size: 2em;
  }
  .page-sports .section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports .features-grid, .page-sports .steps-grid, .page-sports .bet-types-grid, .page-sports .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-sports .feature-item, .page-sports .step-item, .page-sports .type-card, .page-sports .blog-card {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-sports .final-cta-section .section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-sports .hero-title {
    font-size: 1.8em;
  }
  .page-sports .hero-description {
    font-size: 0.9em;
  }
  .page-sports .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-sports .section-title {
    font-size: 1.8em;
  }
  .page-sports .tips-list li {
    padding: 15px;
  }
  .page-sports .tips-list li p {
    font-size: 1em;
  }
  .page-sports .final-cta-section .section-title {
    font-size: 2em;
  }
  .page-sports .cta-button-small {
    padding: 8px 18px;
    font-size: 0.9em;
  }
}