.page-game-bai {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
}

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

.page-game-bai__section {
    padding: 60px 0;
    text-align: center;
}

.page-game-bai__dark-section {
    background-color: #017439;
    color: #ffffff;
}

.page-game-bai__dark-section .page-game-bai__section-title,
.page-game-bai__dark-section .page-game-bai__description,
.page-game-bai__dark-section .page-game-bai__game-card-title,
.page-game-bai__dark-section .page-game-bai__game-card-text,
.page-game-bai__dark-section .page-game-bai__step-title,
.page-game-bai__dark-section .page-game-bai__step-text,
.page-game-bai__dark-section .page-game-bai__promotion-title,
.page-game-bai__dark-section .page-game-bai__promotion-text,
.page-game-bai__dark-section .page-game-bai__text-block {
    color: #ffffff;
}

.page-game-bai__dark-section .page-game-bai__inline-link {
    color: #FFFF00;
}

.page-game-bai__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #017439;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-game-bai__section-title strong.page-game-bai__keyword {
    color: #017439;
}

.page-game-bai__dark-section .page-game-bai__section-title strong.page-game-bai__keyword {
    color: #FFFF00;
}

.page-game-bai__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-game-bai__dark-section .page-game-bai__section-title::after {
    background-color: #FFFF00;
}

.page-game-bai__description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__text-block {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__text-block strong.page-game-bai__keyword {
    color: #017439;
}

.page-game-bai__dark-section .page-game-bai__text-block strong.page-game-bai__keyword {
    color: #FFFF00;
}

.page-game-bai__inline-link {
    color: #017439;
    text-decoration: underline;
    font-weight: 600;
}

.page-game-bai__inline-link:hover {
    color: #004d26;
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-tertiary,
.page-game-bai__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-bai__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-game-bai__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-game-bai__btn-secondary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-game-bai__btn-secondary:hover {
    background-color: #004d26;
    border-color: #004d26;
}

.page-game-bai__btn-tertiary {
    background-color: #FFFFFF;
    color: #017439;
    border: 1px solid #017439;
}

.page-game-bai__btn-tertiary:hover {
    background-color: #f0f0f0;
    color: #004d26;
    border-color: #004d26;
}

.page-game-bai__btn-link {
    background: none;
    color: #017439;
    padding: 0;
    border: none;
    text-decoration: underline;
    font-size: 1rem;
}

.page-game-bai__btn-link:hover {
    color: #004d26;
}

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

.page-game-bai__cta-bottom {
    margin-top: 40px;
}

/* Hero Section */
.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
    text-align: center;
}

.page-game-bai__hero-image {
    position: relative;
    width: 100%;
    height: 675px; /* Fixed height for desktop, adjust for mobile */
    overflow: hidden;
}

.page-game-bai__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop */
    display: block;
}

.page-game-bai__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-game-bai__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #017439;
    margin-bottom: 20px;
}

/* Game Grid Section */
.page-game-bai__game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-game-bai__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-game-bai__game-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-game-bai__game-card-text {
    font-size: 0.95rem;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-bai__game-card .page-game-bai__btn-tertiary {
    margin-top: auto;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
}

/* Benefits Section */
.page-game-bai__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__benefit-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-game-bai__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-game-bai__benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-game-bai__benefit-text {
    font-size: 0.95rem;
    color: #555555;
}

/* Guide Section */
.page-game-bai__steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-bai__step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFF00;
    margin-bottom: 15px;
    line-height: 1;
}

.page-game-bai__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-game-bai__step-text {
    font-size: 0.95rem;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-game-bai__step-item .page-game-bai__btn-link {
    color: #FFFF00;
    border-color: #FFFF00;
    font-weight: 600;
    text-decoration: underline;
}

.page-game-bai__step-item .page-game-bai__btn-link:hover {
    color: #fff;
}

/* Tips Section */
.page-game-bai__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-game-bai__tip-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #017439;
}

.page-game-bai__tip-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-game-bai__tip-text {
    font-size: 0.95rem;
    color: #555555;
}

/* Promotions Section */
.page-game-bai__promotion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__promotion-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-game-bai__promotion-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-game-bai__promotion-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-game-bai__promotion-text {
    font-size: 0.95rem;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-bai__promotion-card .page-game-bai__btn-tertiary {
    margin-top: auto;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
}

/* FAQ Section */
.page-game-bai__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #f5f5f5;
}
.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}