.page-sports {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

/* Sections */
.page-sports__hero-section,
.page-sports__highlight-section,
.page-sports__categories-section,
.page-sports__betting-guide-section,
.page-sports__promotions-section,
.page-sports__faq-section,
.page-sports__call-to-action-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden; /* Ensure no overflow issues */
}

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

/* Hero Section */
.page-sports__hero-section {
  padding: 10px 0 80px 0; /* Small top padding, then larger bottom */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0D0E12; /* Match body background */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 40px;
}

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

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__main-title {
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for H1 as allowed */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-sports__hero-description {
  font-size: 1.15em;
  margin-bottom: 40px;
  color: #FFF3E6;
}

/* Buttons */
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure buttons adapt to container */
  width: auto; /* Default to auto width */
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Main color */
  border: 2px solid #FF8C1A; /* Main color */
}

.page-sports__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-sports__card-link {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 20px;
}

.page-sports__card-link:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-1px);
}

/* General Titles & Descriptions */
.page-sports__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFB04D; /* Glow color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-sports__feature-card,
.page-sports__category-card,
.page-sports__promo-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6; /* Text Main */
}

.page-sports__feature-card:hover,
.page-sports__category-card:hover,
.page-sports__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-sports__feature-icon,
.page-sports__category-image,
.page-sports__promo-image {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__card-description {
  font-size: 1em;
  color: #FFF3E6;
  flex-grow: 1; /* Push link to bottom */
}

/* Dark Sections */
.page-sports__dark-section {
  background-color: #0D0E12; /* Background color */
  color: #FFF3E6;
}

.page-sports__dark-bg {
  background-color: #FF8C1A; /* Main color */
  color: #ffffff; /* Forced white text for main color background */
}

/* Betting Guide Section */
.page-sports__betting-guide-section {
  background-color: #0D0E12; /* Background */
}

.page-sports__guide-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

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

.page-sports__guide-subtitle {
  font-size: 1.8em;
  color: #FFA53A; /* Accent color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__guide-text p {
  color: #FFF3E6;
  margin-bottom: 15px;
}

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

.page-sports__guide-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-sports__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-sports__faq-item summary {
  list-style: none; /* Hide default marker */
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFB04D; /* Glow color */
}

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFA53A; /* Accent color */
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-sports__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #FFF3E6;
  line-height: 1.7;
}

/* Call to Action Section */
.page-sports__call-to-action-section {
  padding: 100px 0;
  text-align: center;
}

.page-sports__cta-content {
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-sports__guide-content {
    flex-direction: column;
  }

  .page-sports__guide-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section,
  .page-sports__highlight-section,
  .page-sports__categories-section,
  .page-sports__betting-guide-section,
  .page-sports__promotions-section,
  .page-sports__faq-section,
  .page-sports__call-to-action-section {
    padding: 40px 0;
  }

  .page-sports__container {
    padding: 0 15px;
  }

  /* Force responsive for images, videos, buttons */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__video,
  .page-sports video { /* Added for potential video tag */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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; /* Ensure content doesn't overflow */
  }

  .page-sports__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  .page-sports__cta-button,
  .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; /* Make buttons full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-sports__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Adjust H1 for mobile */
  }

  .page-sports__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

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

  .page-sports__feature-card,
  .page-sports__category-card,
  .page-sports__promo-card {
    padding: 20px;
  }

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

  .page-sports__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-sports__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-sports__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__cta-buttons {
    gap: 10px;
  }
}

/* Ensure no filter on images */
.page-sports img {
  filter: none;
}