/* style/sports.css */
.page-sports {
  /* Assuming body background is dark from shared.css, using light text main color */
  color: #FFF5E1; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-sports__hero-content {
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-sports__btn-secondary {
  background: #B71C1C; /* Background color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.4);
}

.page-sports__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.6);
}

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

.page-sports__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFCC66; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-sports__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF5E1; /* Text Main */
}

.page-sports__text-main {
  color: #FFF5E1; /* Text Main */
}

.page-sports__text-gold {
  color: #F4D34D; /* Gold */
}

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

/* Section Backgrounds */
.page-sports__dark-section {
  background: #C91F17; /* Main Color */
  color: #FFF5E1;
}

.page-sports__light-bg {
  background: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-sports__background-color {
  background: #B71C1C; /* Background */
  color: #FFF5E1;
}

.page-sports__deep-red-bg {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-sports__about-section .page-sports__section-title,
.page-sports__betting-guide-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-title {
  color: #FFCC66; /* Glow */
}

.page-sports__about-section .page-sports__text-block,
.page-sports__betting-guide-section .page-sports__text-block,
.page-sports__faq-section .page-sports__text-block {
  color: #FFF5E1; /* Text Main */
}

/* Popular Sports Grid */
.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sport-card {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
}

.page-sports__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #F2B544; /* Border */
}

.page-sports__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-sports__card-description {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
}

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Advantages Section */
.page-sports__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__advantage-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__advantage-card .page-sports__card-title {
  color: #FFCC66; /* Glow */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-sports__advantage-card .page-sports__card-description {
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
}

/* Betting Guide Section */
.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__guide-step {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  border: 2px solid #F2B544; /* Border */
}

.page-sports__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-sports__step-description {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
}

/* Promotions Section */
.page-sports__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__promotion-card {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-sports__promotion-card .page-sports__card-title {
  color: #F4D34D; /* Gold */
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-sports__promotion-card .page-sports__card-description {
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-item summary {
  list-style: none; /* Hide default marker */
  display: block;
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit */
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  cursor: pointer;
  background: #C91F17; /* Main Color */
  border-bottom: 1px solid #F2B544; /* Border */
}

.page-sports__faq-question:hover {
  background: #E53935; /* Auxiliary Color */
}

.page-sports__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFCC66; /* Glow */
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  line-height: 1.8;
}

.page-sports__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Final CTA Section */
.page-sports__cta-final-section {
  padding: 80px 20px;
  text-align: center;
}

.page-sports__cta-final-section .page-sports__section-title {
  margin-bottom: 20px;
}

.page-sports__cta-final-section .page-sports__text-block {
  margin-bottom: 40px;
}

/* 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 !important;
  }

  .page-sports__hero-content {
    margin-top: 20px;
  }

  .page-sports__main-title {
    font-size: 2rem;
  }

  .page-sports__tagline {
    font-size: 1rem;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-sports__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-sports__sports-grid,
  .page-sports__advantages-grid,
  .page-sports__guide-steps,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-sports__card-image {
    height: 180px;
  }

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

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

  .page-sports__faq-answer {
    font-size: 0.95rem;
  }

  /* Image responsive for mobile */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons responsive for mobile */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific video styles for mobile if any */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__video-section {
    padding-top: 10px !important;
  }

  .page-sports__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}