.page-game-bai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from shared.css body background */
}

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

.page-game-bai__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  position: relative;
  padding-bottom: 15px;
}

.page-game-bai__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1D5FD1 0%, #F2C14E 100%); /* Blue Gold */
  border-radius: 2px;
}

.page-game-bai__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play,
.page-game-bai__btn-view-promo,
.page-game-bai__btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-play,
.page-game-bai__btn-step {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-bai__btn-primary:hover,
.page-game-bai__btn-play:hover,
.page-game-bai__btn-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-game-bai__btn-secondary,
.page-game-bai__btn-view-promo {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #1D5FD1; /* Auxiliary color */
}

.page-game-bai__btn-secondary:hover,
.page-game-bai__btn-view-promo:hover {
  transform: translateY(-2px);
  background: rgba(29, 95, 209, 0.1); /* Slight background on hover */
  border-color: #2B73F6;
}

/* HERO Section */
.page-game-bai__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 50px;
  text-align: center;
  overflow: hidden;
}

.page-game-bai__hero-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-game-bai__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.page-game-bai__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 15px;
}

.page-game-bai__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-game-bai__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Intro Section */
.page-game-bai__intro-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-game-bai__article-body p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-bai__article-body strong {
  color: #F3F8FF; /* Text Main */
}

/* Games List Section */
.page-game-bai__games-list-section {
  padding: 60px 0;
  background-color: #0d1a31; /* Slightly lighter than Deep Navy */
}

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

.page-game-bai__game-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-bai__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-game-bai__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-game-bai__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-bai__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__card-text {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-bai__btn-play {
  margin-top: auto;
  width: 100%;
}

/* Strategy Section */
.page-game-bai__strategy-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-game-bai__strategy-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__strategy-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-game-bai__strategy-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

/* Promotions Section */
.page-game-bai__promotions-section {
  padding: 60px 0;
  background-color: #0d1a31; /* Slightly lighter than Deep Navy */
}

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

.page-game-bai__promo-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-game-bai__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-bai__btn-view-promo {
  margin-top: auto;
  width: 100%;
}

/* Why Choose Section */
.page-game-bai__why-choose-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-game-bai__why-choose-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-game-bai__why-choose-text {
  flex: 1;
}

.page-game-bai__why-choose-text p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-bai__why-choose-text strong {
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-game-bai__feature-list li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #AFC4E8; /* Text Secondary */
  position: relative;
  padding-left: 30px;
}

.page-game-bai__feature-list li::before {
  content: '✔';
  color: #F2C14E; /* Gold */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-game-bai__why-choose-image {
  flex: 0 0 500px;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-game-bai__why-choose-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-game-bai__btn-large {
  padding: 15px 30px;
  font-size: 18px;
}

/* Get Started Section */
.page-game-bai__get-started-section {
  padding: 60px 0;
  background-color: #0d1a31; /* Slightly lighter than Deep Navy */
}

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

.page-game-bai__step-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-bai__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-bai__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__step-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-game-bai__btn-step {
  margin-top: auto;
}

/* FAQ Section */
.page-game-bai__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-game-bai__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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;
}

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: rgba(29, 95, 209, 0.1); /* Slight background on hover */
}

.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}

details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-bai__faq-answer p {
  margin: 0;
}

/* Global image settings for content area */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__hero-image {
    height: 400px;
  }

  .page-game-bai__hero-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }

  .page-game-bai__hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
  }

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

  .page-game-bai__section-description {
    font-size: 17px;
  }

  .page-game-bai__why-choose-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-game-bai__why-choose-image {
    flex: none;
    max-width: 100%;
  }

  .page-game-bai__btn-large {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-game-bai__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO Main Image Area */
  .page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-game-bai__hero-image {
    height: 250px;
    margin-bottom: 20px;
  }
  .page-game-bai__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    filter: brightness(0.8);
  }

  .page-game-bai__hero-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-game-bai__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-game-bai__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* General Sections & Titles */
  .page-game-bai__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-bai__section-title {
    font-size: 28px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  .page-game-bai__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Article Body */
  .page-game-bai__article-body p {
    font-size: 16px;
  }

  /* Games Grid */
  .page-game-bai__games-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-game-bai__game-card img {
    
  }
  .page-game-bai__card-title {
    font-size: 18px;
  }
  .page-game-bai__card-text {
    font-size: 14px;
  }

  /* Strategy Grid */
  .page-game-bai__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-bai__strategy-item {
    padding: 25px;
  }
  .page-game-bai__strategy-title {
    font-size: 20px;
  }
  .page-game-bai__strategy-text {
    font-size: 15px;
  }

  /* Promotions Grid */
  .page-game-bai__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-bai__promo-card img {
    
  }

  /* Why Choose Section */
  .page-game-bai__why-choose-text p,
  .page-game-bai__feature-list li {
    font-size: 16px;
  }
  .page-game-bai__why-choose-image {
    flex: none;
    max-width: 100%;
    order: -1; /* Image above text on mobile */
  }
  .page-game-bai__why-choose-content {
    gap: 20px;
  }

  /* Get Started Section */
  .page-game-bai__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-bai__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-game-bai__step-title {
    font-size: 20px;
  }
  .page-game-bai__step-text {
    font-size: 15px;
  }

  /* FAQ Section */
  details.page-game-bai__faq-item summary.page-game-bai__faq-question {
    padding: 15px;
  }
  .page-game-bai__faq-qtext {
    font-size: 15px;
  }
  .page-game-bai__faq-toggle {
    font-size: 24px;
  }
  details.page-game-bai__faq-item .page-game-bai__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* All images must be responsive */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* All buttons must be responsive */
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__btn-play,
  .page-game-bai__btn-view-promo,
  .page-game-bai__btn-step,
  .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;
    padding-right: 15px;
  }
  .page-game-bai__hero-cta-buttons,
  .page-game-bai__button-group,
  .page-game-bai__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-game-bai__hero-cta-buttons {
    flex-direction: column;
  }
}