/* 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: #1a1a2e; /* Inherited from body, but explicitly set for sections if needed */
}

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

.page-sports__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.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;
  max-width: 800px;
  padding: 20px;
}

.page-sports__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for mobile */
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__faq-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

/* General Section Styles */
.page-sports__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-sports__introduction-section .page-sports__section-title,
.page-sports__guide-section .page-sports__section-title,
.page-sports__promotions-section .page-sports__section-title,
.page-sports__security-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-title {
  color: #003366;
}

.page-sports__providers-section .page-sports__section-title,
.page-sports__bet-types-section .page-sports__section-title,
.page-sports__tips-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__introduction-section,
.page-sports__promotions-section,
.page-sports__guide-section,
.page-sports__security-section,
.page-sports__faq-section {
  padding: 60px 0;
}

.page-sports__providers-section,
.page-sports__bet-types-section,
.page-sports__tips-section {
  padding: 60px 0;
}

/* Feature Grid */
.page-sports__feature-grid,
.page-sports__provider-grid,
.page-sports__promotion-grid,
.page-sports__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-item,
.page-sports__provider-card,
.page-sports__promotion-card,
.page-sports__security-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__provider-card,
.page-sports__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-sports__feature-item img,
.page-sports__provider-card img,
.page-sports__promotion-card img,
.page-sports__security-item img,
.page-sports__step-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

.page-sports__feature-heading,
.page-sports__provider-heading,
.page-sports__promotion-heading,
.page-sports__security-heading,
.page-sports__step-heading,
.page-sports__bet-type-heading,
.page-sports__tip-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #003366;
}

.page-sports__provider-card .page-sports__provider-heading,
.page-sports__security-item .page-sports__security-heading {
  color: #FFD700;
}

/* Guide Section */
.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__step-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-sports__step-button {
  margin-top: auto; /* Push button to bottom */
  display: block;
  width: 100%;
}

/* Bet Types */
.page-sports__bet-types-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports__bet-types-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__bet-types-list li:last-child {
  margin-bottom: 0;
}

.page-sports__bet-type-heading {
  color: #FFD700;
}

/* Promotions */
.page-sports__promotion-card .page-sports__btn-primary {
  margin-top: auto;
  width: auto; /* Reset width for card buttons */
}

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

/* Tips Section */
.page-sports__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__tips-list li:last-child {
  margin-bottom: 0;
}

.page-sports__tip-heading {
  color: #FFD700;
}

/* Security Section */
.page-sports__cta-security {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-sports__faq-list {
  margin-top: 40px;
}

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