/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-sports__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__section-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-sports__text-block {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  font-size: 17px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__image-wrapper {
  margin: 30px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-sports__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles header offset, small top padding for aesthetic */
  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;
}

.page-sports__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports__main-title {
  color: #F2FFF6; /* Text Main */
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

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

.page-sports__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__button-center {
  margin-top: 30px;
}

/* Overview Section */
.page-sports__overview-section {
  background-color: #0A4B2C; /* Deep Green */
}

/* Popular Sports Section */
.page-sports__popular-sports {
  background-color: #08160F;
}

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

.page-sports__sport-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__card-title {
  color: #F2C14E; /* Gold */
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sports__card-button:hover {
  transform: translateY(-1px);
}

/* Features Section */
.page-sports__features-section {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-sports__feature-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid #2E7A4E;
}

.page-sports__feature-title {
  color: #F2C14E;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__feature-text {
  color: #A7D9B8;
  font-size: 16px;
}

/* Promotions Section */
.page-sports__promotions-section {
  background-color: #08160F;
}

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

.page-sports__promotion-card {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid #2E7A4E;
}

/* Guide Section */
.page-sports__guide-section {
  background-color: #0A4B2C;
}

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

.page-sports__guide-item {
  background-color: #11271B;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid #2E7A4E;
}

.page-sports__guide-step-title {
  color: #F2C14E;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__guide-step-text {
  color: #A7D9B8;
  font-size: 16px;
  margin-bottom: 20px;
}

.page-sports__button-small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Security and Support Section */
.page-sports__security-support-section {
  background-color: #08160F;
}

/* FAQ Section */
.page-sports__faq-section {
  background-color: #0A4B2C;
}

.page-sports__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #1A3427; /* Slightly lighter for question header */
  color: #F2FFF6;
  font-size: 18px;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-sports__faq-item summary {
  list-style: none;
}

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

.page-sports__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

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

.page-sports__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8;
  font-size: 16px;
  text-align: left;
  border-top: 1px solid #2E7A4E;
}

/* CTA Bottom Section */
.page-sports__cta-bottom-section {
  background-color: #0A4B2C;
  padding-bottom: 80px;
}

.page-sports__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-image {
    height: 500px;
  }
  .page-sports__section-title {
    font-size: clamp(24px, 4vw, 38px);
  }
  .page-sports__main-title {
    font-size: clamp(28px, 5vw, 50px);
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__section {
    padding: 40px 0;
  }
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__hero-image {
    height: 350px;
  }
  .page-sports__hero-content {
    margin-top: 30px;
  }
  .page-sports__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-sports__description {
    font-size: 16px;
  }
  .page-sports__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__sport-grid, .page-sports__features-grid, .page-sports__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__sport-card, .page-sports__feature-item, .page-sports__promotion-card, .page-sports__guide-item {
    padding: 20px;
  }
  .page-sports__card-title, .page-sports__feature-title, .page-sports__guide-step-title {
    font-size: 20px;
  }
  .page-sports__text-block, .page-sports__card-text, .page-sports__feature-text, .page-sports__guide-step-text, .page-sports__faq-answer p {
    font-size: 15px;
  }
  .page-sports__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__image-wrapper,
  .page-sports__hero-image-wrapper,
  .page-sports__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__overview-section,
  .page-sports__popular-sports,
  .page-sports__features-section,
  .page-sports__promotions-section,
  .page-sports__guide-section,
  .page-sports__security-support-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-section {
    padding-top: 10px !important;
  }
  .page-sports__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-sports__section-title {
    font-size: clamp(22px, 6vw, 32px);
  }
}