/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with 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.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

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

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

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

.page-sports__btn-special {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

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

/* --- Hero Section --- */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 700px; /* Adjusted height for better visual */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.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.7); /* Dark overlay for text readability */
  z-index: 2;
}

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

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

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

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

/* --- Introduction Section --- */
.page-sports__introduction-section {
  padding: 80px 0;
  background: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* --- Features Section --- */
.page-sports__features-section {
  padding: 80px 0;
  background: #000000;
}

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

.page-sports__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports__feature-card img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-sports__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-sports__category-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-sports__category-card:hover {
  transform: translateY(-5px);
}

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

.page-sports__category-title {
  font-size: 1.8em;
  color: #017439;
  padding: 15px 20px 0;
}

.page-sports__category-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 10px 20px 20px;
}

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

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

.page-sports__live-betting-text {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
}

.page-sports__live-betting-text p {
  margin-bottom: 25px;
  font-size: 1.1em;
}

.page-sports__live-betting-image {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* --- Download Guide Section --- */
.page-sports__download-guide-section {
  padding: 80px 0;
  background: #0d0d0d;
}

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

.page-sports__guide-step {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
}

.page-sports__guide-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-sports__guide-step p {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-sports__download-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

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

.page-sports__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

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

.page-sports__promotion-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

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

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

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

.page-sports__faq-question:hover {
  background: #005a2e;
}

.page-sports__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-sports__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.05);
}

.page-sports__faq-item[open] .page-sports__faq-question {
  border-bottom: none;
}

/* Remove default details marker */
.page-sports__faq-item summary {
  list-style: none;
}
.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

/* --- CTA Bottom Section --- */
.page-sports__cta-bottom-section {
  padding: 80px 0;
  background: #000000;
  text-align: center;
}

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

.page-sports__cta-bottom-section .page-sports__text-block {
  color: #f0f0f0;
}

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

/* --- Global Image Styles (for content area) --- */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure minimum size for content images if not specifically sized */
  min-width: 200px;
  min-height: 200px;
}

/* --- Responsive Design --- */
@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__live-betting-content {
    flex-direction: column;
  }
  .page-sports__live-betting-image {
    max-width: 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-special,
  .page-sports__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__text-block {
    font-size: 1em;
    padding: 0 10px;
  }
  .page-sports__features-grid,
  .page-sports__categories-grid,
  .page-sports__guide-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__container {
    padding: 0 15px;
  }
}