.page-game-bai {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy, assuming body is dark */
}

.page-game-bai__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-game-bai__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

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

/* Hero Section */
.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: #08162B; /* Deep Navy */
}

.page-game-bai__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-game-bai__hero-image {
  flex: 1 1 500px; /* Allow image to grow/shrink, with a base of 500px */
  text-align: center;
  order: 2; /* Image on right for desktop */
}

.page-game-bai__hero-main-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-game-bai__hero-content {
  flex: 1 1 450px;
  order: 1; /* Content on left for desktop */
  text-align: left;
}

.page-game-bai__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-bai__hero-description {
  font-size: 1.15em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-game-bai__hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

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

.page-game-bai__btn-secondary:hover {
  background: rgba(79, 168, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* Intro Section */
.page-game-bai__intro-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-game-bai__feature-item {
  background-color: #08162B; /* Deep Navy */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-game-bai__icon-box-media {
  width: 160px;
  height: 160px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E; /* Gold */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-game-bai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image is also circular */
  display: block;
}

.page-game-bai__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-game-bai__feature-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

/* Game Showcase Section */
.page-game-bai__game-showcase-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

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

.page-game-bai__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-game-bai__game-card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-game-bai__game-card-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-bai__game-card-title a:hover {
  color: #4FA8FF; /* Glow */
}

.page-game-bai__game-card-text {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.page-game-bai__btn-play-now {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-bai__btn-play-now:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* Benefits Section */
.page-game-bai__benefits-section {
  padding: 60px 0;
  background-color: #113B7A; /* Main Color */
}

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

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

.page-game-bai__benefit-img {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-bai__benefit-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-game-bai__benefit-text {
  font-size: 1em;
  color: #F3F8FF; /* Text Main */
  line-height: 1.6;
}

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

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

.page-game-bai__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #113B7A; /* Main Color */
  color: #F2C14E; /* Gold */
  border-bottom: 1px solid #1B3357; /* Divider */
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

.page-game-bai__faq-question:hover {
  background-color: #1D5FD1; /* Auxiliary Color */
}

.page-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
  transform: rotate(45deg);
}

.page-game-bai__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

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

/* General Image & Container Responsiveness */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-game-bai__container,
.page-game-bai__hero-cta-group {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-game-bai__hero-section {
    padding-top: 10px !important; /* Rely on body padding for header offset */
    padding-bottom: 40px;
  }

  .page-game-bai__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-game-bai__hero-image {
    order: 1;
    flex: 1 1 auto;
  }

  .page-game-bai__hero-content {
    order: 2;
    text-align: center;
    flex: 1 1 auto;
  }

  .page-game-bai__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-game-bai__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-game-bai__hero-cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-bai__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-game-bai__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-game-bai__container {
    padding: 30px 15px;
  }

  .page-game-bai__features-grid,
  .page-game-bai__game-grid,
  .page-game-bai__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-game-bai__icon-box-media {
    width: 120px; /* Smaller for mobile */
    height: 120px;
    margin-bottom: 15px;
  }

  .page-game-bai__feature-title {
    font-size: 1.3em;
  }

  .page-game-bai__feature-text {
    font-size: 0.9em;
  }

  .page-game-bai__game-card-img {
    
  }

  .page-game-bai__game-card-title {
    font-size: 1.2em;
  }

  .page-game-bai__game-card-text {
    font-size: 0.85em;
  }

  .page-game-bai__btn-play-now {
    font-size: 0.9em;
    padding: 8px 15px;
  }

  .page-game-bai__benefit-img {
    height: 200px;
  }

  .page-game-bai__benefit-title {
    font-size: 1.4em;
  }

  .page-game-bai__benefit-text {
    font-size: 0.9em;
  }

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

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

  .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__feature-item,
  .page-game-bai__game-card,
  .page-game-bai__benefit-item,
  .page-game-bai__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}