/* style/sports.css */
.page-sports {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px);
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports__cta-button,
.page-sports__hero-button,
.page-sports__card-button,
.page-sports__step-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button background */
  color: #8B0000; /* Dark red text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-sports__cta-button:hover,
.page-sports__hero-button:hover,
.page-sports__card-button:hover,
.page-sports__step-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #6a0000;
}

.page-sports__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-sports__text-link:hover {
  color: #e6c200;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 12px;
}

.page-sports__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.page-sports__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* About Section */
.page-sports__about-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
}

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

.page-sports__category-card {
  background-color: rgba(255, 255, 255, 0.1); /* Dark card background */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-sports__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-sports__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  padding: 0 20px;
  line-height: 1.6;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-sports__live-betting-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-sports__live-betting-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-sports__live-betting-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.page-sports__tips-section {
  padding: 80px 0;
}

.page-sports__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__tip-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__tip-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
}

/* Promo Section */
.page-sports__promo-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* Get Started Section */
.page-sports__get-started-section {
  padding: 80px 0;
}

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

.page-sports__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__step-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
}

.page-sports__faq-accordion {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #FFD700;
}

.page-sports__faq-question.active::after {
  content: '-';
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__faq-answer {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 30px 20px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-sports__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 0 30px 20px;
}

/* App Download Section */
.page-sports__app-download-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-sports__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

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

.page-sports__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 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.2em;
  }

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 400px;
  }

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

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

  .page-sports__hero-content {
    padding: 30px;
  }

  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-sports__category-grid,
  .page-sports__tips-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__live-betting-section .page-sports__container {
    flex-direction: column;
    gap: 20px;
  }

  .page-sports__live-betting-image-wrapper,
  .page-sports__app-image-wrapper {
    margin-top: 30px;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-sports__hero-image,
  .page-sports__card-image,
  .page-sports__live-betting-image,
  .page-sports__app-image,
  .page-sports__container img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .page-sports__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }

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

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

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

  .page-sports__cta-button,
  .page-sports__hero-button,
  .page-sports__card-button,
  .page-sports__step-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-sports__section-title {
    font-size: 1.5em;
    padding-top: 40px;
  }
}