/* style/ththao.css */

.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ththao__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-ththao__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-ththao__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-ththao__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-ththao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-ththao__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-ththao__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px #57E38D; /* Glow */
}

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

.page-ththao__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ththao__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-ththao__sport-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-ththao__sport-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-ththao__sport-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ththao__sport-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-ththao__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  text-align: center;
}

.page-ththao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ththao__promo-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  padding: 20px 15px 10px;
  font-weight: 600;
}

.page-ththao__promo-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px 20px;
}

.page-ththao__cta-container {
  text-align: center;
}

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

.page-ththao__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-ththao__step-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-ththao__step-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-ththao__step-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-ththao__responsible-gaming {
  padding-bottom: 40px;
}

.page-ththao__responsible-list {
  list-style-type: disc;
  margin: 0 auto;
  padding-left: 25px;
  max-width: 800px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05rem;
}

.page-ththao__responsible-list li {
  margin-bottom: 10px;
}

.page-ththao__faq {
  padding-bottom: 80px;
}

.page-ththao__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-ththao__faq-question:hover {
  background-color: #11A84E; /* Main color */
}

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

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  transform: rotate(45deg);
}

.page-ththao__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__section {
    padding: 60px 15px;
  }

  .page-ththao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-ththao__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

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

  .page-ththao__hero-image-wrapper {
    max-height: 400px;
  }

  /* All images */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All sections and containers */
  .page-ththao__section,
  .page-ththao__grid-container,
  .page-ththao__sport-list,
  .page-ththao__promo-grid,
  .page-ththao__steps-grid,
  .page-ththao__cta-container,
  .page-ththao__hero-content,
  .page-ththao__why-choose .page-ththao__card,
  .page-ththao__sports-categories .page-ththao__sport-item,
  .page-ththao__promotions .page-ththao__promo-card,
  .page-ththao__how-to-start .page-ththao__step-item,
  .page-ththao__responsible-gaming,
  .page-ththao__faq,
  .page-ththao__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-ththao__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-ththao__main-title {
    font-size: 2rem; /* Adjusted for mobile readability */
  }

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

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

  .page-ththao__card-title,
  .page-ththao__sport-title,
  .page-ththao__promo-title,
  .page-ththao__step-title {
    font-size: 1.3rem;
  }

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

  .page-ththao__faq-answer {
    padding: 15px 20px;
  }
  .page-ththao__responsible-list {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-ththao__section {
    padding: 40px 10px;
  }
  .page-ththao__card, .page-ththao__sport-item, .page-ththao__promo-card, .page-ththao__step-item {
    padding: 20px;
  }
  .page-ththao__hero-content {
    padding: 0 10px;
  }
  .page-ththao__main-title {
    font-size: 1.8rem;
  }
  .page-ththao__section-title {
    font-size: 1.6rem;
  }
}