/* style/sports.css */
/* body đã có padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */

.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #FFFFFF;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

.page-sports__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-sports__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__subtitle {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-sports__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc7;
}

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

.page-sports__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-sports__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  color: inherit;
}

.page-sports__subsection-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-sports__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
  color: inherit;
}

.page-sports__list {
  list-style: disc inside;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-sports__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
  color: inherit;
}

.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.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-sports__faq-section {
  padding-bottom: 80px;
}

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

.page-sports__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-sports__faq-answer {
  padding: 15px 25px 20px;
  line-height: 1.6;
  font-size: 1em;
  color: #555555;
}

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

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

.page-sports__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-sports__text-link:hover {
  color: #1a8cc7;
}

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

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

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

  .page-sports__subtitle {
    font-size: 1em;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-sports__subsection-title {
    font-size: 1.4em;
  }

  .page-sports__text-block,
  .page-sports__list-item {
    font-size: 0.95em;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important; /* Ensure min size on mobile */
  }

  .page-sports__hero-image-wrapper,
  .page-sports__container,
  .page-sports__section,
  .page-sports__card,
  .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__overview-section .page-sports__container,
  .page-sports__game-types-section .page-sports__container,
  .page-sports__guide-section .page-sports__container,
  .page-sports__promotions-section .page-sports__container,
  .page-sports__safety-section .page-sports__container,
  .page-sports__faq-section .page-sports__container,
  .page-sports__conclusion-section .page-sports__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-sports__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-sports__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-sports__image-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Specific color for login as per requirements */
.page-sports__login-button {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-sports__login-button:hover {
  background-color: #c96806;
  border-color: #c96806;
}