.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-sports__section {
  padding: 40px 0;
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, #26A9E0, #4CAF50);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures image covers area, might crop */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  text-align: center;
}

.page-sports__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size */
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-sports__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-sports__why-choose .page-sports__section-title,
.page-sports__bet-types .page-sports__section-title,
.page-sports__guide .page-sports__section-title,
.page-sports__promotions .page-sports__section-title,
.page-sports__mobile-app .page-sports__section-title,
.page-sports__faq .page-sports__section-title,
.page-sports__contact-us .page-sports__section-title,
.page-sports__conclusion .page-sports__section-title {
  color: #26A9E0;
}

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

.page-sports__feature-item {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-sports__feature-text {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

.page-sports__bet-type-card {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-sports__bet-type-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-sports__bet-type-text {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

.page-sports__guide-step {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-sports__step-text {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-sports__step-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__step-text a:hover {
  text-decoration: underline;
}

.page-sports__promotions {
  background-color: #f0f8ff; /* Light blue background for promotions */
}

.page-sports__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__promo-item {
  background: #FFFFFF;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
  font-size: 1.05em;
}

.page-sports__mobile-app-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
}

.page-sports__mobile-app-text {
  flex: 1;
  min-width: 300px;
}

.page-sports__mobile-app-image-wrapper {
  flex-shrink: 0;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-sports__mobile-app-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure full phone screen is visible */
  display: block;
}

.page-sports__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f8f8f8;
  color: #000000;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-sports__faq-item[open] > .page-sports__faq-question {
  background-color: #e0f2f7;
}

.page-sports__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent text from blocking summary click */
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle from blocking summary click */
}

.page-sports__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
  border-top: 1px solid #eee;
}

.page-sports__faq-answer p {
  margin: 0;
}

.page-sports__faq-more {
  margin-top: 30px;
}

.page-sports__contact-methods {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-sports__conclusion {
  background-color: #e0f2f7;
  padding-bottom: 60px;
}

.page-sports__keyword {
  font-weight: bold;
  color: #26A9E0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-sports__container {
    padding: 20px;
  }

  .page-sports__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-sports__section-title {
    font-size: 2em;
  }

  .page-sports__hero-section {
    padding-bottom: 20px;
  }

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

  .page-sports__mobile-app-text {
    min-width: unset;
    width: 100%;
  }

  .page-sports__mobile-app-image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__section {
    padding: 30px 0;
  }

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

  .page-sports__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-sports__hero-image-wrapper {
    max-height: 400px;
  }

  .page-sports__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible on mobile */
    max-height: 100%;
    width: auto;
  }

  .page-sports__hero-content {
    padding: 20px 15px;
  }

  .page-sports__hero-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-sports__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-sports__hero-cta-buttons,
  .page-sports__contact-methods {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0; /* Override any horizontal margin */
  }

  .page-sports__features-grid,
  .page-sports__bet-type-grid,
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-sports__feature-item,
  .page-sports__bet-type-card,
  .page-sports__guide-step {
    padding: 20px;
  }

  .page-sports__feature-title,
  .page-sports__bet-type-title,
  .page-sports__step-title {
    font-size: 1.2em;
  }

  .page-sports__feature-image,
  .page-sports__step-image {
    max-height: 180px;
  }

  .page-sports__promo-list {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-sports__promo-item {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-sports__mobile-app-content {
    flex-direction: column-reverse;
    gap: 20px;
    padding: 0 15px;
  }

  .page-sports__mobile-app-image-wrapper {
    width: 250px;
    height: 333px;
    margin-bottom: 20px;
  }

  .page-sports__faq-list {
    margin-top: 20px;
    padding: 0 15px;
  }

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

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

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important; /* Default to cover for content images */
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-cta-buttons,
  .page-sports__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__mobile-app-image {
    object-fit: contain !important; /* Specific override for mobile app image */
  }
}