/* style/sports.css */
:root {
  --primary-color: #003366; /* Royal Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
}

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

.page-sports-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 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) .page-sports-section-title,
.page-sports-section:nth-of-type(even) .page-sports-section-description,
.page-sports-section:nth-of-type(even) .page-sports-feature-title,
.page-sports-section:nth-of-type(even) .page-sports-feature-item p,
.page-sports-section:nth-of-type(even) .page-sports-list-icon,
.page-sports-section:nth-of-type(even) .highlight {
  color: var(--text-light);
}

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

.page-sports-section:nth-of-type(even) .page-sports-section-title {
  color: var(--secondary-color);
}

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

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

.page-sports-cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-medium);
}

.page-sports-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--background-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.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;
  text-align: center;
}

.page-sports-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--shadow-medium);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-sports-hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
}

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

.page-sports-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-sports-hero-content .highlight {
  color: var(--secondary-color);
}

.page-sports-why-choose {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-sports-feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-sports-feature-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-sports-categories {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-sports-category-card {
  background-color: #002e5b; /* Darker shade of primary */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-sports-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-sports-category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports-category-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-sports-category-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-sports-category-card p {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports-category-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-sports-category-link:hover {
  background: #e6c200;
}

.page-sports-live-betting {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-sports-live-betting-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 40px auto;
  text-align: left;
}

.page-sports-live-betting-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow-light);
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-sports-list-icon {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-right: 15px;
  font-weight: bold;
}

.page-sports-promotions {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.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: #002e5b;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-medium);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-sports-promo-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports-promo-card p {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports-promo-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-sports-promo-button:hover {
  background: #e6c200;
}

.page-sports-view-all-promos {
  margin-top: 60px;
}

.page-sports-how-to-start {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-sports-steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 50px auto;
  text-align: left;
}

.page-sports-steps-list li {
  background-color: #ffffff;
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
}

.page-sports-steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

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

.page-sports-step-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-sports-step-title + p {
  color: var(--text-dark);
}

.page-sports-faq {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-sports-faq .page-sports-section-title,
.page-sports-faq .page-sports-section-description,
.page-sports-faq .highlight {
  color: var(--text-light);
}

.page-sports-faq-list {
  max-width: 900px;
  margin: 50px auto;
  text-align: left;
}

/* FAQ default state - answer hidden */
.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #002e5b; /* Darker shade */
  border: 1px solid #002244;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

.faq-question h3 a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-question h3 a:hover {
  color: var(--secondary-color);
}

.faq-question:hover {
  background: #003a75; /* Slightly lighter dark blue */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #002244; /* Even darker shade */
  border-radius: 0 0 8px 8px;
  color: #cccccc;
  font-size: 1em;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-sports-cta-final {
  background: linear-gradient(135deg, var(--primary-color), var(--background-dark));
  color: var(--text-light);
  padding: 80px 0;
}

.page-sports-cta-final .page-sports-section-title,
.page-sports-cta-final .page-sports-section-description,
.page-sports-cta-final .highlight {
  color: var(--text-light);
}

.highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

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

  .page-sports-section-title {
    font-size: 2.2em;
  }

  .page-sports-hero-description,
  .page-sports-section-description {
    font-size: 1em;
  }

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

  .page-sports-feature-icon {
    width: 120px;
    height: 120px;
  }

  .page-sports-category-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-sports-hero-title {
    font-size: 2.5em;
  }

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

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

  .page-sports-section-title {
    font-size: 1.8em;
  }

  .page-sports-features-grid,
  .page-sports-category-grid,
  .page-sports-promo-grid {
    grid-template-columns: 1fr;
  }

  .page-sports-feature-item,
  .page-sports-category-card,
  .page-sports-promo-card {
    padding: 20px;
  }

  .page-sports-feature-icon {
    width: 100px;
    height: 100px;
  }

  .page-sports-category-image {
    height: 150px;
  }

  .page-sports-step-title {
    font-size: 1.3em;
  }

  .page-sports-steps-list li {
    padding-left: 60px;
  }

  .page-sports-steps-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    left: 15px;
  }

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

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

  .faq-toggle {
    font-size: 20px;
  }
}

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

  .page-sports-section-title {
    font-size: 1.6em;
  }

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

  .page-sports-hero-image {
    margin-bottom: 20px;
  }
}