:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

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

.page-ththao img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ththao__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-ththao__btn--primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
}

.page-ththao__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-ththao__btn--text {
  background: none;
  border: none;
  color: var(--glow-color);
  padding: 8px 15px;
  font-size: 1em;
  font-weight: bold;
}

.page-ththao__btn--text:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-ththao__text-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-ththao__text-link:hover {
  text-decoration: underline;
  color: var(--gold-color);
}

.page-ththao__hero-section {
  position: relative;
  padding-top: 10px; 
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-ththao__hero-image {
  width: 100%;
  height: 675px;
  object-fit: cover;
}

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

.page-ththao__hero-title {
  font-size: 4em; 
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.page-ththao__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.page-ththao__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-ththao__section-title {
  font-size: 2.8em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.page-ththao__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
}

.page-ththao__intro-section,
.page-ththao__security-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 0;
}

.page-ththao__intro-text,
.page-ththao__security-text {
  flex: 1;
}

.page-ththao__intro-text h2,
.page-ththao__security-text h2 {
  color: var(--gold-color);
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: left;
}

.page-ththao__intro-text p,
.page-ththao__security-text p {
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-ththao__intro-image,
.page-ththao__security-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

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

.page-ththao__category-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ththao__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

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

.page-ththao__category-card-title {
  font-size: 1.8em;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ththao__category-card p {
  font-size: 1em;
  color: var(--text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-ththao__betting-types-section,
.page-ththao__guide-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
}

.page-ththao__betting-types-text,
.page-ththao__guide-text {
  flex: 1;
}

.page-ththao__betting-types-text h2,
.page-ththao__guide-text h2 {
  color: var(--gold-color);
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: left;
}

.page-ththao__betting-types-text p,
.page-ththao__guide-text p {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-ththao__betting-types-list,
.page-ththao__guide-steps {
  list-style: none;
  padding-left: 0;
}

.page-ththao__betting-types-list li,
.page-ththao__guide-steps li {
  background-color: rgba(255,255,255,0.05);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-main);
  border-left: 4px solid var(--glow-color);
  font-size: 1.1em;
}

.page-ththao__guide-steps li {
  border-left: 5px solid var(--gold-color);
}

.page-ththao__betting-types-list li strong,
.page-ththao__guide-steps li strong {
  color: var(--glow-color);
}

.page-ththao__betting-types-image,
.page-ththao__guide-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-ththao__live-betting-section,
.page-ththao__promotions-section,
.page-ththao__faq-section,
.page-ththao__cta-final {
  text-align: center;
}

.page-ththao__live-betting-section h2,
.page-ththao__promotions-section h2,
.page-ththao__faq-section h2,
.page-ththao__cta-final h2 {
  color: var(--gold-color);
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-ththao__live-betting-section p,
.page-ththao__promotions-section p,
.page-ththao__cta-final p {
  font-size: 1.1em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-ththao__live-betting-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-ththao__promotions-list {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-ththao__promotions-list li {
  background-color: var(--card-bg);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  text-align: left;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.1em;
}

.page-ththao__promotions-list li strong {
  color: var(--gold-color);
}

.page-ththao__faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

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

.page-ththao__faq-item details {
  padding: 0;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: rgba(255,255,255,0.05);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-ththao__faq-question:hover {
  background-color: rgba(255,255,255,0.1);
}

.page-ththao__faq-question summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  list-style: none;
}

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

.page-ththao__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

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

.page-ththao__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1.05em;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
}

.page-ththao__cta-final h2 {
  font-size: 3em;
}

.page-ththao__cta-final p {
  font-size: 1.4em;
}

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

@media (max-width: 1024px) {
  .page-ththao__hero-title {
    font-size: 3.5em;
  }
  .page-ththao__section-title {
    font-size: 2.5em;
  }
  .page-ththao__intro-section,
  .page-ththao__betting-types-section,
  .page-ththao__security-section,
  .page-ththao__guide-section {
    flex-direction: column;
    text-align: center;
  }
  .page-ththao__intro-text,
  .page-ththao__betting-types-text,
  .page-ththao__security-text,
  .page-ththao__guide-text {
    padding: 0 15px;
  }
  .page-ththao__intro-text h2,
  .page-ththao__betting-types-text h2,
  .page-ththao__security-text h2,
  .page-ththao__guide-text h2 {
    text-align: center;
  }
  .page-ththao__betting-types-section {
    flex-direction: column;
  }
  .page-ththao__cta-final h2 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-ththao__hero-image {
    height: 300px;
  }
  .page-ththao__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-ththao__hero-title {
    font-size: clamp(2.2em, 8vw, 3em);
    margin-bottom: 15px;
  }
  .page-ththao__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-ththao__hero-buttons,
  .page-ththao__cta-final-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    flex-wrap: wrap !important;
  }

  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ththao__section,
  .page-ththao__intro-section,
  .page-ththao__betting-types-section,
  .page-ththao__security-section,
  .page-ththao__guide-section,
  .page-ththao__categories-grid,
  .page-ththao__faq-container,
  .page-ththao__promotions-list,
  .page-ththao__live-betting-section,
  .page-ththao__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-ththao__section-description {
    font-size: 1em;
    margin: -10px auto 30px auto;
  }

  .page-ththao__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
  }
  .page-ththao__hero-buttons,
  .page-ththao__cta-final-buttons {
    gap: 10px;
  }

  .page-ththao__intro-text h2,
  .page-ththao__betting-types-text h2,
  .page-ththao__live-betting-section h2,
  .page-ththao__security-text h2,
  .page-ththao__promotions-section h2,
  .page-ththao__guide-text h2,
  .page-ththao__faq-section h2 {
    font-size: 1.8em;
  }
  .page-ththao__intro-text p,
  .page-ththao__betting-types-text p,
  .page-ththao__live-betting-section p,
  .page-ththao__security-text p,
  .page-ththao__guide-steps li,
  .page-ththao__promotions-list li,
  .page-ththao__faq-answer {
    font-size: 1em;
  }
  .page-ththao__category-image {
    height: 180px;
  }
  .page-ththao__category-card-title {
    font-size: 1.5em;
  }
  .page-ththao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-ththao__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-ththao__cta-final h2 {
    font-size: 2em;
  }
  .page-ththao__cta-final p {
    font-size: 1.1em;
  }
  .page-ththao__intro-section,
  .page-ththao__betting-types-section,
  .page-ththao__security-section,
  .page-ththao__guide-section {
    gap: 20px;
  }
}