/* style/sports.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main color on dark background */
  background-color: #0D0E12; /* Background color */
}

.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__hero-section {
  position: relative;
  padding: 10px 0 80px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly up for visual connection */
  background: rgba(13, 14, 18, 0.8); /* Slightly transparent background for readability */
  border-radius: 10px;
}

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

.page-sports__description {
  font-size: 1.15rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-sports__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A;
  border: 2px solid #A84F0C; /* Border color */
}

.page-sports__btn-secondary:hover {
  background: #FF8C1A;
  color: #17191F;
  border-color: #FF8C1A;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-sports__small-button {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.page-sports__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem); /* Responsive font size */
  color: #FFB04D; /* Glow color */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__section-description {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__light-bg {
  background-color: #17191F; /* Card BG as light section background */
  color: #FFF3E6;
}

.page-sports__dark-bg {
  background-color: #0D0E12; /* Main background color */
  color: #FFF3E6;
}

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

.page-sports__card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #FFF3E6;
}

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

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sports__feature-title,
.page-sports__option-title,
.page-sports__promo-title {
  font-size: 1.5rem;
  color: #FF8C1A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__feature-text,
.page-sports__option-text,
.page-sports__promo-text {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-sports__option-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.page-sports__option-image,
.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 20px;
}

.page-sports__option-content,
.page-sports__promo-content {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.page-sports__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-sports__live-betting-text {
  flex: 1;
  min-width: 300px;
}

.page-sports__sub-title {
  font-size: 1.8rem;
  color: #FF8C1A;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__live-betting-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__live-betting-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-sports__full-cta {
  margin-top: 50px;
}

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  color: #FFF3E6;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #17191F; /* Card BG */
  color: #FF8C1A;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #0D0E12; /* Background color */
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04D;
}

.page-sports__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #FFF3E6;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }

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

  .page-sports__hero-section {
    padding: 10px 0 60px 0;
  }

  .page-sports__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
  }

  .page-sports__main-title {
    font-size: 2rem;
  }

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

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

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

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

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

  .page-sports__feature-grid,
  .page-sports__options-grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-sports__feature-title,
  .page-sports__option-title,
  .page-sports__promo-title {
    font-size: 1.3rem;
  }

  .page-sports__option-image,
  .page-sports__promo-image {
    height: 180px;
  }

  .page-sports__live-betting-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-sports__sub-title {
    font-size: 1.5rem;
  }

  .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__hero-section,
  .page-sports__hero-image-wrapper,
  .page-sports__hero-content,
  .page-sports__cta-buttons,
  .page-sports__feature-grid,
  .page-sports__options-grid,
  .page-sports__promo-grid,
  .page-sports__live-betting-content,
  .page-sports__live-betting-image-wrapper,
  .page-sports__faq-list,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-sports__live-betting-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* body đã có --header-offset */
  }
}