:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

/* Base styles for the page content */
.page-sports {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Main text color for dark background */
  background-color: var(--background-color); /* Body background */
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Ensure all images are responsive */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section padding */
.page-sports__section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.page-sports__section-title {
  font-size: clamp(28px, 4vw, 42px); /* H1 font size rule applied to H2 for consistency */
  color: var(--glow-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 18px;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 50px;
}

/* HERO Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden; /* Prevent image overflow */
}

.page-sports__hero-container {
  position: relative;
  max-width: 1920px; /* Max width for the container to hold the large image */
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.4); /* Orange glow */
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-sports__main-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 font size */
  color: var(--glow-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.6);
}

.page-sports__hero-description {
  font-size: 20px;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

/* Introduction Section */
.page-sports__introduction-section {
  background-color: var(--background-color);
  padding-top: 60px;
}

.page-sports__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-sports__text-block {
  flex: 1;
}

.page-sports__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-main-color);
}

.page-sports__image-block {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.2);
}

.page-sports__image-block img {
  border-radius: 12px;
}

.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.3);
}

/* Betting Types Section */
.page-sports__betting-types-section {
  background-color: var(--card-bg); /* Darker background for contrast */
  padding-bottom: 60px;
}

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

.page-sports__card {
  background: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-sports__card img {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.3);
}

.page-sports__card-title {
  font-size: 24px;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sports__card p {
  font-size: 16px;
  color: var(--text-main-color);
  margin-bottom: 25px;
  flex-grow: 1; /* Make paragraphs take available space */
}

.page-sports__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 140, 26, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.5);
}

/* Promotions Section (Dark background for contrast) */
.page-sports__promotions-section {
  background-color: var(--card-bg);
  padding-top: 60px;
  padding-bottom: 80px;
}

.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: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-sports__promo-card img {
  width: 100%;
   /* Fixed height for promo card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.3);
}

.page-sports__promo-title {
  font-size: 22px;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sports__promo-card p {
  font-size: 16px;
  color: var(--text-main-color);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Guide Section */
.page-sports__guide-section {
  background-color: var(--background-color);
  padding-bottom: 60px;
}

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

.page-sports__guide-item {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__guide-step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sports__guide-item p {
  font-size: 16px;
  color: var(--text-main-color);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-sports__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  color: var(--glow-color);
  border: 1px solid var(--glow-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-link:hover {
  background: var(--glow-color);
  color: var(--background-color);
  box-shadow: 0 2px 10px rgba(255, 176, 77, 0.4);
}

/* Features Section */
.page-sports__features-section {
  background-color: var(--card-bg);
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-sports__feature-item {
  background: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
}

.page-sports__feature-item img {
  width: 100%;
  height: auto;
  max-height: 300px; /* Limit height for mobile app image */
  object-fit: contain; /* Ensure full image is visible */
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.3);
}

.page-sports__feature-title {
  font-size: 22px;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sports__feature-item p {
  font-size: 16px;
  color: var(--text-main-color);
  flex-grow: 1;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: var(--background-color);
  padding-bottom: 80px;
}

.page-sports__faq-list {
  margin-top: 50px;
  text-align: left;
}

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main-color);
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}
details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
  display: none;
}
details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--glow-color);
}
.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 25px 20px;
  background: var(--background-color);
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: var(--text-main-color);
}
details.page-sports__faq-item .page-sports__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-main-color);
}


/* Blog/News Section */
.page-sports__blog-news-section {
  background-color: var(--card-bg);
  padding-bottom: 80px;
}

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

.page-sports__blog-card {
  background: var(--background-color);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
}

.page-sports__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

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

.page-sports__blog-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-sports__blog-title a {
  color: var(--glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports__blog-title a:hover {
  color: var(--primary-color);
}

.page-sports__blog-date {
  font-size: 14px;
  color: rgba(255, 243, 230, 0.7);
  margin-bottom: 15px;
}

.page-sports__blog-excerpt {
  font-size: 16px;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__view-all-button-container {
  margin-top: 60px;
  text-align: center;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__content-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__section {
    padding: 40px 15px;
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* Fixed header offset handled by body, small top padding for hero */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-sports__hero-image {
    border-radius: 8px;
    margin-bottom: 20px;
  }

  .page-sports__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-link {
    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;
    margin-top: 15px;
  }

  .page-sports__card-grid,
  .page-sports__promo-grid,
  .page-sports__guide-steps,
  .page-sports__features-grid,
  .page-sports__blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-sports__card,
  .page-sports__promo-card,
  .page-sports__guide-item,
  .page-sports__feature-item,
  .page-sports__blog-card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-sports__card img,
  .page-sports__promo-card img,
  .page-sports__blog-card img {
     /* Adjust card image height for mobile */
    border-radius: 6px;
    margin-bottom: 15px;
  }

  .page-sports__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-sports__card-title,
  .page-sports__promo-title,
  .page-sports__guide-step-title,
  .page-sports__feature-title,
  .page-sports__blog-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-sports__text-block p,
  .page-sports__card p,
  .page-sports__promo-card p,
  .page-sports__guide-item p,
  .page-sports__feature-item p,
  .page-sports__blog-excerpt {
    font-size: 15px;
    margin-bottom: 15px;
  }

  details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
  .page-sports__faq-qtext { font-size: 16px; }
  .page-sports__faq-toggle { font-size: 24px; width: 24px; }
  details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }

  /* Ensure all content containers have proper padding/width */
  .page-sports__container,
  .page-sports__hero-container,
  .page-sports__content-grid,
  .page-sports__card-grid,
  .page-sports__promo-grid,
  .page-sports__guide-steps,
  .page-sports__features-grid,
  .page-sports__faq-list,
  .page-sports__blog-grid,
  .page-sports__view-all-button-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}