.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

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

.page-sports__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-sports__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-sports__hero-title {
  color: var(--text-main);
  font-size: clamp(2.2em, 5vw, 3.5em);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-sports__hero-description {
  color: var(--text-secondary);
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__section-title {
  color: var(--text-main);
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-description {
  color: var(--text-secondary);
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__feature-card, .page-sports__sport-card, .page-sports__promotion-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-sports__feature-card:hover, .page-sports__sport-card:hover, .page-sports__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  object-fit: contain;
  border-radius: 0;
}

.page-sports__feature-title, .page-sports__sport-title, .page-sports__promotion-title, .page-sports__feature-item-title {
  color: var(--text-main);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__feature-text, .page-sports__sport-text, .page-sports__promotion-text, .page-sports__feature-item-text {
  color: var(--text-secondary);
  font-size: 1em;
  flex-grow: 1;
}

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

.page-sports__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-sports__cta-buttons--center {
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--border);
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-secondary:hover {
  background-color: var(--border);
  color: #ffffff;
}

.page-sports__guide-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-sports__guide-step {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-sports__guide-step-title {
  color: var(--text-main);
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__guide-step-text {
  color: var(--text-secondary);
  font-size: 1em;
}

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

.page-sports__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-item summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  position: relative;
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.2em;
  outline: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* var(--border) with transparency */
}

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

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

.page-sports__faq-qtext {
  padding-right: 30px;
  display: inline-block;
}

.page-sports__faq-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: var(--text-main);
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: '−';
}

.page-sports__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 1em;
}

/* Color Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

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

  .page-sports__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

  .page-sports__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0 15px; /* Add margin to prevent sticking to edges */
  }

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

  .page-sports__hero-description {
    font-size: 1em;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__section {
    padding: 40px 15px;
  }

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

  .page-sports__section-description {
    font-size: 0.95em;
  }

  .page-sports__feature-grid, .page-sports__sport-cards-grid, .page-sports__feature-list, .page-sports__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  /* Buttons responsive */
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    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;
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-sports__faq-item summary {
    font-size: 1.1em;
    padding-right: 40px;
  }

  .page-sports__faq-toggle {
    right: 15px;
    font-size: 1.2em;
  }
}