/* style/ththao.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --page-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-ththao {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--page-bg); /* Page background from custom colors */
}

.page-ththao__hero-section {
  position: relative;
  width: 100%;
  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 */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-ththao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main);
}

.page-ththao__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-ththao__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-ththao__cta-buttons {
  display: flex;
  gap: 20px;
  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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ththao__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ththao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-ththao__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--page-bg);
  transform: translateY(-3px);
}

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

.page-ththao__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
}

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

/* Introduction Section */
.page-ththao__introduction-section {
  padding: 80px 0;
  background-color: var(--page-bg);
  color: var(--text-main);
}

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

.page-ththao__feature-item {
  text-align: center;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-ththao__feature-item:hover {
  transform: translateY(-10px);
}

.page-ththao__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--glow-color));
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-ththao__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-ththao__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Sports Categories Section */
.page-ththao__sports-categories {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  color: var(--text-main);
}

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

.page-ththao__category-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-ththao__category-card:hover {
  transform: translateY(-10px);
}

.page-ththao__category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-ththao__card-title {
  font-size: 1.4em;
  font-weight: 600;
  padding: 15px 20px 0;
  color: var(--gold-color);
}

.page-ththao__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  padding: 10px 20px 20px;
  color: var(--text-secondary);
}

/* Live Betting Section */
.page-ththao__live-betting-section {
  padding: 80px 0;
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-ththao__live-betting-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-ththao__live-betting-image {
  flex: 1 1 500px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-ththao__live-betting-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
}

.page-ththao__live-betting-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--glow-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: var(--text-secondary);
}

.page-ththao__live-betting-list li strong {
  color: var(--gold-color);
  font-size: 1.1em;
}

/* Promotions Section */
.page-ththao__promotions-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  color: var(--text-main);
}

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

.page-ththao__promotion-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.page-ththao__promotion-card:hover {
  transform: translateY(-10px);
}

.page-ththao__promotion-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-ththao__promotion-card .page-ththao__card-title {
  padding-top: 20px;
  flex-grow: 1;
}

.page-ththao__promotion-card .page-ththao__card-description {
  flex-grow: 1;
}

.page-ththao__promotion-card .page-ththao__btn-secondary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Security Section */
.page-ththao__security-section {
  padding: 80px 0;
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-ththao__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-ththao__security-image {
  flex: 1 1 500px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-ththao__security-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
}

.page-ththao__security-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: var(--text-secondary);
}

.page-ththao__security-list li strong {
  color: var(--gold-color);
  font-size: 1.1em;
}

/* Getting Started Section */
.page-ththao__getting-started-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  color: var(--text-main);
}

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

.page-ththao__step-item {
  text-align: center;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
}

.page-ththao__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--button-gradient);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-ththao__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-ththao__step-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-secondary);
}

.page-ththao__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-ththao__faq-section {
  padding: 80px 0;
  background-color: var(--page-bg);
  color: var(--text-main);
}

.page-ththao__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-ththao__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary);
}

.page-ththao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  list-style: none;
}

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

.page-ththao__faq-question {
  color: var(--gold-color);
}

.page-ththao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow-color);
  margin-left: 10px;
}

.page-ththao__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Final CTA Section */
.page-ththao__cta-final-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  color: var(--text-main);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ththao__hero-content {
    max-width: 700px;
  }
  .page-ththao__live-betting-image,
  .page-ththao__security-image {
    flex-basis: 100%;
    max-width: 100%;
  }
  .page-ththao__live-betting-list,
  .page-ththao__security-list {
    flex-basis: 100%;
    max-width: 100%;
  }
}

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

  .page-ththao__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

  .page-ththao__description {
    font-size: 0.95em;
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-ththao__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-ththao__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-ththao__text-block {
    margin-bottom: 40px;
  }

  .page-ththao__features-grid,
  .page-ththao__categories-grid,
  .page-ththao__promotions-grid,
  .page-ththao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__feature-item,
  .page-ththao__category-card,
  .page-ththao__promotion-card,
  .page-ththao__step-item {
    padding: 20px;
  }

  .page-ththao__feature-item img,
  .page-ththao__category-card img,
  .page-ththao__promotion-card img,
  .page-ththao__live-betting-image,
  .page-ththao__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important; /* Enforce min size */
  }

  .page-ththao__live-betting-content,
  .page-ththao__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-ththao__live-betting-list li,
  .page-ththao__security-list li {
    padding: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-ththao__hero-section {
    padding: 30px 10px;
  }
  .page-ththao__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-ththao__description {
    font-size: 0.9em;
  }
  .page-ththao__cta-buttons {
    gap: 10px;
  }
  .page-ththao__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
}