:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-bg: #C30808; /* Đỏ */
    --register-login-text: #FFFF00; /* Vàng */
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
    --background-light: #f9f9f9;
}

/* Base styles for the page content */
.page-index-exclusive-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--secondary-color); /* Assuming body background is light */
    padding: 0 0 60px 0; /* Adjust padding-bottom for footer space */
}

/* HERO Section */
.page-index-exclusive-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, var(--primary-color), #019451); /* Slightly lighter green for gradient */
    color: var(--text-light);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-index-exclusive-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-index-exclusive-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-index-exclusive-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-exclusive-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image for integrated look */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-index-exclusive-promotions__hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-index-exclusive-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-exclusive-promotions__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-index-exclusive-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-exclusive-promotions__cta-button--register {
    background: var(--register-login-bg); /* #C30808 */
    color: var(--register-login-text); /* #FFFF00 */
    border: 2px solid var(--register-login-text);
}

.page-index-exclusive-promotions__cta-button--register:hover {
    background: #e00a0a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-exclusive-promotions__cta-button--download {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-index-exclusive-promotions__cta-button--download:hover {
    background: #019451;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-index-exclusive-promotions__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Sections handle their own spacing */
    background-color: var(--secondary-color);
}

.page-index-exclusive-promotions__section:nth-of-type(even) {
    background-color: var(--background-light); /* Alternate background for readability */
}

.page-index-exclusive-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Sections provide padding */
}

.page-index-exclusive-promotions__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-index-exclusive-promotions__section-description {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Module 1: Intro Section */
.page-index-exclusive-promotions__intro-section .page-index-exclusive-promotions__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-index-exclusive-promotions__intro-section .page-index-exclusive-promotions__text-block h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-exclusive-promotions__intro-section .page-index-exclusive-promotions__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Module 2: Quick Access Links */
.page-index-exclusive-promotions__quick-access-section .page-index-exclusive-promotions__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-exclusive-promotions__link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-exclusive-promotions__link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-exclusive-promotions__link-card img {
    
    
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-exclusive-promotions__link-card h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index-exclusive-promotions__link-card p {
    font-size: 0.95em;
    color: #555;
}

/* Module 3: Core Games/Services */
.page-index-exclusive-promotions__games-section .page-index-exclusive-promotions__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-exclusive-promotions__game-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-exclusive-promotions__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-exclusive-promotions__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for image consistency */
    object-fit: cover;
    display: block;
}

.page-index-exclusive-promotions__game-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    margin: 0;
}

.page-index-exclusive-promotions__game-card h3 a {
    color: inherit;
    text-decoration: none;
}

.page-index-exclusive-promotions__game-card h3 a:hover {
    text-decoration: underline;
}

.page-index-exclusive-promotions__game-card p {
    padding: 0 20px 20px;
    color: #555;
    flex-grow: 1;
}

/* Module 4: Promotions */
.page-index-exclusive-promotions__promotions-section .page-index-exclusive-promotions__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}