.page-game-bai__hero-section { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 10px; position: relative; overflow: hidden; background: linear-gradient(135deg, #26A9E0, #4CAF50); min-height: 600px; color: #ffffff; }
.page-game-bai__hero-image-wrapper { width: 100%; max-height: 600px; overflow: hidden; position: absolute; top: 0; left: 0; z-index: 1; }
.page-game-bai__hero-image { width: 100%; height: auto; display: block; object-fit: cover; opacity: 0.7; }
.page-game-bai__hero-content { position: relative; z-index: 2; max-width: 900px; padding: 20px; }
.page-game-bai__main-title { font-size: 3.2em; font-weight: 700; margin-bottom: 15px; line-height: 1.2; color: #ffffff; }
.page-game-bai__hero-description { font-size: 1.2em; margin-bottom: 30px; line-height: 1.6; }
.page-game-bai__cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.page-game-bai__btn-primary, .page-game-bai__btn-secondary { padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; font-size: 1.1em; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
.page-game-bai__btn-primary { background-color: #EA7C07; color: #ffffff; border: 2px solid #EA7C07; }
.page-game-bai__btn-primary:hover { background-color: #d16b06; border-color: #d16b06; }
.page-game-bai__btn-secondary { background-color: #ffffff; color: #26A9E0; border: 2px solid #ffffff; }
.page-game-bai__btn-secondary:hover { background-color: #f0f0f0; border-color: #f0f0f0; }

.page-game-bai__container { max-width: 1200px; margin: 0 auto; padding: 40px 15px; }
.page-game-bai__section-title { font-size: 2.5em; color: #26A9E0; text-align: center; margin-bottom: 20px; font-weight: 700; }
.page-game-bai__section-description { font-size: 1.1em; text-align: center; max-width: 800px; margin: 0 auto 40px; color: #555555; line-height: 1.6; }

.page-game-bai__intro-section { background-color: #f8f8f8; padding: 60px 0; color: #333333; }
.page-game-bai__features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.page-game-bai__feature-item { background-color: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s ease; }
.page-game-bai__feature-item:hover { transform: translateY(-10px); }
.page-game-bai__feature-icon { width: 100px; height: 100px; margin-bottom: 20px; object-fit: contain; }
.page-game-bai__feature-title { font-size: 1.5em; color: #26A9E0; margin-bottom: 15px; font-weight: 600; }
.page-game-bai__feature-item p { color: #666666; line-height: 1.6; }

.page-game-bai__popular-games { padding: 60px 0; background-color: #ffffff; color: #333333; }
.page-game-bai__games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.page-game-bai__game-card { background-color: #f8f8f8; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s ease; }
.page-game-bai__game-card:hover { transform: translateY(-10px); }
.page-game-bai__game-image-wrapper { width: 100%; height: 200px; overflow: hidden; }
.page-game-bai__game-image { width: 100%; height: 100%; object-fit: cover; }
.page-game-bai__game-title { font-size: 1.4em; color: #26A9E0; margin: 20px 0 10px; padding: 0 15px; font-weight: 600; }
.page-game-bai__game-description { color: #666666; font-size: 0.95em; padding: 0 15px 20px; line-height: 1.5; }
.page-game-bai__game-btn { display: inline-block; background-color: #26A9E0; color: #ffffff; padding: 10px 20px; border-radius: 5px; text-decoration: none; margin-bottom: 20px; transition: background-color 0.3s ease; font-weight: bold; }
.page-game-bai__game-btn:hover { background-color: #1e87b7; }

.page-game-bai__why-choose { background-color: #26A9E0; padding: 60px 0; color: #ffffff; }
.page-game-bai__why-choose .page-game-bai__section-title { color: #ffffff; }
.page-game-bai__why-choose .page-game-bai__section-description { color: #e0e0e0; }
.page-game-bai__advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.page-game-bai__advantage-item { background-color: rgba(255,255,255,0.15); padding: 25px; border-radius: 10px; text-align: center; transition: background-color 0.3s ease; }
.page-game-bai__advantage-item:hover { background-color: rgba(255,255,255,0.25); }
.page-game-bai__advantage-title { font-size: 1.3em; margin-bottom: 10px; font-weight: 600; color: #ffffff; }
.page-game-bai__advantage-item p { color: #e0e0e0; line-height: 1.5; }

.page-game-bai__how-to-play { padding: 60px 0; background-color: #f8f8f8; color: #333333; }
.page-game-bai__steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.page-game-bai__step-item { background-color: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); text-align: center; position: relative; }
.page-game-bai__step-number { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: #EA7C07; color: #ffffff; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.5em; font-weight: bold; border: 3px solid #ffffff; }
.page-game-bai__step-title { font-size: 1.4em; color: #26A9E0; margin-top: 25px; margin-bottom: 10px; font-weight: 600; }
.page-game-bai__step-item p { color: #666666; line-height: 1.6; }
.page-game-bai__cta-bottom { text-align: center; margin-top: 50px; }

.page-game-bai__faq-section { padding: 60px 0; background-color: #ffffff; color: #333333; }
.page-game-bai__faq-list { margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
.page-game-bai__faq-item { background-color: #f8f8f8; border-radius: 8px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
.page-game-bai__faq-item[open] { background-color: #e0f2f7; }
.page-game-bai__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; cursor: pointer; font-size: 1.15em; font-weight: 600; color: #26A9E0; background-color: #ffffff; border-bottom: 1px solid #e0e0e0; }
.page-game-bai__faq-item[open] .page-game-bai__faq-question { border-bottom: 1px solid transparent; }
.page-game-bai__faq-toggle { font-size: 1.5em; line-height: 1; transition: transform 0.3s ease; }
.page-game-bai__faq-item[open] .page-game-bai__faq-toggle { transform: rotate(45deg); }
.page-game-bai__faq-answer { padding: 20px 25px; background-color: #f8f8f8; color: #555555; line-height: 1.7; font-size: 1em; border-top: 1px solid #e0e0e0; }
.page-game-bai__faq-item[open] .page-game-bai__faq-answer { border-top-color: transparent; }

/* General image responsiveness */
.page-game-bai img { max-width: 100%; height: auto; display: block; }

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-game-bai__hero-section { min-height: 450px; padding-top: 10px; }
  .page-game-bai__main-title { font-size: 2.2em; margin-top: 20px; }
  .page-game-bai__hero-description { font-size: 1em; }
  .page-game-bai__cta-buttons { flex-direction: column; gap: 15px; width: 100%; padding: 0 15px; box-sizing: border-box; }
  .page-game-bai__btn-primary, .page-game-bai__btn-secondary {
    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-game-bai__section-title { font-size: 1.8em; }
  .page-game-bai__section-description { font-size: 0.95em; }

  .page-game-bai__features-grid, .page-game-bai__games-grid, .page-game-bai__advantages-grid, .page-game-bai__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-game-bai__feature-item, .page-game-bai__game-card, .page-game-bai__advantage-item, .page-game-bai__step-item {
    padding: 20px;
  }
  
  .page-game-bai__game-image-wrapper { height: 180px; }
  .page-game-bai__game-title { font-size: 1.2em; }
  .page-game-bai__advantage-title { font-size: 1.1em; }
  .page-game-bai__step-title { font-size: 1.2em; margin-top: 20px; }
  
  .page-game-bai__container {
    padding: 30px 15px;
  }

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

  .page-game-bai__section,
  .page-game-bai__card,
  .page-game-bai__container,
  .page-game-bai__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-bai__faq-question { font-size: 1em; padding: 15px 20px; }
  .page-game-bai__faq-answer { padding: 15px 20px; }
}