/* style/promotions.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1a1a1a;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Light text on dark body background */
    background-color: var(--bg-dark);
    line-height: 1.6;
}

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

.page-promotions__section-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
    padding-bottom: 60px;
    background-color: var(--bg-dark);
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.8);
}

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

.page-promotions__main-title {
    font-size: 58px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.page-promotions__hero-description {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Promotions Overview Section */
.page-promotions__overview-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

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

.page-promotions__promotion-card {
    background: var(--card-bg-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-promotions__card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
}

.page-promotions__card-button:hover {
    background: darken(var(--secondary-color), 10%);
}

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

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

.page-promotions__step-item {
    background: var(--card-bg-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
}

.page-promotions__step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-icon img {
    
    
    object-fit: contain;
    filter: brightness(0.2); /* Ensure icon visibility on gold background */
    min- /* Enforce min size */
    min- /* Enforce min size */
}

.page-promotions__step-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__step-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.page-promotions__final-cta {
    text-align: center;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--card-bg-dark);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-promotions__faq-toggle {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Change to X when active */
    color: var(--secondary-color);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color-dark);
}

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

.page-promotions__terms-list {
    list-style: disc;
    max-width: 800px;
    margin: 0 auto 40px;
    padding-left: 40px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

.page-promotions__terms-cta {
    text-align: center;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 48px;
    }
    .page-promotions__hero-description {
        font-size: 20px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__section-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 30px 15px;
    }
    .page-promotions__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: 38px;
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .page-promotions__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__overview-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section,
    .page-promotions__terms-section,
    .page-promotions__final-cta-section {
        padding: 50px 0;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-promotions__promotions-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        padding: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 20px;
    }
    .page-promotions__card-text {
        font-size: 15px;
    }
    .page-promotions__step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .page-promotions__step-icon img {
        
        
        min- /* Enforce min size */
        min- /* Enforce min size */
    }
    .page-promotions__step-title {
        font-size: 18px;
    }
    .page-promotions__faq-question {
        padding: 18px 20px;
    }
    .page-promotions__faq-question h3 {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 26px;
        width: 26px;
        height: 26px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px;
        font-size: 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px 20px !important;
    }
    .page-promotions__terms-list {
        font-size: 15px;
        padding-left: 25px;
    }
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-promotions__hero-image-wrapper,
    .page-promotions__container,
    .page-promotions__hero-content,
    .page-promotions__promotions-grid,
    .page-promotions__promotion-card,
    .page-promotions__steps-grid,
    .page-promotions__step-item,
    .page-promotions__faq-list,
    .page-promotions__faq-item,
    .page-promotions__terms-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}