/* style/sports.css */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-sports__section {
  padding: 60px 20px;
  background-color: #140C0C; /* Background */
}

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

.page-sports__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-sports__section-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

.page-sports__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-list, .page-sports__bonus-list, .page-sports__tip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports__feature-item, .page-sports__bonus-item, .page-sports__tip-item {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
}

.page-sports__feature-title, .page-sports__bonus-title, .page-sports__tip-title {
  font-size: 1.5rem;
  color: #E53030; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__sport-category {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-sports__sport-title {
  font-size: 1.8rem;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  text-align: center;
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer; /* Indicate clickable video */
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  margin: 10px;
}

.page-sports__cta-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #FFC77A 0%, #E07B24 100%);
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
}

.page-sports__btn-secondary {
  background: transparent;
  border: 2px solid #F3C54D; /* Gold border */
  color: #F3C54D; /* Gold text */
}

.page-sports__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  transform: translateY(-3px);
}

.page-sports__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-sports__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #E53030; /* Auxiliary color */
  cursor: pointer;
  list-style: none; /* For details/summary */
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

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

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

.page-sports__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-left: 15px;
}

.page-sports__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  color: #FFF1E8;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  color: #F3C54D; /* Gold when open */
}

.page-sports__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
  }

  .page-sports__main-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

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

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

  .page-sports__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-sports__section-text {
    font-size: 1rem;
  }

  .page-sports__feature-list, .page-sports__bonus-list, .page-sports__tip-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-item, .page-sports__bonus-item, .page-sports__tip-item, .page-sports__sport-category {
    padding: 20px;
  }

  .page-sports__feature-title, .page-sports__bonus-title, .page-sports__tip-title, .page-sports__sport-title {
    font-size: 1.3rem;
  }

  .page-sports__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: 5px 0 !important;
  }

  .page-sports__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-sports__video-wrapper {
    padding-bottom: 75%; /* Adjust for mobile aspect ratio if needed, or keep 16:9 */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}