/* style/sports.css */

/* Base styles for page-sports */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Light body bg #f8f8f8, so dark text */
  background-color: #08160F; /* Custom background color */
}

/* Section spacing and container */
.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom */
  background-color: #08160F;
  color: #F2FFF6;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px; /* Limit height for hero image */
  object-fit: cover;
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

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

.page-sports__tagline {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-sports__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherits from section, or specific for dark/light bg */
}

.page-sports__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-sports__cta-buttons--vertical {
  flex-direction: column;
  align-items: center;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-sports__btn-secondary {
  background: none;
  color: #2AD16F; /* Main color from gradient */
  border: 2px solid #2AD16F; /* Border color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-link {
  background: none;
  color: #2AD16F;
  border: 1px solid #2AD16F;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
}

.page-sports__btn-link:hover {
  background: #2AD16F;
  color: #F2FFF6;
}

.page-sports__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px;
  margin-top: 40px;
}

/* Section specific backgrounds */
.page-sports__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-sports__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-sports__dark-bg .page-sports__section-title {
  color: #F2FFF6;
}

.page-sports__dark-bg .page-sports__text-block {
  color: #A7D9B8;
}

/* Categories Section */
.page-sports__categories-section .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.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; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

.page-sports__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 15px 20px 10px;
  color: #F2C14E; /* Gold */
}

.page-sports__card-description {
  font-size: 1rem;
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-sports__card .page-sports__btn-link {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* How-to-bet section */
.page-sports__how-to-bet .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-sports__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-sports__step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #11A84E; /* Main color */
  margin-bottom: 15px;
}

.page-sports__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0A4B2C; /* Deep Green */
}

.page-sports__step-description {
  font-size: 1rem;
  color: #555555;
}

.page-sports__step-description a {
  color: #11A84E;
  text-decoration: underline;
}

.page-sports__step-description a:hover {
  color: #22C768;
}

/* Live Betting Section */
.page-sports__live-betting .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  width: 100%; /* Desktop width: 100% must be here */
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it's treated as a block element */
  cursor: pointer;
}

/* Promotions Section */
.page-sports__promotions .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

/* App Download Section */
.page-sports__app-download .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-sports__download-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-sports__download-item {
  text-align: center;
  max-width: 450px;
  box-sizing: border-box;
}

.page-sports__qr-code {
  width: 250px;
  height: 250px;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  background-color: #F2FFF6;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__qr-text {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-sports__app-features {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-sports__app-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-sports__app-features li::before {
  content: '✓';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-sports__feature-highlight {
  color: #F2C14E;
}

/* Security Section */
.page-sports__security .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* FAQ Section */
.page-sports__faq-section .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2C14E; /* Gold */
  list-style: none; /* For details/summary */
}

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

.page-sports__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F;
}

.page-sports__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

/* Call to Action Section */
.page-sports__call-to-action .page-sports__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-image {
    max-height: 500px;
  }
  .page-sports__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-sports__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-sports__hero-image {
    max-height: 400px;
  }
  .page-sports__hero-content {
    padding: 30px 15px;
  }
  .page-sports__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-sports__tagline {
    font-size: 1.1rem;
  }
  .page-sports__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-sports__text-block {
    font-size: 1rem;
  }
  
  /* Image responsive */
  .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__grid-item,
  .page-sports__step-item,
  .page-sports__download-item,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsive */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-sports__video-section {
    padding-top: 10px !important; /* body already handles header offset */
  }
  .page-sports__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  /* Button responsive */
  .page-sports__cta-button,
  .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-direction: column !important;
    gap: 15px;
  }
  .page-sports__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }
}