/* style/sports.css */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #0A2342;
  color: #ffffff;
  overflow: hidden;
}

.page-sports__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-sports__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B500;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-sports__hero-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;
  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: #E0B500;
  color: #0A2342;
  border: 2px solid #E0B500;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #E0B500;
  color: #0A2342;
}

.page-sports__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-top: 40px;
  overflow: hidden;
}

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

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

.page-sports__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #E0B500;
}

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

.page-sports__why-choose-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #f0f0f0;
}

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

.page-sports__feature-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-10px);
}

.page-sports__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 300px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

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

.page-sports__feature-description {
  color: #cccccc;
}

.page-sports__sports-types-section {
  background-color: #0A2342;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-sports__sport-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-sports__sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__sport-card h3,
.page-sports__sport-card p {
  padding: 0 20px;
}

.page-sports__sport-title {
  font-size: 1.4em;
  color: #E0B500;
  margin: 20px 0 10px 0;
}

.page-sports__sport-description {
  color: #cccccc;
  margin-bottom: 20px;
}

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

.page-sports__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

.page-sports__live-betting-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #f0f0f0;
}

.page-sports__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-sports__live-betting-text,
.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-sports__live-betting-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__live-betting-list li {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #E0B500;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-sports__list-highlight {
  color: #E0B500;
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-sports__promotions-section {
  background-color: #0A2342;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-sports__promo-card {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

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

.page-sports__promo-title {
  font-size: 1.4em;
  color: #E0B500;
  margin-bottom: 10px;
}

.page-sports__promo-description {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-sports__get-started-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #f0f0f0;
}

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

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

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #E0B500;
  margin-bottom: 15px;
}

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

.page-sports__step-description {
  color: #cccccc;
}

.page-sports__responsible-gaming-section {
  background-color: #0A2342;
  padding: 60px 0;
  color: #ffffff;
}

.page-sports__responsible-gaming-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__responsible-gaming-list li {
  background-color: #1a1a1a;
  margin-bottom: 10px;
  padding: 10px 20px;
  border-left: 4px solid #E0B500;
  border-radius: 5px;
  color: #f0f0f0;
  text-align: left;
}

.page-sports__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #f0f0f0;
}

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

.page-sports__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #0A2342;
  color: #E0B500;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: #1a3a62;
}

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  background-color: #2a2a2a;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

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

.page-sports p, .page-sports li {
  color: #f0f0f0; /* Default text color for general content */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__live-betting-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-sports__hero-title {
    font-size: 2.2em;
  }

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

  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-sports__section-description {
    font-size: 0.95em;
  }

  .page-sports__container,
  .page-sports__why-choose-section .page-sports__container,
  .page-sports__sports-types-section .page-sports__container,
  .page-sports__live-betting-section .page-sports__container,
  .page-sports__promotions-section .page-sports__container,
  .page-sports__get-started-section .page-sports__container,
  .page-sports__responsible-gaming-section .page-sports__container,
  .page-sports__faq-section .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper,
  .page-sports__live-betting-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__video,
  .page-sports video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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: hidden !important;
  }
  
  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px;
  }
}