/* style/sports.css */

/* Base styles for the page-sports scope */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  /* body already handles padding-top: var(--header-offset); */
}

.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: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-sports__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-align: center;
}

.page-sports__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px;
  color: #F2FFF6;
  text-align: center;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card B G with opacity */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-sports__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  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;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.4);
}

.page-sports__btn-secondary {
  background: #ffffff;
  color: #11A84E; /* Main brand color for contrast */
  border: 2px solid #11A84E; /* Main brand color border */
}

.page-sports__btn-secondary:hover {
  background: #11A84E; /* Main brand color */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.3);
}

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

/* Introduction Section */
.page-sports__introduction-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

/* Betting Types Section & Top Sports Section */
.page-sports__betting-types-section,
.page-sports__top-sports-section {
  padding: 80px 0;
}

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

.page-sports__card {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border color */
}

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

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

.page-sports__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-sports__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Benefits Section */
.page-sports__benefits-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-sports__benefit-item {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-sports__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #57E38D); /* Glow */
}

.page-sports__benefit-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-sports__benefit-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* How To Bet Section */
.page-sports__how-to-bet-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-sports__step-card {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border color */
  position: relative;
  padding-top: 60px;
}

.page-sports__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  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 #08160F; /* Background */
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-sports__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-sports__step-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* Betting Tips Section */
.page-sports__betting-tips-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-sports__tip-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-sports__tip-item strong {
  color: #57E38D; /* Glow */
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-sports__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-sports__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.page-sports__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-sports__faq-item summary:hover {
  background-color: #13994A; /* Slightly lighter green for hover */
}

.page-sports__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #57E38D; /* Glow */
}

.page-sports__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card B G */
  border-top: 1px solid #2E7A4E; /* Divider */
}

.page-sports__faq-answer p {
  margin: 0;
  text-align: left;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__description {
    font-size: 1.1em;
  }
  .page-sports__card-title {
    font-size: 1.3em;
  }
  .page-sports__benefit-title {
    font-size: 1.2em;
  }
  .page-sports__step-title {
    font-size: 1.2em;
  }
}

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

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

  .page-sports__hero-section {
    padding: 40px 15px;
    min-height: 450px;
  }

  .page-sports__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-sports__description {
    font-size: 1em;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-sports__text-block {
    font-size: 0.95em;
  }

  .page-sports__cards-grid,
  .page-sports__benefits-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__card,
  .page-sports__benefit-item,
  .page-sports__step-card,
  .page-sports__tip-item,
  .page-sports__faq-item {
    padding: 20px;
  }

  .page-sports__card-image {
    height: 180px;
  }

  .page-sports__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-sports__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    top: -15px;
  }

  .page-sports__faq-item summary {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-sports__faq-answer {
    padding: 12px 20px;
  }

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

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__introduction-section,
  .page-sports__betting-types-section,
  .page-sports__top-sports-section,
  .page-sports__benefits-section,
  .page-sports__how-to-bet-section,
  .page-sports__betting-tips-section,
  .page-sports__faq-section,
  .page-sports__cta-section,
  .page-sports__hero-image-wrapper,
  .page-sports__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already set for containers and buttons */
  }

  /* Ensure no horizontal overflow */
  .page-sports__hero-section,
  .page-sports__introduction-section,
  .page-sports__betting-types-section,
  .page-sports__top-sports-section,
  .page-sports__benefits-section,
  .page-sports__how-to-bet-section,
  .page-sports__betting-tips-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    overflow-x: hidden !important;
  }

  /* Specific padding for sections if needed */
  .page-sports__introduction-section,
  .page-sports__betting-types-section,
  .page-sports__top-sports-section,
  .page-sports__benefits-section,
  .page-sports__how-to-bet-section,
  .page-sports__betting-tips-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}