.page-promotions {
    font-family: Arial, sans-serif;
    color: #404040; /* Font color */
    background-color: #F3F3F3; /* Background color */
    line-height: 1.6;
}

/* Fixed Header Spacing */
.page-promotions__hero-section {
    padding-top: var(--header-offset, 120px); /* Default for desktop, adjusted by shared.css */
}

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

.page-promotions__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #025BE8; /* Auxiliary color for titles */
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-promotions__section-intro {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #404040;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
    background: #FFFFFF; /* Main color as background */
    padding-bottom: 40px; /* Adjust padding bottom */
}

.page-promotions__hero-image-container {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
}

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

.page-promotions__hero-content-area {
    position: relative; /* Ensure content is above image if z-index is used, but it's below due to flex-direction: column */
    padding: 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px; /* Space between image and text */
}

.page-promotions__main-title {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 900;
    margin-bottom: 15px;
    color: #025BE8; /* Auxiliary color */
    line-height: 1.1;
    letter-spacing: -1px;
}

.page-promotions__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #404040;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit width for larger screens */
    margin: 0 auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small,
.page-promotions__btn-tertiary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__btn-primary {
    background-color: #1266EC; /* Register color */
    color: #ffffff;
    border: 2px solid #1266EC;
}

.page-promotions__btn-primary:hover {
    background-color: #0c57c4;
    border-color: #0c57c4;
}

.page-promotions__btn-secondary {
    background-color: #E5EEFD; /* Login color */
    color: #025BE8;
    border: 2px solid #E5EEFD;
}

.page-promotions__btn-secondary:hover {
    background-color: #d1e0fc;
    border-color: #d1e0fc;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    background-color: #025BE8; /* Auxiliary color */
    color: #ffffff;
    border: 2px solid #025BE8;
    margin-top: 15px;
}

.page-promotions__btn-small:hover {
    background-color: #014ac2;
    border-color: #014ac2;
}

.page-promotions__btn-tertiary {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 6px;
    background-color: transparent;
    color: #025BE8;
    border: 2px solid #025BE8;
    margin-top: 20px;
}

.page-promotions__btn-tertiary:hover {
    background-color: #025BE8;
    color: #ffffff;
}

/* Promotion Grid */
.page-promotions__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: #025BE8;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-promotions__promo-description {
    font-size: 16px;
    color: #404040;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1; /* Allow description to take up available space */
}

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

.page-promotions__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-promotions__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px; /* Placeholder for icon */
    color: #025BE8;
    background-color: #E5EEFD;
    border-radius: 50%;
}
.page-promotions__step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-promotions__step-title {
    font-size: 22px;
    font-weight: bold;
    color: #025BE8;
    margin-bottom: 15px;
}

.page-promotions__step-description {
    font-size: 16px;
    color: #404040;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-promotions__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions__game-title {
    font-size: 22px;
    font-weight: bold;
    color: #025BE8;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-promotions__game-title a {
    color: #025BE8;
    text-decoration: none;
}

.page-promotions__game-title a:hover {
    text-decoration: underline;
}

.page-promotions__game-description {
    font-size: 16px;
    color: #404040;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

/* Responsible Gaming Section */
.page-promotions__responsible-gaming {
    background-color: #E5EEFD; /* Login color as a light background */
    padding: 80px 20px;
    text-align: center;
}

.page-promotions__responsible-gaming .page-promotions__section-title {
    color: #025BE8;
}

.page-promotions__info-block {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions__info-title {
    font-size: 22px;
    font-weight: bold;
    color: #025BE8;
    margin-bottom: 15px;
}

.page-promotions__info-text {
    font-size: 16px;
    color: #404040;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-promotions__faq {
    padding-bottom: 80px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    border-top: 1px solid #e0e0e0;
}

.page-promotions__faq-item {
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #025BE8;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #E5EEFD;
}

.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #025BE8;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 16px;
    color: #404040;
    background-color: #ffffff;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px 25px;
}

.page-promotions__faq-answer p {
    margin-bottom: 15px;
}

.page-promotions__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-promotions__cta-final {
    background-color: #025BE8; /* Auxiliary color as background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-promotions__cta-final .page-promotions__section-title,
.page-promotions__cta-final .page-promotions__section-intro {
    color: #ffffff;
}

.page-promotions__cta-final .page-promotions__btn-primary {
    background-color: #ffffff;
    color: #1266EC;
    border-color: #ffffff;
}

.page-promotions__cta-final .page-promotions__btn-primary:hover {
    background-color: #f0f0f0;
    color: #1266EC;
    border-color: #f0f0f0;
}

.page-promotions__cta-final .page-promotions__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-promotions__cta-final .page-promotions__btn-secondary:hover {
    background-color: #ffffff;
    color: #025BE8;
    border-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-height: 400px;
    }
    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(24px, 5vw, 36px);
    }
    .page-promotions__main-title {
        font-size: clamp(28px, 6vw, 45px);
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile: controlled by shared.css */
        padding-bottom: 20px;
    }
    .page-promotions__section {
        padding: 30px 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(26px, 7vw, 38px);
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-small,
    .page-promotions__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__promotion-grid,
    .page-promotions__steps-container,
    .page-promotions__game-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__game-card,
    .page-promotions__info-block,
    .page-promotions__faq-item {
        margin-left: 15px;
        margin-right: 15px;
        max-width: calc(100% - 30px); /* Account for padding */
        width: auto;
    }
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container { /* Generic containers, added for safety */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-image {
        max-height: 250px;
    }
    .page-promotions__main-title {
        font-size: clamp(24px, 8vw, 32px);
    }
    .page-promotions__section-title {
        font-size: clamp(22px, 7vw, 30px);
    }
    .page-promotions__hero-description {
        font-size: 16px;
    }
}

/* Ensure content area images meet minimum size requirements for desktop */
.page-promotions__promo-image,
.page-promotions__game-image {
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__step-icon img {
    min-width: 200px; /* Icons are exceptions, but ensure they don't break layout */
    min-height: 200px;
}