/* style/promotions.css */

:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions {
    color: var(--text-light); /* Body background is #000 (dark), so use light text */
    background-color: transparent; /* Inherit from body/shared, ensures text color is correct */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background-color: var(--primary-color);
    overflow: hidden;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    color: var(--text-light);
}

.page-promotions__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--text-light);
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-promotions__btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7); /* Allowed for background image to enhance text readability */
}

/* Section Titles */
.page-promotions__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-promotions__section-subtitle {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-light);
    line-height: 1.6;
}

/* Promotion Types Section */
.page-promotions__types-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-promotions__dark-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__dark-section .page-promotions__section-subtitle {
    color: var(--text-light);
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: var(--text-light);
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__promo-card-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions__promo-card-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #0d0d0d;
    color: var(--text-light);
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__how-to-claim-section .page-promotions__section-subtitle {
    color: var(--text-light);
}

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

.page-promotions__step-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__btn-text {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__btn-text:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Video Section */
.page-promotions__video-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 50px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__video-wrapper .page-promotions__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

/* Terms Overview Section */
.page-promotions__terms-overview-section {
    padding: 80px 0;
    background-color: #0d0d0d;
    color: var(--text-light);
}

.page-promotions__terms-overview-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__terms-overview-section .page-promotions__section-subtitle {
    color: var(--text-light);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-promotions__terms-item {
    background-color: var(--card-bg-dark);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-item::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

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

.page-promotions__faq-section .page-promotions__section-title {
    color: var(--secondary-color);
}

.page-promotions__faq-section .page-promotions__section-subtitle {
    color: var(--text-light);
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg-dark);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question-text {
    margin: 0;
    color: var(--secondary-color);
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px;
}

.page-promotions__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
    padding: 80px 0;
    background-color: #0d0d0d;
    text-align: center;
    color: var(--text-light);
}

.page-promotions__cta-bottom-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-promotions__cta-bottom-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Global Image/Video/Button Responsive */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-promotions video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-text {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }

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

@media (max-width: 768px) {
    .page-promotions__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }

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

    .page-promotions__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

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

    .page-promotions__section-subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-promotions__types-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__video-section,
    .page-promotions__terms-overview-section,
    .page-promotions__faq-section,
    .page-promotions__cta-bottom {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-promotions video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

    .page-promotions__promo-card-title {
        font-size: 1.4em;
    }

    .page-promotions__step-title {
        font-size: 1.2em;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 10px 20px;
    }

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

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-text {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promotions__promotion-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    
    .page-promotions__video-wrapper {
        margin: 30px auto 0 auto;
    }

    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-promotions__faq-list,
    .page-promotions__terms-list {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }

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

    .page-promotions__cta-bottom-title {
        font-size: 1.6em;
    }
}