/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  font-family: Arial, sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
  line-height: 1.6;
}

/* 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;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #f5f5f5;
  overflow: hidden;
}

.page-sports__hero-image-link {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  cursor: pointer;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-sports__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-sports__hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-sports__hero-description {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
}

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-sports__section {
  padding: 80px 20px;
  text-align: center;
}

.page-sports__section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 50px;
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature Cards Section */
.page-sports__features-section {
  background-color: #ffffff;
}

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

.page-sports__feature-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-sports__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 200px; /* Example max width */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-sports__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__feature-text {
  font-size: 1rem;
  color: #555555;
}

/* How-To-Bet Section */
.page-sports__how-to-bet-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__how-to-bet-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  position: relative;
}

.page-sports__step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

.page-sports__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-sports__step-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-sports__step-button {
  display: inline-block;
  margin-top: 10px;
}

/* Promotions Section */
.page-sports__promotions-section {
  background-color: #ffffff;
}

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

.page-sports__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-sports__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__promo-description {
  font-size: 1rem;
  color: #555555;
}

/* Mobile Section */
.page-sports__mobile-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__mobile-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-sports__mobile-text {
  flex: 1;
}

.page-sports__mobile-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-sports__mobile-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-sports__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Guides Section */
.page-sports__guides-section {
  background-color: #ffffff;
}

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

.page-sports__guide-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-sports__guide-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__guide-description {
  font-size: 1rem;
  color: #555555;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #f5f5f5;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-sports__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
}

.page-sports__faq-question::-webkit-details-marker {
  display: none;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
}

.page-sports__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #555555;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 20px;
}

.page-sports__cta-final-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__cta-final-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__text-block {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-sports__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-sports__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-sports__cta-center {
  margin-top: 40px;
}

/* Dark/Light Background Classes for Contrast */
.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__dark-bg .page-sports__section-title,
.page-sports__dark-bg .page-sports__feature-title,
.page-sports__dark-bg .page-sports__promo-title,
.page-sports__dark-bg .page-sports__guide-title {
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sports__light-bg .page-sports__section-title,
.page-sports__light-bg .page-sports__feature-title,
.page-sports__light-bg .page-sports__promo-title,
.page-sports__light-bg .page-sports__guide-title {
  color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-sports__hero-title {
    font-size: 2rem;
  }

  .page-sports__section-title {
    font-size: 1.8rem;
  }

  .page-sports__mobile-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, small top padding for this section */
  }

  .page-sports__hero-title {
    font-size: 1.8rem;
  }

  .page-sports__hero-description {
    font-size: 1rem;
  }

  .page-sports__section {
    padding: 60px 15px;
  }

  .page-sports__section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .page-sports__features-grid,
  .page-sports__step-by-step,
  .page-sports__promotions-grid,
  .page-sports__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__hero-image-link,
  .page-sports__feature-card,
  .page-sports__step-card,
  .page-sports__promo-card,
  .page-sports__mobile-text,
  .page-sports__mobile-image-wrapper,
  .page-sports__guide-card,
  .page-sports__faq-item,
  .page-sports__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-image,
  .page-sports__feature-icon,
  .page-sports__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-sports__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.5rem;
  }

  .page-sports__section-title {
    font-size: 1.3rem;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}