:root {
    --main-color: #113B7A;
    --accent-color: #1D5FD1;
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-game-bai {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--deep-navy);
    line-height: 1.6;
}

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

/* Hero Section */
.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding for fixed header */
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--main-color) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
}

.page-game-bai__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-bai__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__hero-text-container {
    text-align: center;
    max-width: 900px;
}

.page-game-bai__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-game-bai__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-game-bai__btn-primary {
    background: var(--button-gradient);
    color: #FFFFFF;
    border: none;
    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-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.page-game-bai__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--glow-color);
    color: var(--glow-color);
}

/* General Section Styling */
.page-game-bai__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-game-bai__description-text {
    font-size: 1.05em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__dark-section {
    background-color: var(--card-bg);
    padding: 80px 0;
}

.page-game-bai__introduction-section {
    padding: 80px 0;
}

.page-game-bai__text-block {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

/* Game List Section */
.page-game-bai__games-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
}

.page-game-bai__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}