.page-sports {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background */
}

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

.page-sports__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-sports__btn-link {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-sports__btn-link:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-sports__cta-container {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-sports__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-sports__card-link {
  display: inline-block;
  margin-top: 15px;
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__card-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-sports__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
}

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

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

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

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #1e1e1e; /* Light background for this section */
  color: #ffffff;
}

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

/* Bet Types Section */
.page-sports__bet-types-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark section with brand color */
  color: #ffffff;
}

.page-sports__bet-types-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__bet-types-section .page-sports__section-intro {
  color: #f0f0f0;
}

.page-sports__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-sports__bet-type-card {
  background: rgba(0, 0, 0, 0.2); /* Darker background for cards in dark section */
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-sports__bet-type-card .page-sports__card-title {
  color: #ffffff;
}

.page-sports__bet-type-card .page-sports__card-description {
  color: #f0f0f0;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #1e1e1e; /* Light background for this section */
  color: #ffffff;
}

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

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark section with brand color */
  color: #ffffff;
}

.page-sports__guide-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__guide-section .page-sports__section-intro {
  color: #f0f0f0;
}

.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-sports__step-item {
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
}

.page-sports__step-number {
  counter-increment: step-counter;
  font-size: 2.5em;
  font-weight: bold;
  color: #EA7C07;
  margin-bottom: 15px;
  display: block;
}

.page-sports__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-sports__step-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 80px 0;
  background-color: #1e1e1e; /* Light background for this section */
  color: #ffffff;
}

.page-sports__responsible-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-sports__responsible-image {
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__responsible-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 45%;
  text-align: left;
}

.page-sports__responsible-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-sports__responsible-list .page-sports__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__responsible-list p {
  color: #f0f0f0;
  line-height: 1.6;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark section with brand color */
  color: #ffffff;
}

.page-sports__faq-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__faq-section .page-sports__section-intro {
  color: #f0f0f0;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__faq-item {
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #EA7C07;
}

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

.page-sports__faq-answer {
  padding: 15px 25px 20px;
  background: rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
  line-height: 1.6;
  font-size: 1em;
}

.page-sports__faq-answer p {
  margin-bottom: 10px;
}

.page-sports__faq-answer .page-sports__faq-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Conclusion Section */
.page-sports__conclusion-section {
  padding: 80px 0;
  background-color: #1e1e1e; /* Light background for this section */
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__section-title {
    font-size: 2.2em;
  }
  .page-sports__responsible-content {
    flex-direction: column;
  }
  .page-sports__responsible-image,
  .page-sports__responsible-list {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 50px;
  }
  .page-sports__hero-title {
    font-size: 2.2em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-intro {
    font-size: 0.9em;
  }
  .page-sports__features-grid,
  .page-sports__bet-types-grid,
  .page-sports__promotions-grid,
  .page-sports__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-sports__responsible-image,
  .page-sports__responsible-list {
    max-width: 100%;
  }

  /* Mobile responsive for images, videos, buttons */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }
  .page-sports video,
  .page-sports__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
  }
  .page-sports__hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: unset;
    min-height: unset;
    transform: none;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-content,
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-actions,
  .page-sports__cta-container,
  .page-sports__step-actions,
  .page-sports__faq-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-sports__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.6em;
  }
}

/* Color Contrast Fixes */
.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #1e1e1e;
  color: #ffffff;
}

.page-sports__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-sports__card-title {
  color: #26A9E0;
}

.page-sports p,
.page-sports li {
  color: #f0f0f0;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-sports__btn-link {
  color: #EA7C07;
  border-color: #EA7C07;
}

.page-sports__btn-link:hover {
  background: #EA7C07;
  color: #ffffff;
}

.page-sports__faq-question {
  color: #ffffff;
}

.page-sports__faq-toggle {
  color: #EA7C07;
}

.page-sports__faq-answer {
  color: #f0f0f0;
}

.page-sports__list-title {
  color: #26A9E0;
}

.page-sports__step-number {
  color: #EA7C07;
}

.page-sports__step-title {
  color: #ffffff;
}