/* style/ththao.css */
.page-ththao {
  color: #ffffff; /* Body background is dark, so use light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  color: #FFF5E1;
  background-color: #7A0E0E;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
  min-height: 200px;
}

.page-ththao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
  border-radius: 8px;
}

.page-ththao__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-ththao__description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F4D34D;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  color: #C91F17;
}

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #FFF5E1;
  border: 2px solid #F2B544;
}

.page-ththao__btn-secondary:hover {
  background-color: #F2B544;
  color: #7A0E0E;
}

.page-ththao__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-ththao__section {
  padding: 60px 20px;
  position: relative;
}

.page-ththao__introduction, .page-ththao__how-to-start, .page-ththao__responsible-gambling, .page-ththao__conclusion {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-ththao__why-choose, .page-ththao__promotions, .page-ththao__faq-section {
  background-color: #D32F2F;
  color: #FFF5E1;
}

.page-ththao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add horizontal padding for content */
  box-sizing: border-box;
}

.page-ththao__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD86A;
}

.page-ththao__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-ththao__card {
  background-color: #7A0E0E; /* Deep Red for cards */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF5E1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-ththao__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-ththao__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-ththao__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-ththao__list-item {
  background-color: rgba(122, 14, 14, 0.7); /* Slightly transparent Deep Red */
  border-left: 5px solid #F4D34D;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #FFF5E1;
}

.page-ththao__list-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD86A;
}

.page-ththao__list-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-ththao__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__content-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-ththao__text-content {
  flex: 1;
}

.page-ththao__image-content {
  flex: 1;
  text-align: center;
}

.page-ththao__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__list-promotions {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-ththao__promotion-item {
  background-color: #B71C1C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-ththao__promotion-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD86A;
}

.page-ththao__promotion-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-ththao__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-bottom: 40px;
}

.page-ththao__step-item {
  background-color: rgba(122, 14, 14, 0.7);
  border-left: 5px solid #F4D34D;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  position: relative;
  color: #FFF5E1;
}

.page-ththao__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter) ": ";
  font-weight: bold;
  color: #FFD86A;
  font-size: 1.1em;
  position: absolute;
  left: 20px;
  top: 20px;
}

.page-ththao__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD86A;
  padding-left: 80px; /* Adjust for step counter */
}

.page-ththao__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  padding-left: 80px;
}

.page-ththao__faq-list {
  margin-top: 30px;
}

.page-ththao__faq-item {
  background-color: #B71C1C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF5E1;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #FFD86A;
  border-bottom: 1px solid rgba(244, 211, 77, 0.3);
  list-style: none; /* For details/summary */
}

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

.page-ththao__faq-question:hover {
  background-color: #7A0E0E;
}

.page-ththao__faq-qtext {
  flex-grow: 1;
}

.page-ththao__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #F4D34D;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  content: '−';
}

.page-ththao__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-ththao__faq-item:not([open]) .page-ththao__faq-answer {
  display: none;
}

.page-ththao__faq-item[open] .page-ththao__faq-question {
  border-bottom: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-ththao__main-title {
    font-size: 2.5em;
  }
  .page-ththao__description {
    font-size: 1.1em;
  }
  .page-ththao__section-title {
    font-size: 2em;
  }
  .page-ththao__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-ththao__content-wrapper {
    flex-direction: column;
  }
  .page-ththao__image-content {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-ththao__main-title {
    font-size: 2em;
  }
  .page-ththao__description {
    font-size: 1em;
  }
  .page-ththao__section-title {
    font-size: 1.8em;
  }
  .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: 0.95em;
  }
  .page-ththao__section {
    padding: 40px 15px;
  }
  .page-ththao__text-block, .page-ththao__card-text, .page-ththao__list-text, .page-ththao__promotion-text, .page-ththao__step-text, .page-ththao__faq-text {
    font-size: 0.95em;
  }
  .page-ththao__card-image, .page-ththao__image-full-width, .page-ththao__image-responsive {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-ththao__hero-image {
    min-height: 200px !important;
  }
  .page-ththao__card, .page-ththao__list-item, .page-ththao__promotion-item, .page-ththao__step-item, .page-ththao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-ththao__step-item::before, .page-ththao__step-title, .page-ththao__step-text {
    padding-left: 15px;
  }
  .page-ththao__step-item::before {
    position: static;
    display: block;
    margin-bottom: 5px;
  }
  .page-ththao__step-title {
    padding-left: 0;
  }
  .page-ththao__faq-question {
    padding: 15px;
    font-size: 1em;
  }
  .page-ththao__faq-answer {
    padding: 15px;
  }
  .page-ththao__faq-toggle {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-ththao__main-title {
    font-size: 1.8em;
  }
  .page-ththao__section-title {
    font-size: 1.6em;
  }
  .page-ththao__hero-content {
    padding: 15px;
  }
  .page-ththao__btn-primary, .page-ththao__btn-secondary {
    font-size: 0.9em;
  }
}