/* Base styles */
.page-game-bai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #FFF6D6);
    background-color: var(--bg-color, #0A0A0A);
}

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

/* Hero Section */
.page-game-bai__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-color, #0A0A0A);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

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

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

.page-game-bai__hero-content {
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -80px; /* Slightly overlap with image for visual effect, but text is below */
    z-index: 1;
    background: var(--card-bg, #111111);
    border-radius: 10px;
    border: 1px solid var(--border-color, #3A2A12);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.page-game-bai__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--text-main, #FFF6D6);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-game-bai__description {
    font-size: 1.1em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-game-bai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-game-bai__btn-secondary {
    background: var(--card-bg, #111111);
    color: var(--text-main, #FFF6D6);
    border: 2px solid var(--border-color, #3A2A12);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-secondary:hover {
    background: var(--border-color, #3A2A12);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-game-bai__btn-center {
    display: block;
    margin: 30px auto 0 auto;
}

/* General Sections */
.page-game-bai__introduction-section,
.page-game-bai__game-types-section,
.page-game-bai__how-to-play-section,
.page-game-bai__tips-section,
.page-game-bai__promotions-section,
.page-game-bai__why-choose-section,
.page-game-bai__faq-section,
.page-game-bai__final-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-color, #0A0A0A);
}

.page-game-bai__section-title {
    font-size: 2.5em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 30px;
    font-weight: bold;
}

.page-game-bai__text-block {
    font-size: 1.1em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Game Types Section */
.page-game-bai__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__game-card,
.page-game-bai__promotion-card,
.page-game-bai__advantage-item {
    background: var(--card-bg, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-bai__game-card-image,
.page-game-bai__promotion-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-game-bai__game-card-title,
.page-game-bai__promotion-card-title,
.page-game-bai__advantage-title {
    font-size: 1.5em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-bai__game-card-description,
.page-game-bai__promotion-card-description,
.page-game-bai__advantage-description {
    font-size: 1em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Play Section */
.page-game-bai__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__step-item {
    background: var(--card-bg, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-game-bai__step-title {
    font-size: 1.4em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-bai__step-description {
    font-size: 1em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-game-bai__tips-list li {
    background: var(--card-bg, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main, #FFF6D6);
}

.page-game-bai__tip-title {
    font-size: 1.2em;
    color: var(--text-main, #FFF6D6);
    margin-bottom: 5px;
    font-weight: bold;
}

/* Promotions Section */
.page-game-bai__promotion-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Why Choose Section */
.page-game-bai__advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-game-bai__faq-item {
    background: var(--card-bg, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}