/* Base Styles & Typography */
.page-index-gioi-thieu-8k-bet {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-index-gioi-thieu-8k-bet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index-gioi-thieu-8k-bet__section {
  padding: 60px 0;
}

.page-index-gioi-thieu-8k-bet__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main color for titles */
  line-height: 1.2;
}

.page-index-gioi-thieu-8k-bet__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-index-gioi-thieu-8k-bet a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-gioi-thieu-8k-bet a:hover {
  color: #F2C14E;
}

/* Hero Section */
.page-index-gioi-thieu-8k-bet__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-index-gioi-thieu-8k-bet__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.page-index-gioi-thieu-8k-bet__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default cover */
  display: block;
}

.page-index-gioi-thieu-8k-bet__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index-gioi-thieu-8k-bet__main-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD36B; /* Highlighted title color */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-index-gioi-thieu-8k-bet__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index-gioi-thieu-8k-bet__btn-primary,
.page-index-gioi-thieu-8k-bet__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-gioi-thieu-8k-bet__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-index-gioi-thieu-8k-bet__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  opacity: 0.9;
}

.page-index-gioi-thieu-8k-bet__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E; /* Border color */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-index-gioi-thieu-8k-bet__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text for brand color button */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* About Intro Section */
.page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__text-block {
  flex: 2;
}

.page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__image-block {
  flex: 1;
  min-width: 300px;
}

.page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* History & Mission Section */
.page-index-gioi-thieu-8k-bet__history-mission .page-index-gioi-thieu-8k-bet__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-gioi-thieu-8k-bet__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-gioi-thieu-8k-bet__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-index-gioi-thieu-8k-bet__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E;
}

/* Why Choose Section */
.page-index-gioi-thieu-8k-bet__why-choose .page-index-gioi-thieu-8k-bet__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-index-gioi-thieu-8k-bet__feature-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-gioi-thieu-8k-bet__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-index-gioi-thieu-8k-bet__feature-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-gioi-thieu-8k-bet__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F2C14E;
}

/* FAQ Section */
details.page-index-gioi-thieu-8k-bet__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-index-gioi-thieu-8k-bet__faq-item summary.page-index-gioi-thieu-8k-bet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
}
details.page-index-gioi-thieu-8k-bet__faq-item summary.page-index-gioi-thieu-8k-bet__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index-gioi-thieu-8k-bet__faq-item summary.page-index-gioi-thieu-8k-bet__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}
.page-index-gioi-thieu-8k-bet__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-index-gioi-thieu-8k-bet__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-index-gioi-thieu-8k-bet__faq-item .page-index-gioi-thieu-8k-bet__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Bottom CTA */
.page-index-gioi-thieu-8k-bet__cta-bottom {
  padding-top: 40px;
  padding-bottom: 80px;
}

.page-index-gioi-thieu-8k-bet__container--centered {
  text-align: center;
}

/* Image specific styles */
.page-index-gioi-thieu-8k-bet img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-gioi-thieu-8k-bet__section-title {
    font-size: 32px;
  }

  .page-index-gioi-thieu-8k-bet__main-title {
    font-size: clamp(28px, 4vw, 40px);
  }

  .page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__image-block {
    min-width: unset;
    width: 80%;
  }

  .page-index-gioi-thieu-8k-bet__history-mission .page-index-gioi-thieu-8k-bet__content-grid,
  .page-index-gioi-thieu-8k-bet__why-choose .page-index-gioi-thieu-8k-bet__features-grid {
    grid-template-columns: 1fr;
  }

  .page-index-gioi-thieu-8k-bet__feature-item img {
    
  }

  .page-index-gioi-thieu-8k-bet__btn-primary,
  .page-index-gioi-thieu-8k-bet__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
}

@media (max-width: 849px) {
  .page-index-gioi-thieu-8k-bet__hero-image img {
    object-fit: contain !important; 
    aspect-ratio: unset !important; 
    height: auto !important;
  }
}

@media (max-width: 768px) {
  /* General */
  .page-index-gioi-thieu-8k-bet {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-gioi-thieu-8k-bet__section {
    padding: 40px 0;
  }

  .page-index-gioi-thieu-8k-bet__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-index-gioi-thieu-8k-bet__description {
    font-size: 16px;
    padding: 0 15px;
  }

  /* Hero Section */
  .page-index-gioi-thieu-8k-bet__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }

  .page-index-gioi-thieu-8k-bet__hero-image {
    max-height: 400px;
  }
  
  .page-index-gioi-thieu-8k-bet__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is contained */
    aspect-ratio: unset !important;
  }

  .page-index-gioi-thieu-8k-bet__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-index-gioi-thieu-8k-bet__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-gioi-thieu-8k-bet__btn-primary,
  .page-index-gioi-thieu-8k-bet__btn-secondary {
    font-size: 16px !important;
    padding: 12px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* About Intro Section */
  .page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-index-gioi-thieu-8k-bet__about-intro .page-index-gioi-thieu-8k-bet__image-block {
    width: 90%;
    margin: 0 auto;
  }

  /* History & Mission Section */
  .page-index-gioi-thieu-8k-bet__history-mission .page-index-gioi-thieu-8k-bet__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-gioi-thieu-8k-bet__card {
    padding: 20px;
  }

  .page-index-gioi-thieu-8k-bet__card-title {
    font-size: 20px;
  }

  /* Why Choose Section */
  .page-index-gioi-thieu-8k-bet__why-choose .page-index-gioi-thieu-8k-bet__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-gioi-thieu-8k-bet__feature-item {
    padding: 20px;
  }

  .page-index-gioi-thieu-8k-bet__feature-item img {
    
    margin-bottom: 15px;
  }

  .page-index-gioi-thieu-8k-bet__feature-title {
    font-size: 20px;
  }

  /* FAQ Section */
  details.page-index-gioi-thieu-8k-bet__faq-item summary.page-index-gioi-thieu-8k-bet__faq-question { padding: 15px; }
  .page-index-gioi-thieu-8k-bet__faq-qtext { font-size: 16px; }
  .page-index-gioi-thieu-8k-bet__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-index-gioi-thieu-8k-bet__faq-item .page-index-gioi-thieu-8k-bet__faq-answer {
    padding: 0 15px 15px;
  }

  /* Content area images and containers */
  .page-index-gioi-thieu-8k-bet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-gioi-thieu-8k-bet__section,
  .page-index-gioi-thieu-8k-bet__card,
  .page-index-gioi-thieu-8k-bet__container,
  .page-index-gioi-thieu-8k-bet__content-wrapper,
  .page-index-gioi-thieu-8k-bet__content-grid,
  .page-index-gioi-thieu-8k-bet__features-grid,
  .page-index-gioi-thieu-8k-bet__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  /* Cta Bottom Section */
  .page-index-gioi-thieu-8k-bet__cta-bottom {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  .page-index-gioi-thieu-8k-bet__cta-bottom .page-index-gioi-thieu-8k-bet__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}