/* style/ththao.css */
/* body đã có padding-top: var(--header-offset) từ shared.css */
.page-ththao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

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

.page-ththao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Giảm độ sáng ảnh nền để chữ dễ đọc */
}

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Nền tối để chữ nổi bật */
  border-radius: 10px;
}

.page-ththao__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-ththao__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
}

.page-ththao__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-ththao__section {
  padding: 40px 0;
  background-color: #08160F; /* Background */
}

.page-ththao__section:nth-of-type(even) {
  background-color: #11271B; /* Card BG */
}

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

.page-ththao__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-ththao__paragraph {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-ththao__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__feature-title, .page-ththao__card-title, .page-ththao__guide-step-title, .page-ththao__reason-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-ththao__feature-list, .page-ththao__reason-list {
  list-style: none;
  padding-left: 0;
}

.page-ththao__feature-list li, .page-ththao__reason-list li {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
  position: relative;
  padding-left: 25px;
}

.page-ththao__feature-list li::before, .page-ththao__reason-list li::before {
  content: '✔';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-ththao__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ththao__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-ththao__image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-ththao__card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-ththao__card-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  flex-grow: 1;
}

.page-ththao__guide-list {
  list-style: none;
  padding-left: 0;
  counter-reset: guide-step;
}

.page-ththao__guide-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  position: relative;
  padding-left: 80px;
}

.page-ththao__guide-item::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  left: 20px;
  top: 30px;
  font-size: 1.2em;
  font-weight: bold;
  color: #2AD16F;
  width: 50px;
  text-align: center;
}

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

.page-ththao__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-ththao__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1em;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-ththao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  transform: rotate(45deg);
}

.page-ththao__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-ththao__conclusion .page-ththao__cta-button {
  margin-top: 30px;
}

/* Media Queries */
@media (max-width: 768px) {
  .page-ththao {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-ththao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ththao__hero-content {
    padding: 15px;
  }

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

  .page-ththao__hero-description {
    font-size: 1em;
  }

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

  .page-ththao__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-ththao__paragraph {
    font-size: 1em;
  }

  .page-ththao__feature-grid, .page-ththao__bet-type-grid, .page-ththao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ththao__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

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

  .page-ththao__guide-item {
    padding-left: 20px;
  }

  .page-ththao__guide-item::before {
    position: static;
    display: block;
    text-align: left;
    margin-bottom: 10px;
  }

  .page-ththao__feature-list li, .page-ththao__reason-list li {
    padding-left: 20px;
  }

  .page-ththao__feature-list li::before, .page-ththao__reason-list li::before {
    left: 0;
  }

  /* Responsive for buttons and button containers */
  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-ththao__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .page-ththao__hero-content {
    padding: 40px;
  }
  .page-ththao__video-container {
    width: 100%; /* Desktop width for video container */
  }
}