/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding for first section */
  overflow: hidden;
}

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

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

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

.page-sports__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-sports__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-sports__intro-section,
.page-sports__sports-types-section,
.page-sports__odds-promotions-section,
.page-sports__how-to-play-section,
.page-sports__security-support-section,
.page-sports__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #08160F;
}

.page-sports__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 30px;
  cursor: pointer;
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-sports__video-cta {
  margin-top: 30px;
}

.page-sports__sports-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 */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
}

.page-sports__sport-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-sports__sport-card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__sport-card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-sports__two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-sports__column {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__column .page-sports__section-title {
  font-size: 2em;
  margin-top: 0;
  text-align: left;
}

.page-sports__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__button-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

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

.page-sports__step-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__step-number {
  width: 60px;
  height: 60px;
  background-color: #22C768; /* Auxiliary color */
  color: #08160F;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

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

.page-sports__step-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  margin-bottom: 20px;
}

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

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

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

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  background-color: #11271B;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-sports__faq-answer p {
  margin-bottom: 10px;
}

.page-sports__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-sports__faq-cta-button {
  display: inline-block;
  padding: 8px 15px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-sports__two-columns {
    grid-template-columns: 1fr;
  }
  .page-sports__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-sports__main-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__column .page-sports__section-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-sports__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__hero-content {
    position: static;
    transform: none;
    margin: 20px auto 0;
    background: rgba(17, 40, 27, 0.8); /* Card BG with transparency */
    max-width: 95%;
  }
  .page-sports__hero-image-wrapper {
    max-height: 400px;
  }
  .page-sports__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-sports__cta-button,
  .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: 12px 15px;
  }
  .page-sports__video-section {
    padding-top: 10px !important;
  }
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__sports-grid,
  .page-sports__step-by-step-guide {
    grid-template-columns: 1fr;
  }
  .page-sports__intro-section,
  .page-sports__sports-types-section,
  .page-sports__odds-promotions-section,
  .page-sports__how-to-play-section,
  .page-sports__security-support-section,
  .page-sports__faq-section {
    padding: 40px 0;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__column {
    padding: 20px;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-sports__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: 1.5em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__sport-card-title {
    font-size: 1.3em;
  }
  .page-sports__step-title {
    font-size: 1.4em;
  }
}