.page-promotions {
    color: #FFF6D6;
    background-color: #0A0A0A;
    font-family: Arial, sans-serif;
}

.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 40px;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for first section */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain hero image width */
    margin-bottom: 20px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.page-promotions__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-promotions__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

.page-promotions__promotions-grid-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-conditions-section,
.page-promotions__cta-bottom-section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__card-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 211, 107, 0.3);
    align-self: flex-start; /* Align button to start */
}

.page-promotions__card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 211, 107, 0.5);
}

.page-promotions__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-promotions__step-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-promotions__step-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 3px solid #FFD36B;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 54px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-promotions__step-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1rem;
    line-height: 1.6;
}

.page-promotions__terms-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-promotions__terms-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-promotions__terms-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

.page-promotions__cta-text {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 700px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: 2rem;
    }
    .page-promotions__card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 0 30px;
    }
    .page-promotions__hero-image-wrapper {
        max-width: 90%;
    }
    .page-promotions__hero-image {
        max-width: 100%; height: auto; /* CRITICAL: Prevent overflow */
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-promotions__description {
        font-size: 1rem;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-promotions__promotions-grid-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-conditions-section,
    .page-promotions__cta-bottom-section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card-image {
        height: auto; /* Adjust height for smaller screens */
        max-width: 100%; /* CRITICAL: Prevent overflow */
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
    .page-promotions__card-description {
        font-size: 0.95rem;
    }
    .page-promotions__card-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-promotions__steps {
        grid-template-columns: 1fr;
    }
    .page-promotions__step-title {
        font-size: 1.5rem;
    }
    .page-promotions__step-description {
        font-size: 0.95rem;
    }
    .page-promotions__terms-description,
    .page-promotions__cta-text {
        font-size: 1rem;
    }
    .page-promotions__terms-link {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Ensure all images within .page-promotions are responsive */
    .page-promotions img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-promotions__section-title {
        font-size: 1.6rem;
    }
    .page-promotions__step-number {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        line-height: 44px;
    }
}