/* style/ththao.css */

/* Custom Colors */
:root {
  --page-ththao-bg-color: #08160F;
  --page-ththao-card-bg: #11271B;
  --page-ththao-text-main: #F2FFF6;
  --page-ththao-text-secondary: #A7D9B8;
  --page-ththao-border-color: #2E7A4E;
  --page-ththao-glow-color: #57E38D;
  --page-ththao-gold-color: #F2C14E;
  --page-ththao-divider-color: #1E3A2A;
  --page-ththao-deep-green: #0A4B2C;
  --page-ththao-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-ththao {
  font-family: 'Arial', sans-serif;
  color: var(--page-ththao-text-main);
  background-color: var(--page-ththao-bg-color);
  line-height: 1.6;
}

.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles top padding */
  background-color: var(--page-ththao-bg-color);
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Subtle darkening for text contrast */
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual integration */
  padding: 0 20px;
  color: var(--page-ththao-text-main);
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--page-ththao-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-ththao__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--page-ththao-text-secondary);
  margin-bottom: 30px;
}

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

.page-ththao__cta-buttons--center {
  margin-top: 40px;
}

.page-ththao__cta-buttons--left {
  justify-content: flex-start;
}

.page-ththao__btn-primary,
.page-ththao__btn-secondary,
.page-ththao__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-ththao__btn-primary {
  background: var(--page-ththao-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-ththao__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-ththao__btn-secondary {
  background: transparent;
  color: var(--page-ththao-gold-color);
  border: 2px solid var(--page-ththao-gold-color);
}

.page-ththao__btn-secondary:hover {
  background: var(--page-ththao-gold-color);
  color: var(--page-ththao-bg-color);
  transform: translateY(-2px);
}

.page-ththao__btn-tertiary {
  background: var(--page-ththao-deep-green);
  color: var(--page-ththao-text-main);
  border: 1px solid var(--page-ththao-border-color);
  font-size: 0.9rem;
  padding: 10px 20px;
}

.page-ththao__btn-tertiary:hover {
  background: var(--page-ththao-border-color);
}

.page-ththao__section {
  padding: 60px 0;
  background-color: var(--page-ththao-bg-color);
}

.page-ththao__dark-section {
  background-color: var(--page-ththao-card-bg);
}

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

.page-ththao__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--page-ththao-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-ththao__text-block {
  font-size: 1.1rem;
  color: var(--page-ththao-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-ththao__card {
  background-color: var(--page-ththao-card-bg);
  border: 1px solid var(--page-ththao-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--page-ththao-text-main);
}

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

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

.page-ththao__feature-icon,
.page-ththao__promotion-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__feature-title,
.page-ththao__bet-type-title,
.page-ththao__promotion-title {
  font-size: 1.5rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ththao__feature-description,
.page-ththao__bet-type-description,
.page-ththao__promotion-description {
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-ththao__guide-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-ththao__guide-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-ththao-btn-gradient);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  border: 4px solid var(--page-ththao-border-color);
  box-shadow: 0 0 15px var(--page-ththao-glow-color);
}

.page-ththao__guide-title {
  font-size: 1.4rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ththao__guide-description {
  font-size: 0.95rem;
  color: var(--page-ththao-text-secondary);
  line-height: 1.6;
}

/* App Showcase */
.page-ththao__app-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  justify-content: center;
}

.page-ththao__app-details {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-ththao__app-subtitle {
  font-size: 2rem;
  color: var(--page-ththao-gold-color);
  margin-bottom: 25px;
  font-weight: 700;
}

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

.page-ththao__app-features li {
  display: flex;
  align-items: center;
  color: var(--page-ththao-text-main);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.page-ththao__list-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  min-width: 24px; /* Ensure icon is not too small */
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  display: block;
}

.page-ththao__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-ththao__app-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-ththao-border-color);
}

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

.page-ththao__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--page-ththao-text-main);
  text-align: left;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--page-ththao-gold-color);
  background-color: var(--page-ththao-deep-green);
  border-bottom: 1px solid var(--page-ththao-border-color);
  border-radius: 10px; /* Rounded corners for summary */
  list-style: none; /* Hide default marker for details */
}

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

.page-ththao__faq-question:hover {
  background-color: var(--page-ththao-border-color);
}

.page-ththao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-ththao-glow-color);
}

.page-ththao__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-ththao-text-secondary);
  line-height: 1.7;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card bg */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Conclusion Section */
.page-ththao__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__hero-content {
    margin-top: -100px;
  }
  .page-ththao__features-grid,
  .page-ththao__bet-types-grid,
  .page-ththao__promotions-grid,
  .page-ththao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-bottom: 40px;
  }
  .page-ththao__hero-content {
    margin-top: -80px;
    padding: 0 15px;
  }
  .page-ththao__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .page-ththao__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
  .page-ththao__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-ththao__cta-buttons,
  .page-ththao__container,
  .page-ththao__section,
  .page-ththao__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-ththao__text-block {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  .page-ththao__feature-card,
  .page-ththao__bet-type-card,
  .page-ththao__promotion-card,
  .page-ththao__guide-item {
    padding: 25px;
  }
  .page-ththao__feature-icon,
  .page-ththao__promotion-image,
  .page-ththao__app-screenshot {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-ththao__app-showcase {
    flex-direction: column;
    gap: 30px;
  }
  .page-ththao__app-details,
  .page-ththao__app-image-wrapper {
    min-width: unset;
    max-width: 100%;
  }
  .page-ththao__app-subtitle {
    font-size: 1.6rem;
    text-align: center;
  }
  .page-ththao__app-features {
    padding-left: 0;
    margin-left: 0;
  }
  .page-ththao__app-features li {
    font-size: 1rem;
    justify-content: flex-start;
    text-align: left;
  }
  .page-ththao__cta-buttons--left {
    justify-content: center;
  }
  .page-ththao__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-ththao__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-content {
    margin-top: -60px;
  }
  .page-ththao__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-ththao__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
}