/* style/sports.css */

/* Base styles for the page, ensuring text is light on dark background */
.page-sports {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-sports a {
  color: #57E38D; /* Custom Glow for links */
  text-decoration: none;
}

.page-sports a:hover {
  text-decoration: underline;
}

/* Section spacing and general content area */
.page-sports__section {
  padding: 60px 20px;
  text-align: center;
}

.page-sports__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.page-sports__dark-section {
  background-color: #0A4B2C; /* Custom Deep Green for darker sections */
  color: #F2FFF6;
}

.page-sports__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  font-weight: bold;
  color: #F2C14E; /* Custom Gold */
  line-height: 1.2;
}

.page-sports__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for visual */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability without changing colors */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-sports__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #57E38D; /* Custom Glow */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-sports__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

/* Grid for diverse sports types */
.page-sports__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

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

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

.page-sports__card-title {
  font-size: 1.6em;
  color: #F2C14E; /* Custom Gold */
  padding: 20px 20px 10px;
}

.page-sports__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Custom Text Secondary */
  padding: 0 20px 20px;
}

/* Guide steps */
.page-sports__guide-steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-sports__guide-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid #2E7A4E;
}

.page-sports__guide-title {
  font-size: 1.8em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
}

.page-sports__guide-text {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 10px;
}

.page-sports__guide-list {
  list-style-type: disc;
  margin-left: 25px;
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-sports__guide-list li {
  margin-bottom: 5px;
}

.page-sports__guide-list strong {
  color: #F2FFF6; /* Custom Text Main */
}

/* Promotions */
.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-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-sports__promotion-title {
  font-size: 1.5em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-sports__promotion-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-sports__promotion-card .page-sports__btn-primary {
  margin-top: auto;
  width: calc(100% - 40px); /* Adjust button width within card */
  margin-left: 20px;
  margin-right: 20px;
}

.page-sports__note {
  font-style: italic;
  margin-top: 30px;
  color: #A7D9B8;
}

/* Features Grid (Security & Support) */
.page-sports__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  text-align: center;
}

.page-sports__feature-icon {
  width: 100%;
  max-width: 200px; /* Ensure icons are not tiny but also not excessively large */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__feature-title {
  font-size: 1.6em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* FAQ Section */
.page-sports__faq-section {
  text-align: left;
}

.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  color: #F2FFF6; /* Custom Text Main */
  background-color: #1E3A2A; /* Custom Divider for FAQ question background */
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #0A4B2C; /* Custom Deep Green for active FAQ */
  border-bottom: 1px solid #2E7A4E;
}

.page-sports__faq-question:hover {
  background-color: #0A4B2C;
}

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

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

.page-sports__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-sports__faq-item:not([open]) .page-sports__faq-answer {
  display: none; /* Hide answer when not open for details tag */
}

/* Call to Action at the bottom */
.page-sports__call-to-action {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #0A4B2C; /* Custom Deep Green */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-sports__section-title {
    font-size: 2.2em;
  }
}

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

  .page-sports__content-area,
  .page-sports__hero-content,
  .page-sports__cta-buttons,
  .page-sports__grid-container,
  .page-sports__guide-steps,
  .page-sports__promotions-grid,
  .page-sports__feature-grid,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-sports__hero-image {
    max-height: 400px;
  }

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

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

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

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

  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-sports__card-image,
  .page-sports__promotion-image,
  .page-sports__feature-icon,
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-sports__faq-answer {
    padding: 0 15px 15px;
  }

  .page-sports__faq-toggle {
    font-size: 1.3em;
  }

  .page-sports__grid-container,
  .page-sports__promotions-grid,
  .page-sports__feature-grid {
    gap: 20px;
  }

  .page-sports__card,
  .page-sports__promotion-card,
  .page-sports__guide-item,
  .page-sports__feature-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-sports__card-title,
  .page-sports__promotion-title,
  .page-sports__guide-title,
  .page-sports__feature-title {
    font-size: 1.3em;
  }
  .page-sports__hero-image {
    max-height: 300px;
  }
}