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

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  box-sizing: border-box;
}

.page-sports__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

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

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

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

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

.page-sports__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-sports__intro-section, 
.page-sports__guide-section, 
.page-sports__features-section, 
.page-sports__safety-section {
  padding: 80px 0;
}

.page-sports__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-sports__dark-bg .page-sports__section-title {
  color: #FFFFFF;
}

.page-sports__dark-bg .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-sports__light-bg .page-sports__section-title {
  color: #017439;
}

.page-sports__light-bg .page-sports__section-description {
  color: #555555;
}

.page-sports__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-sports__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-sports__image-wrapper {
  text-align: center;
}

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

.page-sports__image-center {
  margin: 40px auto;
  display: block;
}

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

.page-sports__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-sports__dark-bg .page-sports__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__dark-bg .page-sports__card-title {
  color: #FFFFFF;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__dark-bg .page-sports__card-title {
  color: #FFFFFF;
}

.page-sports__card p {
  font-size: 1em;
  line-height: 1.6;
}

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

.page-sports__step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-sports__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #017439;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 5px #017439;
}

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

.page-sports__guide-section .page-sports__step-title {
  color: #017439;
}

.page-sports__guide-section .page-sports__step-item p {
  color: #555555;
}

.page-sports__promotions-section .page-sports__card-title {
  color: #FFFFFF;
}

.page-sports__promotions-section .page-sports__card p {
  color: #f0f0f0;
}

.page-sports__faq-section {
  padding: 80px 0;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFFFFF;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-sports__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.6;
}

.page-sports__safety-section .page-sports__text-block p {
  color: #555555;
}

.page-sports__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__cta-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-sports__cta-wrapper .page-sports__cta-button {
  margin: 10px;
}

/* Image specific styling */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No filter properties to change image color */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__content-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-sports__bet-types-grid, .page-sports__promotions-grid, .page-sports__features-grid, .page-sports__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-sports__intro-section, 
  .page-sports__guide-section, 
  .page-sports__features-section, 
  .page-sports__safety-section, 
  .page-sports__promotions-section, 
  .page-sports__faq-section, 
  .page-sports__conclusion-section {
    padding: 60px 0;
  }
  .page-sports__content-grid {
    gap: 30px;
  }
  .page-sports__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-sports__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  .page-sports__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile video section padding */
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  .page-sports img {
    max-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;
  }
  .page-sports__cta-buttons, .page-sports__button-group, .page-sports__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
  }
}