/* Base styles for the page-gioi-thieu-b52 scope */
.page-gioi-thieu-b52 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background: #B71C1C; /* Background */
  padding-bottom: 40px;
}

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

.page-gioi-thieu-b52__section {
  padding: 40px 0;
}

.page-gioi-thieu-b52__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F4D34D; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gioi-thieu-b52__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%); /* Deep Red to Background */
}

.page-gioi-thieu-b52__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-gioi-thieu-b52__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-gioi-thieu-b52__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-gioi-thieu-b52__main-title {
  font-size: clamp(32px, 4vw, 56px);
  color: #FFD86A; /* Gold-like for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-gioi-thieu-b52__subtitle {
  font-size: clamp(16px, 1.8vw, 22px);
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gioi-thieu-b52__btn-primary,
.page-gioi-thieu-b52__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gioi-thieu-b52__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #FFE89C 0%, #FFCC00 100%);
}

.page-gioi-thieu-b52__btn-secondary {
  background: #C91F17; /* Main Color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border custom */
}

.page-gioi-thieu-b52__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  background: #E53935; /* Auxiliary Color */
}

.page-gioi-thieu-b52__introduction-section .page-gioi-thieu-b52__content-block,
.page-gioi-thieu-b52__features-section .page-gioi-thieu-b52__content-block,
.page-gioi-thieu-b52__download-guide-section .page-gioi-thieu-b52__content-block,
.page-gioi-thieu-b52__commitment-section .page-gioi-thieu-b52__content-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: #FFF5E1; /* Text Main */
}

.page-gioi-thieu-b52__introduction-section p,
.page-gioi-thieu-b52__features-section p,
.page-gioi-thieu-b52__download-guide-section p,
.page-gioi-thieu-b52__commitment-section p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-gioi-thieu-b52__dark-section {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

.page-gioi-thieu-b52__games-grid,
.page-gioi-thieu-b52__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gioi-thieu-b52__game-card,
.page-gioi-thieu-b52__feature-item {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #FFF5E1;
}

.page-gioi-thieu-b52__game-card img,
.page-gioi-thieu-b52__feature-item img,
.page-gioi-thieu-b52__download-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #F2B544;
}

.page-gioi-thieu-b52__game-card h3,
.page-gioi-thieu-b52__feature-item h3 {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #FFD86A; /* Gold-like */
}

.page-gioi-thieu-b52__game-card h3 a,
.page-gioi-b52__download-item h3 a {
  color: #FFD86A;
  text-decoration: none;
}

.page-gioi-thieu-b52__game-card p,
.page-gioi-thieu-b52__feature-item p {
  font-size: 16px;
  padding: 0 20px 20px;
  text-align: center;
  flex-grow: 1;
}

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

.page-gioi-thieu-b52__download-item {
  background: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  color: #FFF5E1;
}

.page-gioi-thieu-b52__download-item h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #FFD86A; /* Gold-like */
}

.page-gioi-thieu-b52__download-item p {
  font-size: 16px;
  padding: 0 20px;
}

.page-gioi-thieu-b52__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* FAQ Section styles */
details.page-gioi-thieu-b52__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border custom */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
details.page-gioi-thieu-b52__faq-item summary.page-gioi-thieu-b52__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF5E1; /* Text Main */
}
details.page-gioi-thieu-b52__faq-item summary.page-gioi-thieu-b52__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gioi-thieu-b52__faq-item summary.page-gioi-thieu-b52__faq-question:hover {
  background: #C91F17; /* Main Color */
}
.page-gioi-thieu-b52__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold-like for question text */
}
.page-gioi-thieu-b52__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A; /* Gold-like */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-gioi-thieu-b52__faq-item .page-gioi-thieu-b52__faq-answer {
  padding: 0 25px 20px;
  background: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1; /* Text Main */
  font-size: 16px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gioi-thieu-b52__hero-image img {
    max-height: 500px;
  }
  .page-gioi-thieu-b52__main-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }
  .page-gioi-thieu-b52__subtitle {
    font-size: clamp(15px, 2vw, 20px);
  }
  .page-gioi-thieu-b52__section-title {
    font-size: 32px;
  }
  .page-gioi-thieu-b52__game-card h3,
  .page-gioi-thieu-b52__feature-item h3 {
    font-size: 20px;
  }
  .page-gioi-thieu-b52__download-item h3 {
    font-size: 22px;
  }
  .page-gioi-thieu-b52__introduction-section p,
  .page-gioi-thieu-b52__features-section p,
  .page-gioi-thieu-b52__download-guide-section p,
  .page-gioi-thieu-b52__commitment-section p {
    font-size: 17px;
  }
  details.page-gioi-thieu-b52__faq-item summary.page-gioi-thieu-b52__faq-question {
    padding: 16px 20px;
  }
  .page-gioi-thieu-b52__faq-qtext {
    font-size: 17px;
  }
  .page-gioi-thieu-b52__faq-toggle {
    font-size: 26px;
  }
  details.page-gioi-thieu-b52__faq-item .page-gioi-thieu-b52__faq-answer {
    padding: 0 20px 18px;
  }
}

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

@media (max-width: 768px) {
  .page-gioi-thieu-b52__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gioi-thieu-b52__section {
    padding: 30px 0;
  }

  .page-gioi-thieu-b52__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-gioi-thieu-b52__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-gioi-thieu-b52__hero-image {
    margin-bottom: 20px;
    max-height: 300px;
  }

  .page-gioi-thieu-b52__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-gioi-thieu-b52__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-gioi-thieu-b52__subtitle {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 25px;
  }

  .page-gioi-thieu-b52__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gioi-thieu-b52__introduction-section .page-gioi-thieu-b52__content-block,
  .page-gioi-thieu-b52__features-section .page-gioi-thieu-b52__content-block,
  .page-gioi-thieu-b52__download-guide-section .page-gioi-thieu-b52__content-block,
  .page-gioi-thieu-b52__commitment-section .page-gioi-thieu-b52__content-block {
    font-size: 16px;
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gioi-thieu-b52__introduction-section p,
  .page-gioi-thieu-b52__features-section p,
  .page-gioi-thieu-b52__download-guide-section p,
  .page-gioi-thieu-b52__commitment-section p {
    text-align: left;
  }

  .page-gioi-thieu-b52__games-grid,
  .page-gioi-thieu-b52__feature-grid,
  .page-gioi-thieu-b52__download-options {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-gioi-thieu-b52__game-card img,
  .page-gioi-thieu-b52__feature-item img,
  .page-gioi-thieu-b52__download-item img {
    
  }

  .page-gioi-thieu-b52__game-card h3,
  .page-gioi-thieu-b52__feature-item h3,
  .page-gioi-thieu-b52__download-item h3 {
    font-size: 20px;
    margin: 15px 10px 8px;
  }

  .page-gioi-thieu-b52__game-card p,
  .page-gioi-thieu-b52__feature-item p,
  .page-gioi-thieu-b52__download-item p {
    font-size: 15px;
    padding: 0 15px 15px;
  }

  .page-gioi-thieu-b52__image-full-width {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-gioi-thieu-b52__faq-item summary.page-gioi-thieu-b52__faq-question {
    padding: 15px;
  }
  .page-gioi-thieu-b52__faq-qtext {
    font-size: 16px;
  }
  .page-gioi-thieu-b52__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-gioi-thieu-b52__faq-item .page-gioi-thieu-b52__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-gioi-thieu-b52 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all content containers are responsive */
  .page-gioi-thieu-b52__hero-content,
  .page-gioi-thieu-b52__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}