/* CSS file for huong-dan-ca-cuoc-the-thao.css */

:root {
  --color-primary: #FF8C1A;
  --color-secondary: #FFA53A;
  --color-bg-dark: #0D0E12;
  --color-card-bg: #17191F;
  --color-text-main: #FFF3E6;
  --color-border: #A84F0C;
  --color-glow: #FFB04D;
  --color-deep-orange: #D96800;
}

.page-huong-dan-ca-cuoc-the-ththao {
  color: var(--color-text-main);
  background-color: var(--color-bg-dark);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-huong-dan-ca-cuoc-the-thao__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-huong-dan-ca-cuoc-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Fixed max height for hero image */
  overflow: hidden;
  position: relative;
}

.page-huong-dan-ca-cuoc-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-huong-dan-ca-cuoc-the-thao__hero-content {
  position: relative; /* Ensure content is above image wrapper if positioned */
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual flow */
  background-color: rgba(13, 14, 18, 0.7); /* Dark background with transparency */
  border-radius: 15px;
  border: 1px solid var(--color-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-ca-cuoc-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--color-text-main);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-huong-dan-ca-cuoc-the-thao__hero-description {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-huong-dan-ca-cuoc-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-huong-dan-ca-cuoc-the-thao__btn-primary,
.page-huong-dan-ca-cuoc-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-ca-cuoc-the-thao__btn-primary {
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-deep-orange) 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-huong-dan-ca-cuoc-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, var(--color-glow) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-huong-dan-ca-cuoc-the-thao__btn-secondary {
  background: var(--color-card-bg);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-huong-dan-ca-cuoc-the-thao__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

.page-huong-dan-ca-cuoc-the-thao__btn-inline {
  margin-top: 20px;
}

.page-huong-dan-ca-cuoc-the-thao__content-section {
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-huong-dan-ca-cuoc-the-thao__dark-bg {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
}

.page-huong-dan-ca-cuoc-the-thao__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-huong-dan-ca-cuoc-the-thao__light-bg .page-huong-dan-ca-cuoc-the-thao__section-title,
.page-huong-dan-ca-cuoc-the-thao__light-bg .page-huong-dan-ca-cuoc-the-thao__sub-title {
  color: #000000;
}

.page-huong-dan-ca-cuoc-the-thao__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-huong-dan-ca-cuoc-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-huong-dan-ca-cuoc-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-deep-orange));
  border-radius: 2px;
}

.page-huong-dan-ca-cuoc-the-thao__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 35px;
  margin-bottom: 20px;
}

.page-huong-dan-ca-cuoc-the-thao__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-huong-dan-ca-cuoc-the-thao strong {
  color: var(--color-secondary);
}

.page-huong-dan-ca-cuoc-the-thao__image-inline {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc-the-thao__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-huong-dan-ca-cuoc-the-thao__list-item {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-huong-dan-ca-cuoc-the-thao__list-item::before {
  content: '✔';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-huong-dan-ca-cuoc-the-thao__faq-list {
  margin-top: 40px;
}

.page-huong-dan-ca-cuoc-the-thao__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-huong-ca-cuoc-the-thao__light-bg .page-huong-dan-ca-cuoc-the-thao__faq-item {
  background-color: #ffffff;
  border-color: #e0e0e0;
}

.page-huong-dan-ca-cuoc-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-huong-dan-ca-cuoc-the-thao__light-bg .page-huong-dan-ca-cuoc-the-thao__faq-question {
  color: #333333;
}

.page-huong-dan-ca-cuoc-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-huong-dan-ca-cuoc-the-thao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--color-secondary);
}

.page-huong-dan-ca-cuoc-the-thao__faq-item[open] .page-huong-dan-ca-cuoc-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-huong-dan-ca-cuoc-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

.page-huong-ca-cuoc-the-thao__light-bg .page-huong-dan-ca-cuoc-the-thao__faq-answer {
  color: #555555;
}

.page-huong-dan-ca-cuoc-the-thao__final-cta {
  text-align: center;
}

/* Ensure images within content sections are responsive */
.page-huong-dan-ca-cuoc-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-huong-dan-ca-cuoc-the-thao__hero-section {
    margin-bottom: 20px;
  }

  .page-huong-dan-ca-cuoc-the-thao__hero-content {
    margin-top: -80px;
    padding: 15px;
  }

  .page-huong-dan-ca-cuoc-the-thao__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-huong-dan-ca-cuoc-the-thao__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-huong-dan-ca-cuoc-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-huong-dan-ca-cuoc-the-thao__btn-primary,
  .page-huong-dan-ca-cuoc-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-ca-cuoc-the-thao__content-section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

  .page-huong-dan-ca-cuoc-the-thao__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-ca-cuoc-the-thao__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-huong-dan-ca-cuoc-the-thao__sub-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-huong-dan-ca-cuoc-the-thao__text-block,
  .page-huong-dan-ca-cuoc-the-thao__list-item,
  .page-huong-dan-ca-cuoc-the-thao__faq-answer {
    font-size: 1rem;
  }

  .page-huong-dan-ca-cuoc-the-thao__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-huong-dan-ca-cuoc-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* No game/gameshow/blog-masonry/blog-slider-track specific rules as this is not homepage */
}

/* Placeholder for homepage modules, not applicable for this page but required by rules */
.page-huong-dan-ca-cuoc-the-thao__home-content { /* long text gold frame */ }
.page-huong-dan-ca-cuoc-the-thao__row-games { /* game carousel row */ }
.page-huong-dan-ca-cuoc-the-thao__games-title { /* game carousel title */ }
.page-huong-dan-ca-cuoc-the-thao__slider-wrapper { /* game slider wrapper */ }
.page-huong-dan-ca-cuoc-the-thao__slider-track { /* game slider track */ }
.page-huong-dan-ca-cuoc-the-thao__game-slide { /* game slide item */ }
.page-huong-dan-ca-cuoc-the-thao__banners-top-wrapper { /* 6-grid partners */ }
.page-huong-dan-ca-cuoc-the-thao__banner-item img { /* 6-grid partner image */ }
.page-huong-dan-ca-cuoc-the-thao__blog-masonry { /* blog masonry grid */ }
.page-huong-dan-ca-cuoc-the-thao__blog-card-link { /* blog card link */ }
.page-huong-dan-ca-cuoc-the-thao__btn-outline { /* blog card button */ }
.page-huong-dan-ca-cuoc-the-thao__blog-slider-track { /* blog slider track */ }
.page-huong-dan-ca-cuoc-the-thao__blog-slide { /* blog slider item */ }

/* @media for homepage modules, not applicable for this page */
@media (max-width: 768px) {
  .page-huong-dan-ca-cuoc-the-thao__home-content { /* long text gold frame mobile */ }
  .page-huong-dan-ca-cuoc-the-thao__slider-track { /* game slider track mobile */ }
  .page-huong-dan-ca-cuoc-the-thao__game-slide { /* game slide item mobile */ }
  .page-huong-dan-ca-cuoc-the-thao__banners-top-wrapper { /* 6-grid partners mobile */ }
  .page-huong-dan-ca-cuoc-the-thao__banner-item img { /* 6-grid partner image mobile */ }
  .page-huong-dan-ca-cuoc-the-thao__blog-masonry { /* blog masonry grid mobile */ }
  .page-huong-dan-ca-cuoc-the-thao__blog-slide { /* blog slider item mobile */ }
}