/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Text Main for overall content */
    background-color: #0D0E12; /* Background from custom colors */
    line-height: 1.6;
}

/* Ensure body padding-top is handled by shared.css */
/* .page-promotions should not add padding-top for header offset */

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

.page-promotions__section-title,
.page-promotions__main-title,
.page-promotions__card-title,
.page-promotions__step-title,
.page-promotions__term-title,
.page-promotions__cta-title {
    color: #FF8C1A; /* Main color for titles */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-promotions__description,
.page-promotions__text-block,
.page-promotions__card-text,
.page-promotions__step-item p,
.page-promotions__term-text,
.page-promotions__faq-answer p,
.page-promotions__cta-text {
    font-size: 1rem;
    color: #FFF3E6; /* Text Main for paragraphs */
    margin-bottom: 15px;
    text-align: justify;
}

.page-promotions__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Center align for intro paragraphs */
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: #0D0E12; /* Ensure background matches body */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

/* Buttons */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button gradient */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #FF8C1A; /* Border color */
}

.page-promotions__btn-secondary:hover {
    background-color: #FF8C1A;
    color: #0D0E12; /* Dark background color */
}

/* Sections */
.page-promotions__overview-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background from custom colors */
}

.page-promotions__promo-types-section,
.page-promotions__terms-section,
.page-promotions__cta-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG from custom colors for contrast */
}

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

.page-promotions__promo-card,
.page-promotions__term-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #A84F0C;
}

.page-promotions__card-title {
    font-size: 1.3rem;
    color: #FFB04D; /* Glow color for card titles */
    margin-bottom: 10px;
    flex-grow: 1; /* Push button to bottom */
}

.page-promotions__card-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* How to Claim Steps */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 30px auto 0;
}

.page-promotions__step-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.4rem;
    color: #FF8C1A; /* Main color */
    margin-bottom: 15px;
    text-align: left;
}

.page-promotions__step-item p {
    text-align: left;
}

/* Terms and Conditions */
.page-promotions__term-title {
    font-size: 1.3rem;
    color: #FFB04D; /* Glow color */
    margin-bottom: 10px;
    text-align: left;
}

.page-promotions__term-item {
    text-align: left;
}

/* FAQ Section */
.page-promotions__faq-list {
    max-width: 900px;
    margin: 30px auto 0;
}

.page-promotions__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* For smooth transition */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #FF8C1A; /* Main color */
    background-color: #17191F; /* Card BG */
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.1); /* Slight hover effect */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #FFB04D; /* Glow color */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom-color: #A84F0C; /* Border color */
}

.page-promotions__faq-answer {
    padding: 0 25px 18px;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    text-align: left;
}

/* CTA Section */
.page-promotions__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #0D0E12; /* Background from custom colors */
}

.page-promotions__cta-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid #A84F0C; /* Border color */
}

.page-promotions__cta-title {
    color: #FF8C1A; /* Main color */
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
}

.page-promotions__cta-text {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Links within text */
.page-promotions__text-link {
    color: #FFA53A; /* Aux color for text links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-promotions__text-link:hover {
    color: #FFB04D; /* Glow color on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px; /* Add padding for mobile */
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-promotions__section-title,
    .page-promotions__cta-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-promotions__description,
    .page-promotions__text-block,
    .page-promotions__card-text,
    .page-promotions__step-item p,
    .page-promotions__term-text,
    .page-promotions__faq-answer p,
    .page-promotions__cta-text {
        font-size: 0.95rem;
    }

    .page-promotions__hero-section {
        padding: 10px 0 40px;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-promotions__cta-button {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .page-promotions__promo-grid,
    .page-promotions__terms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-card,
    .page-promotions__term-item,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        padding: 20px;
    }

    .page-promotions__promo-image {
        height: 180px;
    }

    .page-promotions__card-title,
    .page-promotions__step-title,
    .page-promotions__term-title {
        font-size: 1.2rem;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__promo-types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }

    .page-promotions__video-section { /* Added for general video section, though not used on this page */
        padding-top: 10px !important; 
    }

    /* Button specific mobile rules */
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex for wrapping buttons */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
    .page-promotions__promo-card .page-promotions__cta-button {
        width: auto !important; /* Allow buttons in cards to be auto width if not full container */
        max-width: none !important;
        margin-left: auto;
        margin-right: auto;
    }
}