.page-sports {
  background-color: var(--secondary-color); /* Dark background from shared.css */
  color: #f0f0f0; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-sports__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__main-title {
  font-size: 48px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

/* Hero Section */
.page-sports__hero-section {
  background: linear-gradient(135deg, var(--secondary-color), #333333);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3; /* Slightly transparent to let text stand out */
}

.page-sports__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* Buttons */
.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
  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: #1A1A1A;
}

.page-sports__btn-link {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 8px 15px;
  font-size: 14px;
}

.page-sports__btn-link:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

.page-sports__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Why Choose Section */
.page-sports__why-choose-section {
  background-color: #1A1A1A;
  padding: 60px 0;
}

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

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

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-icon img {
  width: 100%;
  height: auto;
   /* Adjust as needed, but ensure min 200x200 rule for actual image content */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__feature-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Game Types Section */
.page-sports__game-types-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

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

.page-sports__game-type-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-align: center;
}

.page-sports__game-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__game-type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__game-type-title {
  font-size: 22px;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
}

.page-sports__game-type-description {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
}

/* Live Betting Section */
.page-sports__live-betting-section {
  background-color: #1A1A1A;
  padding: 60px 0;
}

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

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

.page-sports__live-betting-text p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #ffffff;
}

.page-sports__live-betting-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__live-betting-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Promotions Section */
.page-sports__promotions-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

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

.page-sports__promo-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-sports__promo-title {
  font-size: 22px;
  color: #FFD700;
  margin: 0 15px 10px 15px;
}

.page-sports__promo-description {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-sports__get-started-section {
  background-color: #1A1A1A;
  padding: 60px 0;
}

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

.page-sports__step-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports__step-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #3a3a3a;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-sports__faq-question:hover {
  background: #4a4a4a;
  border-color: #5a5a5a;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #2a2a2a;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-sports__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* News Section */
.page-sports__news-section {
  background-color: #1A1A1A;
  padding: 60px 0;
}

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

.page-sports__news-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-align: left;
}

.page-sports__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sports__news-title {
  font-size: 20px;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-sports__news-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
}

/* Global image responsive styles */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 40px;
  }
  .page-sports__section-title {
    font-size: 30px;
  }
  .page-sports__live-betting-content {
    flex-direction: column;
  }
  .page-sports__live-betting-text, .page-sports__live-betting-image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding: 30px 15px;
  }
  .page-sports__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-sports__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-sports__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-sports__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary, .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__feature-card,
  .page-sports__game-type-card,
  .page-sports__promo-card,
  .page-sports__step-card,
  .page-sports__news-card {
    padding: 20px;
  }
  .page-sports__feature-title, .page-sports__promo-title, .page-sports__step-title, .page-sports__news-title {
    font-size: 20px;
  }
  .page-sports__feature-description, .page-sports__promo-description, .page-sports__step-description, .page-sports__news-excerpt {
    font-size: 14px;
  }
  .page-sports__game-type-card img {
    
  }
  .page-sports__live-betting-text p {
    font-size: 15px;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
  }
  .page-sports__faq-question h3 {
    font-size: 16px;
  }
  .page-sports__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-sports__faq-answer {
    padding: 0 20px;
  }
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px 20px !important;
  }
  .page-sports__faq-answer p {
    font-size: 14px;
  }
  .page-sports__news-card img {
    
  }
  /* Ensure all images and containers are responsive */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__hero-section, .page-sports__why-choose-section, .page-sports__game-types-section, .page-sports__live-betting-section, .page-sports__promotions-section, .page-sports__get-started-section, .page-sports__faq-section, .page-sports__news-section,
  .page-sports__hero-container, .page-sports__container,
  .page-sports__features-grid, .page-sports__game-types-grid, .page-sports__promotions-grid, .page-sports__steps-grid, .page-sports__news-grid,
  .page-sports__feature-card, .page-sports__game-type-card, .page-sports__promo-card, .page-sports__step-card, .page-sports__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}