:root {
    --primary-color: #017439; /* Main brand color */
    --secondary-color: #FFFFFF; /* Secondary brand color */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-light: #ffffff;
    --background-color-dark: #017439;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    /* --button-register-text: #FFFF00; -- Overridden for WCAG AA contrast */
    /* --button-login-text: #FFFF00; -- Overridden for WCAG AA contrast */
}

.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background-color: var(--background-color-light); /* Default body background */
}

/* Hero Section */
.page-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); /* Ensure space for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d26 100%); /* Darker gradient for text contrast */
    color: var(--text-color-light);
}

.page-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-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px; /* Limit image width within hero */
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

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

.page-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
    opacity: 0.9;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-register-bg); /* Use specific register color */
    color: var(--text-color-light); /* Changed to #FFFFFF for WCAG AA contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-promotions__cta-button:hover {
    background: #e00b0b; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions__section-title--white {
    color: var(--text-color-light);
}

.page-promotions__section-title--white::after {
    background: var(--text-color-light);
}

.page-promotions__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.page-promotions__text-block--white {
    color: var(--text-color-light);
    opacity: 0.9;
}

/* Introduction Section */
.page-promotions__introduction-section {
    background-color: var(--background-color-light);
    padding: 80px 0;
}

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

.page-promotions__feature-item {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-promotions__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

/* Quick Access Section */
.page-promotions__quick-access-section {
    background-color: var(--background-color-dark);
    padding: 80px 0;
}

.page-promotions__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-register-bg); /* Use specific register color */
    color: var(--text-color-light); /* Changed to #FFFFFF for WCAG AA contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    background: #e00b0b; /* Slightly darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Game Intro Section */
.page-promotions__game-intro-section {
    background-color: var(--background-color-light);
    padding: 80px 0;
}

.page-promotions__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__game-card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-promotions__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency, object-fit will handle aspect ratio */
    object-fit: cover;
    display: block;
}

.page-promotions__game-card h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
}

.page-promotions__game-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__game-card h3 a:hover {
    color: #004d26; /* Darker green on hover */
    text-decoration: underline;
}

.page-promotions__game-card p {
    font-size: 0.95em;
    color: #666;
    padding: 0 20px 20px 20px;
}

/* Promotion Section */
.page-promotions__promo-section {
    background-color: var(--background-color-dark);
    padding: 80px 0;
}

.page-promotions__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__card-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
}

.page-promotions__promo-card p {
    font-size: 0.95em;
    color: #666;
    padding: 0 20px 20px 20px;
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Security & Customer Service Section */
.page-promotions__security-cs-section {
    background-color: var(--background-color-light);
    padding: 80px 0;
}

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

.page-promotions__info-item {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-promotions__info-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-promotions__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--background-color-light);
    padding: 80px 0;
}

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.page-promotions__faq-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-promotions__faq-item.active .page-promotions__faq-question {
    background-color: #f0fdf6; /* Light green for active question */
}

.page-promotions__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}