/* style/ththao.css */

/* Base styles for the Thể Thao page, ensuring light text on dark body background */
.page-ththao {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-ththao__container--center-text {
  text-align: center;
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(18, 18, 18, 0.8));
  min-height: 600px;
  overflow: hidden;
}

.page-ththao__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  background: rgba(18, 18, 18, 0.6); /* Slightly transparent dark background for readability */
  border-radius: 10px;
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ththao__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

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

.page-ththao__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
  transform: translateY(-2px);
}

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

.page-ththao__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-ththao__section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for sections */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-ththao__section:last-of-type {
  border-bottom: none;
}

.page-ththao__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-ththao__sub-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-ththao__paragraph {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 15px;
  text-align: justify;
}

.page-ththao__paragraph a {
  color: #26A9E0;
  text-decoration: none;
}

.page-ththao__paragraph a:hover {
  text-decoration: underline;
}

/* Intro Section */
.page-ththao__intro-section {
  background-color: #121212;
}

.page-ththao__image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-ththao__grid-item {
  display: flex;
  flex-direction: column;
}

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

.page-ththao__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-ththao__list-item {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Betting Markets Section */
.page-ththao__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ththao__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ththao__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-ththao__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ththao__card-description {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.page-ththao__image--full-width {
  margin-top: 40px;
}

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

.page-ththao__advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-ththao__advantage-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ththao__advantage-description {
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* How-To-Bet Section */
.page-ththao__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-ththao__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 70px;
}

.page-ththao__guide-item::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.page-ththao__guide-step-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Promotions Section */
.page-ththao__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ththao__promo-list .page-ththao__list-item {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23EA7C07" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Video Section */
.page-ththao__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: #121212;
}

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

.page-ththao__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-ththao__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-ththao__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #b0b0b0;
}

/* FAQ Section */
.page-ththao__faq-list {
  margin-top: 30px;
}

.page-ththao__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-ththao__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

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

.page-ththao__faq-question::marker {
  display: none;
}

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

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

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: '−';
}

.page-ththao__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA Bottom Section */
.page-ththao__cta-bottom-section {
  background-color: #121212;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__hero-content {
    max-width: 700px;
  }

  .page-ththao__image-text-grid {
    grid-template-columns: 1fr;
  }

  .page-ththao__grid-item:first-child {
    order: 2;
  }

  .page-ththao__grid-item:last-child {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-ththao {
    font-size: 15px;
  }

  .page-ththao__hero-section {
    padding: 40px 0;
    min-height: 500px;
  }

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

  .page-ththao__hero-description {
    font-size: 1rem;
  }

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

  .page-ththao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    padding: 12px 25px;
    font-size: 0.9rem;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-ththao__container {
    padding: 0 15px;
  }

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

  .page-ththao__video-section,
  .page-ththao__video-container,
  .page-ththao__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-ththao__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

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

  .page-ththao__card {
    padding: 20px;
  }

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

  .page-ththao__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-ththao__main-title {
    font-size: 1.8rem;
  }

  .page-ththao__section-title {
    font-size: 1.6rem;
  }

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