/* style/sports.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không thêm vào đây */

.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0a0a0a (dark), text must be light */
  background-color: transparent; /* Main content background is transparent to show body background */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for the first section */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Brand color gradient */
  color: #ffffff;
  text-align: center;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-sports__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-sports__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-sports__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.page-sports__btn-tertiary:hover {
  background-color: #1a7bbd;
  transform: translateY(-2px);
}

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

.page-sports__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Use brand color for titles */
}

.page-sports__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

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

.page-sports__features-section,
.page-sports__promotions-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-sports__feature-card,
.page-sports__promotion-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark bg */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-sports__feature-card .page-sports__card-title,
.page-sports__promotion-card .page-sports__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-sports__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Recommended size for content images */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__card-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-sports__bet-types-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.page-sports__bet-type-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports__bet-type-card .page-sports__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-sports__bet-type-card .page-sports__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports__image-full-width {
  width: 100%;
  height: auto;
  max-width: 800px; /* Recommended size for content images */
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-sports__guide-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-sports__guide-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-sports__guide-card .page-sports__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-sports__guide-card .page-sports__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Recommended size for content images */
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.page-sports__guide-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-sports__guide-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #EA7C07; /* Login color for checkmark */
  font-weight: bold;
}

.page-sports__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  list-style: none;
}

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

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #EA7C07;
}

.page-sports__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

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

.page-sports__faq-link:hover {
  color: #EA7C07;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 2.5em;
  }

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-sports__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-sports__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-sports__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__features-grid,
  .page-sports__promotions-grid,
  .page-sports__bet-types-grid,
  .page-sports__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__bet-type-card,
  .page-sports__guide-card,
  .page-sports__faq-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports__card-image,
  .page-sports__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports p,
  .page-sports li,
  .page-sports__card-text {
    font-size: 0.95em;
  }

  .page-sports__faq-question {
    font-size: 1.1em;
  }

  .page-sports__faq-answer {
    font-size: 0.9em;
  }
}

/* Ensure content area images are at least 200px */
.page-sports img:not(.page-sports__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Desktop video container width (if video was present) */
.page-sports__video-container {
  width: 100%; /* Must be present for desktop */
  max-width: 1200px;
}