/* style/ththao.css */

/* Base styles for the page */
.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-ththao__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-ththao__text-block {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-ththao__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

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

.page-ththao__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-ththao__hero-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 */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ththao__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

.page-ththao__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-ththao__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-ththao__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* Video Section */
.page-ththao__video-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  background-color: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.page-ththao__video-container {
  width: 100%; /* Desktop default */
  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;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-ththao__video-caption {
  text-align: center;
  font-size: 16px;
  color: #cccccc;
  margin-top: 20px;
}

/* Content Area */
.page-ththao__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

/* Featured Sports Grid */
.page-ththao__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-ththao__sport-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-ththao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-ththao__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
}

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

.page-ththao__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-ththao__benefit-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__benefit-title {
  font-size: 20px;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ththao__benefit-description {
  font-size: 15px;
  line-height: 1.5;
  color: #cccccc;
}

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

.page-ththao__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-ththao__step-description {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Bet Types Section */
.page-ththao__bet-type-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ththao__bet-type-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-ththao__bet-type-heading {
  font-size: 20px;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-ththao__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #f0f0f0;
}

.page-ththao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

.page-ththao__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

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

.page-ththao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-ththao__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
}

/* CTA Section */
.page-ththao__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  box-sizing: border-box;
}

.page-ththao__cta-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-ththao__cta-title {
  font-size: clamp(30px, 4vw, 48px);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-ththao__cta-description {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-ththao__hero-section,
  .page-ththao__video-section,
  .page-ththao__content-area,
  .page-ththao__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-ththao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ththao__main-title {
    font-size: clamp(30px, 6vw, 40px);
  }

  .page-ththao__hero-description {
    font-size: clamp(16px, 3vw, 20px);
  }

  .page-ththao__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  /* Mobile image responsiveness */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container,
  .page-ththao__hero-section,
  .page-ththao__video-section,
  .page-ththao__content-area,
  .page-ththao__cta-section {
    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 */
  }

  /* Mobile video responsiveness */
  .page-ththao video,
  .page-ththao__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  /* Mobile button responsiveness */
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao a[class*="button"],
  .page-ththao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }
  
  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-ththao__sports-grid,
  .page-ththao__benefits-grid,
  .page-ththao__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-ththao__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

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

  .page-ththao__cta-section {
    padding: 40px 15px;
  }

  .page-ththao__cta-content {
    margin-bottom: 30px;
  }
}