/* style/promotions.css */

/* Base styling for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* White background */
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-promotions__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444444;
    text-align: justify;
}

/* Hero Section */
.page-promotions__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #E0E0E0;
}

.page-promotions__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-promotions__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-promotions__button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-promotions__button--register:hover {
    background-color: #F0F0F0;
    color: #000000;
}

.page-promotions__button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-promotions__button--login:hover {
    background-color: #E0A83A;
    color: #000000;
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Slightly transparent to let text stand out */
}

/* About Section */
.page-promotions__about-section {
    padding: 60px 0;
    background-color: #F8F8F8;
}

/* Types Section */
.page-promotions__types-section {
    padding: 60px 0;
}

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

.page-promotions__promo-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__promo-card-image {
    width: 100%; /* Ensures image fills card width */
    height: 200px; /* Fixed height for consistency, object-fit will handle aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-promotions__promo-card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-card-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 25px;
}

.page-promotions__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-promotions__button--small:hover {
    background-color: #333333;
    border-color: #333333;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 60px 0;
    background-color: #F0F0F0;
}

.page-promotions__claim-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__claim-step {
    background-color: #FFFFFF;
    border-left: 5px solid #000000;
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-promotions__claim-step-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__claim-step-description {
    font-size: 1em;
    color: #555555;
}

.page-promotions__action-center {
    text-align: center;
    margin-top: 40px;
}

.page-promotions__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-promotions__button--large:hover {
    background-color: #E0A83A;
    border-color: #E0A83A;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 60px 0;
}

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

.page-promotions__advantage-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-promotions__advantage-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__advantage-description {
    font-size: 1em;
    color: #555555;
}

/* Detail Pages Section */
.page-promotions__detail-pages-section {
    padding: 60px 0;
    background-color: #F8F8F8;
}

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

.page-promotions__detail-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-promotions__detail-card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__detail-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__detail-card-title a:hover {
    color: #FCBC45;
}

.page-promotions__detail-card-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 25px;
}

/* Responsible Gaming Section */
.page-promotions__responsible-gaming-section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__button--outline {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-promotions__button--outline:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* CTA Section */
.page-promotions__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title {
    color: #FFFFFF;
}

.page-promotions__cta-section .page-promotions__text-content {
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-promotions__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-promotions__button--register-large {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-promotions__button--register-large:hover {
    background-color: #E0A83A;
    border-color: #E0A83A;
}

.page-promotions__button--explore {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-promotions__button--explore:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-promotions__hero-section {
        padding: 60px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-promotions__text-content {
        font-size: 1em;
    }
    .page-promotions__promo-grid,
    .page-promotions__advantages-list,
    .page-promotions__detail-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-card-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-promotions__claim-step {
        padding: 15px 20px;
    }
    .page-promotions__button--large,
    .page-promotions__button--register-large,
    .page-promotions__button--explore {
        width: 90%;
        max-width: 350px;
        font-size: 1.1em;
        padding: 15px 25px;
        margin: 0 auto;
    }
    .page-promotions__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    /* Important: Ensure all content images in mobile are responsive and not smaller than 200px */
    .page-promotions img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px; /* Enforce minimum size for content images */
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 0.95em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-promotions__promo-card-image {
        height: auto;
        min-height: 200px; /* Maintain minimum height */
    }
}