.page-game-bai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color); /* From shared.css */
}

.page-game-bai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-game-bai__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1;
  line-height: 1.2;
}

.page-game-bai__dark-section {
  background-color: #B71C1C; /* Background */
  padding: 60px 0;
}

.page-game-bai__light-bg {
  background-color: #f8f8f8;
  color: #333333;
  padding: 60px 0;
}

.page-game-bai__card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Border */
}

.page-game-bai__card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-bai__card-title {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 0;
  padding: 0 20px;
  color: #F4D34D; /* Gold */
}

.page-game-bai__text-block p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Custom */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #FFD86A;
}

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  border-color: #F4D34D;
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-game-bai__btn-secondary {
  background-color: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F4D34D;
}

.page-game-bai__btn-secondary:hover {
  background-color: #F4D34D;
  color: #7A0E0E; /* Deep Red for contrast */
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-game-bai__large-btn {
  padding: 16px 32px;
  font-size: 18px;
}

/* HERO SECTION */
.page-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-game-bai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
}

.page-game-bai__hero-content {
  max-width: 900px;
  margin-top: 30px;
  padding: 0 15px;
  color: #FFF5E1; /* Text Main */
}

.page-game-bai__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
  line-height: 1.1;
  max-width: 100%;
}

.page-game-bai__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-game-bai__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* WHY CHOOSE SECTION */
.page-game-bai__why-choose-section {
  padding: 80px 0;
}

.page-game-bai__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-bai__feature-card {
  padding-bottom: 20px;
  text-align: center;
}

.page-game-bai__feature-card p {
  padding: 0 20px;
  font-size: 16px;
  color: #FFF5E1;
}

/* GAME TYPES SECTION */
.page-game-bai__game-types-section {
  padding: 80px 0;
}

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

.page-game-bai__game-card p {
  padding: 0 20px 20px;
  font-size: 16px;
  color: #FFF5E1;
}

/* GUIDE SECTION */
.page-game-bai__guide-section {
  padding: 80px 0;
}

.page-game-bai__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-game-bai__step-card {
  text-align: center;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-bai__step-number {
  width: 50px;
  height: 50px;
  background-color: #F4D34D; /* Gold */
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  border: 3px solid #FFCC66; /* Glow */
}

.page-game-bai__step-card p {
  font-size: 16px;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-game-bai__step-link {
  margin-top: auto; /* Push link to bottom */
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #FFD86A;
}

.page-game-bai__step-link:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  border-color: #F4D34D;
  box-shadow: 0 0 10px #FFCC66;
}

.page-game-bai__cta-bottom {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* TIPS SECTION */
.page-game-bai__tips-section {
  padding: 80px 0;
}

.page-game-bai__tips-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-game-bai__tips-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #F4D34D;
}

.page-game-bai__tips-list {
  width: 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-game-bai__tips-list li {
  background-color: #D32F2F;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 17px;
  color: #FFF5E1;
  border-left: 5px solid #F4D34D;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-game-bai__tips-list li strong {
  color: #FFD86A;
}

/* FAQ SECTION */
.page-game-bai__faq-section {
  padding: 80px 0;
}

details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Border */
}

details.page-game-bai__faq-item summary.page-game-bai__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;
  color: #F4D34D; /* Gold */
}

details.page-game-bai__faq-item summary.page-game-bai__faq-question::-webkit-details-marker {
  display: none;
}

details.page-game-bai__faq-item summary.page-game-bai__faq-question:hover {
  background: #7A0E0E; /* Deep Red */
}

.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Button Custom */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Text Main */
}

.page-game-bai__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* FINAL CTA SECTION */
.page-game-bai__cta-final-section {
  text-align: center;
  padding: 80px 0;
}

.page-game-bai__final-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__main-title {
    font-size: 42px;
  }

  .page-game-bai__section-title {
    font-size: 32px;
  }

  .page-game-bai__tips-content {
    flex-direction: column;
  }

  .page-game-bai__tips-image,
  .page-game-bai__tips-list {
    width: 100%;
  }

  .page-game-bai__tips-list li {
    padding: 15px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-game-bai__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-game-bai__main-title {
    font-size: 32px !important;
    margin-bottom: 15px;
  }

  .page-game-bai__hero-description {
    font-size: 17px !important;
    margin-bottom: 25px;
  }

  .page-game-bai__section-title {
    font-size: 26px !important;
    margin-bottom: 30px;
  }

  .page-game-bai__why-choose-section,
  .page-game-bai__game-types-section,
  .page-game-bai__guide-section,
  .page-game-bai__tips-section,
  .page-game-bai__faq-section,
  .page-game-bai__cta-final-section {
    padding: 40px 0 !important;
  }

  .page-game-bai__features-grid,
  .page-game-bai__game-list-grid,
  .page-game-bai__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-game-bai__card {
    padding-bottom: 15px;
  }

  .page-game-bai__card-title {
    font-size: 20px;
    margin: 10px 0;
    padding: 0 15px;
  }

  .page-game-bai__feature-card p,
  .page-game-bai__game-card p,
  .page-game-bai__step-card p {
    font-size: 15px;
    padding: 0 15px;
  }

  .page-game-bai__cta-buttons,
  .page-game-bai__cta-bottom {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai a[class*="button"],
  .page-game-bai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 16px !important;
  }

  .page-game-bai__large-btn {
    padding: 14px 28px !important;
  }

  .page-game-bai__tips-image {
    width: 100% !important;
    margin-bottom: 20px;
  }

  .page-game-bai__tips-list {
    width: 100% !important;
  }

  .page-game-bai__tips-list li {
    font-size: 15px;
    padding: 15px;
  }

  details.page-game-bai__faq-item summary.page-game-bai__faq-question {
    padding: 15px !important;
  }

  .page-game-bai__faq-qtext {
    font-size: 16px !important;
  }

  .page-game-bai__faq-toggle {
    font-size: 20px !important;
    width: 24px !important;
    height: 24px !important;
  }

  details.page-game-bai__faq-item .page-game-bai__faq-answer {
    padding: 0 15px 15px !important;
  }

  .page-game-bai__faq-answer p {
    font-size: 15px !important;
  }

  .page-game-bai__final-description {
    font-size: 17px !important;
    padding: 0 15px;
  }

  /* Image responsiveness */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__hero-image-wrapper,
  .page-game-bai__container,
  .page-game-bai__feature-card,
  .page-game-bai__game-card,
  .page-game-bai__step-card,
  .page-game-bai__tips-content,
  .page-game-bai__faq-item,
  .page-game-bai__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}