/* style/promotions.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-dark: #08160F;
    --card-background: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions {
    background-color: var(--background-dark);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* body handles --header-offset */
    padding-bottom: 60px;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Adjust this value to bring content up, but not overlap the image visible area */
    background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.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-main);
    transform: translateY(-3px);
}

.page-promotions__section-title {
    color: var(--gold-color);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-promotions__intro-section,
.page-promotions__featured-promotions,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__faq-section,
.page-promotions__cta-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-promotions__text-block {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05em;
}

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

.page-promotions__promotion-card {
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-promotions__card-title {
    color: var(--gold-color);
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.4;
}

.page-promotions__card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    flex-grow: 1;
}

.page-promotions__video-section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--divider-color);
}

.page-promotions__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video container */
    margin: 0 auto 30px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

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

.page-promotions__video-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__step-item {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
    color: var(--gold-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-promotions__step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-promotions__claim-button {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-promotions__terms-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.page-promotions__faq-list {
    margin-top: 40px;
}

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

.page-promotions__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--deep-green-color);
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

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

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

.page-promotions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: '−';
}

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

.page-promotions__faq-answer p {
    margin: 0;
}

.page-promotions__final-cta-button {
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__hero-section {
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
    }
    .page-promotions__hero-content {
        padding: 25px 15px;
        margin-top: -80px; /* Adjust for mobile */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-promotions__main-title {
        font-size: 2em;
        max-width: 100%;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 1em;
        box-sizing: border-box !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions__intro-section,
    .page-promotions__featured-promotions,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__promotion-card,
    .page-promotions__step-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .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__video-section {
        padding-top: 10px !important;
    }
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions__final-cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }
}