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

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

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

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  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-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

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

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

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

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

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

.page-sports__btn-primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

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

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

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

.page-sports__btn-link {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-sports__btn-link:hover {
  background-color: #FFD700;
  color: #0A2342;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

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

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

.page-sports__feature-text {
  color: #666666;
}

/* Categories Section */
.page-sports__categories-section {
  padding: 80px 0;
  background-color: #0A2342;
  color: #ffffff;
}

.page-sports__categories-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__categories-section .page-sports__section-description {
  color: #cccccc;
}

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

.page-sports__category-card {
  background-color: #1a3a63; /* Slightly lighter dark blue for card */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-sports__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

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

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

.page-sports__category-text {
  color: #dddddd;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__category-card .page-sports__btn-link {
  margin-bottom: 20px;
  align-self: center;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-sports__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-sports__live-betting-text {
  flex: 1;
}

.page-sports__live-betting-text .page-sports__section-title,
.page-sports__live-betting-text .page-sports__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-sports__live-betting-list li {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #555555;
  font-size: 1.1em;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__live-betting-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #0A2342;
  color: #ffffff;
}

.page-sports__promotions-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__promotions-section .page-sports__section-description {
  color: #cccccc;
}

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

.page-sports__promo-card {
  background-color: #1a3a63;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-sports__promo-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-sports__promo-text {
  color: #dddddd;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* How to Start Section */
.page-sports__how-to-start-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-sports__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for number */
}

.page-sports__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0A2342;
  color: #FFD700;
  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 #FFD700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__step-title {
  font-size: 1.4em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-sports__step-text {
  color: #666666;
}

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

/* Responsible Gambling Section */
.page-sports__responsible-gambling-section {
  padding: 80px 0;
  background-color: #0A2342;
  color: #ffffff;
}

.page-sports__responsible-gambling-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-sports__responsible-gambling-text {
  flex: 1;
}

.page-sports__responsible-gambling-text .page-sports__section-title {
  color: #FFD700;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__responsible-gambling-text .page-sports__section-description {
  color: #cccccc;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 20px;
}

.page-sports__responsible-gambling-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-sports__responsible-gambling-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-sports__faq-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-description {
  color: #0A2342;
}

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

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

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

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

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  background-color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }

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

  .page-sports__live-betting-content,
  .page-sports__responsible-gambling-content {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__live-betting-text .page-sports__section-title,
  .page-sports__live-betting-text .page-sports__section-description,
  .page-sports__responsible-gambling-text .page-sports__section-title,
  .page-sports__responsible-gambling-text .page-sports__section-description {
    text-align: center;
  }

  .page-sports__live-betting-list {
    padding-left: 0;
    text-align: left;
  }
}

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

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

  .page-sports__hero-section {
    height: 500px;
    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-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link,
  .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-cta-buttons,
  .page-sports__cta-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

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

  /* All image containers */
  .page-sports__hero-section,
  .page-sports__why-choose-section,
  .page-sports__categories-section,
  .page-sports__live-betting-section,
  .page-sports__promotions-section,
  .page-sports__how-to-start-section,
  .page-sports__responsible-gambling-section,
  .page-sports__faq-section,
  .page-sports__container,
  .page-sports__features-grid,
  .page-sports__feature-item,
  .page-sports__categories-grid,
  .page-sports__category-card,
  .page-sports__live-betting-content,
  .page-sports__live-betting-image-wrapper,
  .page-sports__promo-grid,
  .page-sports__promo-card,
  .page-sports__steps-grid,
  .page-sports__step-item,
  .page-sports__responsible-gambling-content,
  .page-sports__responsible-gambling-image-wrapper,
  .page-sports__faq-list,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  
  .page-sports__faq-question h3 {
    font-size: 1.1em;
  }
  
  .page-sports__faq-answer {
    padding: 0 20px;
  }
  
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px !important;
  }
}