/* style/ththao.css */
.page-ththao {
  font-family: 'Arial', sans-serif;
  background-color: #0A0A0A;
  color: #FFF6D6;
  line-height: 1.6;
}

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

.page-ththao__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-ththao__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-ththao__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-ththao__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-ththao__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for button for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD36B;
}

.page-ththao__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: #0A0A0A;
}

.page-ththao__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 30px;
}

.page-ththao__section {
  padding: 80px 20px;
  background-color: #0A0A0A;
  border-bottom: 1px solid #3A2A12;
}

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

.page-ththao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-ththao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-ththao__text-block {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-ththao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-ththao__card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

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

.page-ththao__feature-item {
  text-align: center;
}

.page-ththao__feature-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-ththao__sport-card {
  text-align: center;
}

.page-ththao__sport-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-ththao__sport-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ththao__sport-title a:hover {
  color: #FFD36B;
}

/* Guide List */
.page-ththao__guide-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ththao__guide-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ththao__guide-step {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-ththao__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.page-ththao__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

/* Bet Type Grid */
.page-ththao__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-ththao__bet-type-card {
  text-align: center;
}

.page-ththao__bet-type-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

.page-ththao__promo-card {
  text-align: center;
}

.page-ththao__promo-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-ththao__security-item {
  text-align: center;
}

.page-ththao__security-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-ththao__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for button for contrast */
  border: 2px solid #FFD36B;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #0A0A0A;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

/* FAQ Section */
.page-ththao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-ththao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  color: #FFF6D6;
}

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

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

details.page-ththao__faq-item summary.page-ththao__faq-question:hover {
  background: #1A1A1A;
}

.page-ththao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
}

.page-ththao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-ththao__faq-item .page-ththao__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

.page-ththao__faq-answer p {
  margin-bottom: 15px;
}

.page-ththao__faq-answer .page-ththao__btn-secondary {
  margin-top: 0;
}

.page-ththao__section--call-to-action .page-ththao__container {
  text-align: center;
  padding: 50px;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 15px;
}

.page-ththao__dark-bg {
  background: #F2C14E;
  color: #111111;
}

.page-ththao__dark-bg .page-ththao__section-title,
.page-ththao__dark-bg .page-ththao__text-block {
  color: #111111;
  text-shadow: none;
}

.page-ththao__dark-bg .page-ththao__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid #111111;
}

.page-ththao__dark-bg .page-ththao__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #0A0A0A;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-ththao__section {
    padding: 60px 15px;
  }
  .page-ththao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-ththao__hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  }
  .page-ththao__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }
  .page-ththao__text-block {
    font-size: 1rem;
  }
  .page-ththao__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-ththao__card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-ththao__hero-image img {
    border-radius: 4px;
  }
  
  .page-ththao__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-ththao__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-ththao__text-block {
    font-size: 0.9rem;
  }

  .page-ththao__features-grid,
  .page-ththao__sports-grid,
  .page-ththao__guide-list,
  .page-ththao__bet-type-grid,
  .page-ththao__promo-grid,
  .page-ththao__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__card {
    padding: 20px;
  }

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

  .page-ththao__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-ththao__faq-item summary.page-ththao__faq-question {
    padding: 15px;
  }

  .page-ththao__faq-qtext {
    font-size: 1rem;
  }

  .page-ththao__faq-toggle {
    font-size: 20px;
  }

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

  .page-ththao__section--call-to-action .page-ththao__container {
    padding: 30px 20px;
  }
  
  .page-ththao__hero-content .page-ththao__cta-button,
  .page-ththao__guide-item .page-ththao__btn-secondary,
  .page-ththao__security-item .page-ththao__btn-primary,
  .page-ththao__promo-card .page-ththao__cta-button--small,
  .page-ththao__faq-answer .page-ththao__btn-secondary,
  .page-ththao__section--call-to-action .page-ththao__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
}