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

.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #FFFFFF;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-sports__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-sports__lead-paragraph {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-sports__btn-secondary:hover {
  background-color: #e0f0f8;
}

/* Video Section */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 700;
  color: inherit;
}

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

.page-sports__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  width: 100%;
  max-width: 1000px; /* Max width for desktop video */
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-sports__video-cta {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-sports__video-cta:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

.page-sports__features-grid,
.page-sports__betting-cards-grid,
.page-sports__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports__feature-card,
.page-sports__betting-card,
.page-sports__guide-item,
.page-sports__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #333333;
}

.page-sports__feature-card:hover,
.page-sports__betting-card:hover,
.page-sports__guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #f0f8ff; /* Light background for icons */
  padding: 10px;
}

.page-sports__feature-title,
.page-sports__betting-title,
.page-sports__guide-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-sports__feature-text,
.page-sports__betting-text,
.page-sports__guide-text {
  font-size: 1rem;
  color: #555555;
  flex-grow: 1;
}

/* Popular Betting Section */
.page-sports__popular-betting {
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-sports__betting-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__betting-card .page-sports__btn-primary {
  margin-top: 20px;
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-sports__betting-card .page-sports__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-sports__promotions-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports__promotion-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-sports__promotion-text-block {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-sports__promotion-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-sports__promotion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__promotion-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #555555;
}

.page-sports__promotion-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-sports__guide-item {
  background-color: #FFFFFF;
  color: #333333;
}

.page-sports__guide-item .page-sports__guide-title {
  color: #26A9E0;
}

.page-sports__guide-item .page-sports__guide-text {
  color: #555555;
}

.page-sports__guide-cta {
  margin-top: 40px;
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-sports__guide-cta:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

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

.page-sports__faq-item {
  margin-bottom: 20px;
  padding: 0;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f0f8ff;
  border-radius: 8px;
}

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

.page-sports__faq-item[open] .page-sports__faq-question {
  border-bottom: none;
}

.page-sports__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
}

.page-sports__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #555555;
  background-color: #fdfdfd;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

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

.page-sports__faq-item summary::marker {
  display: none;
}

/* Final CTA Section */
.page-sports__cta-final {
  padding: 80px 20px;
  background-color: #000000; /* Use specified #000000 for background */
  color: #FFFFFF;
  text-align: center;
}

.page-sports__cta-final .page-sports__section-title {
  color: #FFFFFF;
}

.page-sports__cta-final .page-sports__section-description {
  color: #f0f0f0;
}

.page-sports__cta-final .page-sports__cta-buttons {
  margin-top: 40px;
}

.page-sports__cta-final .page-sports__btn-primary {
  background-color: #26A9E0;
  border-color: #26A9E0;
  color: #FFFFFF;
}

.page-sports__cta-final .page-sports__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-sports__cta-final .page-sports__btn-secondary {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #26A9E0;
}

.page-sports__cta-final .page-sports__btn-secondary:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }
  .page-sports__promotion-image {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 10px 15px 40px;
  }
  .page-sports__hero-image-wrapper {
    max-height: 400px;
  }
  .page-sports__main-title {
    font-size: 2rem;
  }
  .page-sports__lead-paragraph {
    font-size: 1rem;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-sports__video-section,
  .page-sports__features-section,
  .page-sports__popular-betting,
  .page-sports__promotions-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__cta-final {
    padding: 40px 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

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

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

  .page-sports__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__features-grid,
  .page-sports__betting-cards-grid,
  .page-sports__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-card,
  .page-sports__betting-card,
  .page-sports__guide-item,
  .page-sports__faq-item {
    padding: 25px;
  }

  .page-sports__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }

  .page-sports__promotion-text-block {
    text-align: center;
  }

  .page-sports__promotion-list li {
    font-size: 1rem;
  }

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

  .page-sports__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__promotion-image,
  .page-sports__betting-image,
  .page-sports__feature-icon {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important; /* Allow natural width for smaller icons, but ensure max-width: 100% */
  }

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