/* style/promotions.css */

/* General Page Styles */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light text for dark backgrounds */
    background-color: #1A202C; /* Main dark background */
    line-height: 1.6;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold accent for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-promotions__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 60px;
    color: #CCCCCC;
}

.page-promotions__btn {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-promotions__btn:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-promotions__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
}

.page-promotions__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 10px 20px;
}

.page-promotions__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

/* Hero Section */
.page-promotions__hero-section {
    background: linear-gradient(135deg, #1A202C, #3d4a61);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-promotions__hero-description {
    font-size: 1.3em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-promotions__hero-image-wrapper {
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.page-promotions__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 80px 0;
    background-color: #2a3342;
}

.page-promotions__intro-section p {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Promotions List Section */
.page-promotions__list-section {
    padding: 80px 0;
    background-color: #1A202C;
}

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

.page-promotions__promotion-card {
    background-color: #2a3342;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #FFD700;
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 25px 15px 10px 15px;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #CCCCCC;
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-promotions__promotion-card .page-promotions__btn {
    margin: 0 15px 25px 15px;
    width: calc(100% - 30px);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #2a3342;
    text-align: center;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-promotions__steps-list li {
    background-color: #1A202C;
    border-left: 5px solid #FFD700;
    padding: 20px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #E0E0E0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__steps-list li strong {
    color: #FFD700;
    font-size: 1.2em;
    display: block;
    margin-bottom: 5px;
}

.page-promotions__steps-list li a {
    color: #FFD700;
    text-decoration: underline;
}

.page-promotions__guide-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Terms Section */
.page-promotions__terms-section {
    padding: 80px 0;
    background-color: #1A202C;
}

.page-promotions__terms-section p {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__terms-section a {
    color: #FFD700;
    text-decoration: underline;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-promotions__terms-list li {
    background-color: #2a3342;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-list li strong {
    color: #FFD700;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: #2a3342;
    text-align: center;
}

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

.page-promotions__feature-item {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
}

.page-promotions__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-promotions__feature-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions__feature-item p {
    color: #CCCCCC;
    font-size: 1em;
}

.page-promotions__final-cta {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-top: 60px;
}

.page-promotions__final-cta .page-promotions__btn {
    margin-top: 20px;
}

/* Floating Ad */
.page-promotions__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%); /* Start off-screen */
    animation: page-promotions-slideIn 0.8s forwards 2s; /* Slide in after 2s delay */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-promotions__floating-ad.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes page-promotions-slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.page-promotions__floating-ad-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-promotions__floating-ad-text {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #1A202C;
}

.page-promotions__btn--float {
    padding: 10px 20px;
    font-size: 0.9em;
    white-space: nowrap;
    background-color: #1A202C;
    color: #FFD700;
}

.page-promotions__btn--float:hover {
    background-color: #3d4a61;
    color: #FFD700;
}

.page-promotions__close-float-ad {
    background: none;
    border: none;
    color: #1A202C;
    font-size: 1.8em;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
    padding: 0;
    transition: color 0.3s ease;
}

.page-promotions__close-float-ad:hover {
    color: #3d4a61;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-promotions__floating-ad {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .page-promotions__floating-ad-content {
        flex-direction: column;
        gap: 10px;
    }

    .page-promotions__floating-ad-text {
        font-size: 1em;
    }

    .page-promotions__btn--float {
        width: 100%;
    }

    .page-promotions__close-float-ad {
        position: absolute;
        top: 5px;
        right: 5px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 80px 0;
    }

    .page-promotions__hero-title {
        font-size: 2.2em;
    }

    .page-promotions__hero-description {
        font-size: 1em;
    }

    .page-promotions__section-title {
        font-size: 1.8em;
    }

    .page-promotions__section-subtitle {
        font-size: 1em;
    }

    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__steps-list {
        max-width: 100%;
    }

    .page-promotions__features-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__floating-ad {
        bottom: 5px;
        right: 5px;
        left: 5px;
    }
}