/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main color on dark background */
    background-color: #0A0A0A; /* Background color */
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Fixed Header Spacing: body handles padding-top, first section uses small decorative padding */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small decorative top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #0A0A0A; /* Ensure consistent background */
}

.page-promotions__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-content {
    width: 100%;
    max-width: 900px; /* Constrain content width */
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: #F2C14E; /* Main color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
    border: none; /* Remove default border */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #FFF6D6; /* Text Main color */
}

.page-promotions__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    border: 2px solid #F2C14E; /* Main color as border */
    color: #F2C14E; /* Main color for text */
}

.page-promotions__btn-secondary:hover {
    background-color: #F2C14E;
    color: #0A0A0A; /* Dark text on main color background */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions__btn-text {
    color: #F2C14E; /* Main color for text links */
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.page-promotions__btn-text:hover {
    color: #FFD36B; /* Glow color on hover */
}

.page-promotions__section {
    padding: 60px 20px;
    background-color: #0A0A0A; /* Background color */
    text-align: center;
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2C14E; /* Main color */
    margin-bottom: 25px;
    font-weight: bold;
}

.page-promotions__section-intro {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main color */
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__card {
    background-color: #111111; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF6D6; /* Text Main color */
}

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

.page-promotions__feature-title,
.page-promotions__promo-title,
.page-promotions__step-title,
.page-promotions__promo-item-title,
.page-promotions__terms-subtitle,
.page-promotions__faq-question-title {
    font-size: 1.6rem;
    color: #FFD36B; /* Glow color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-subtitle {
    font-size: 1.2rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__feature-description,
.page-promotions__promo-description,
.page-promotions__step-description,
.page-promotions__promo-item-description,
.page-promotions__terms-description {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main color */
    margin-bottom: 15px;
}

.page-promotions__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-promotions__promo-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #FFF6D6; /* Text Main color */
}

.page-promotions__promo-list li::before {
    content: '⭐'; /* Star emoji for list items */
    position: absolute;
    left: 0;
    top: 0;
    color: #FFD36B;
}

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

.page-promotions__promo-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
}

.page-promotions__promo-details {
    flex-grow: 1; /* Allow details section to grow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: #111111; /* Card BG color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #111111; /* Card BG color */
    color: #F2C14E; /* Main color */
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #181818; /* Slightly lighter on hover */
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: #FFD36B; /* Glow color */
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Plus to X / Minus */
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #0A0A0A; /* Background color for answer */
    color: #FFF6D6; /* Text Main color */
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 30px;
}

.page-promotions__faq-answer p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #FFF6D6; /* Text Main color */
}

.page-promotions__cta-support {
    margin-top: 40px;
    padding: 20px;
    background-color: #111111; /* Card BG color */
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
}

.page-promotions__cta-support p {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main color */
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 800px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__hero-section {
        padding-bottom: 30px;
    }

    .page-promotions__hero-image {
        margin-bottom: 20px;
    }

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

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        width: 100%; /* Ensure container takes full width */
        max-width: 100%; /* Ensure container takes full width */
        box-sizing: border-box;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .page-promotions__section {
        padding: 40px 15px;
    }

    .page-promotions__container {
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .page-promotions__section-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-promotions__features-grid,
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__promo-cards-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__card {
        padding: 25px;
    }

    .page-promotions__feature-title,
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__promo-item-title,
    .page-promotions__terms-subtitle,
    .page-promotions__faq-question-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .page-promotions__promo-subtitle {
        font-size: 1.1rem;
    }

    .page-promotions__promo-image {
        height: 180px; /* Adjust height for mobile */
    }

    /* FAQ specific mobile adjustments */
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

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

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    
    /* Ensure all images are responsive on mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    /* All containers with images must also be responsive */
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-promotions__faq-question {
        font-size: 1rem;
    }
}