/* style/promotions.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

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

.page-promotions__hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a03030 100%);
    color: var(--text-light);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: rotate(45deg);
}

.page-promotions__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transform: rotate(-45deg);
}

.page-promotions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

.page-promotions__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

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

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

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    padding-top: 60px;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555;
}

.page-promotions__current-offers,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions,
.page-promotions__vip-program,
.page-promotions__why-choose {
    padding: 80px 0;
}

.page-promotions__current-offers {
    background-color: #fcfcfc;
}

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

.page-promotions__offer-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__offer-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.page-promotions__offer-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-promotions__offer-excerpt {
    font-size: 1em;
    color: #666;
    padding: 0 20px;
    margin-bottom: 25px;
}

.page-promotions__card-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-promotions__how-to-claim {
    background-color: var(--bg-light);
}

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

.page-promotions__step-item {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-top: 5px solid var(--secondary-color);
}

.page-promotions__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--text-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-text {
    color: #666;
    margin-bottom: 25px;
}

.page-promotions__step-link {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-promotions__terms-conditions {
    background-color: #fcfcfc;
}

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

.page-promotions__terms-item {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__terms-item::before {
    content: '✓';
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 15px;
}

.page-promotions__vip-program {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a03030 100%);
    color: var(--text-light);
}

.page-promotions__vip-program .page-promotions__section-title {
    color: var(--primary-color);
}

.page-promotions__vip-program .page-promotions__section-description {
    color: rgba(255, 255, 255, 0.9);
}

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

.page-promotions__vip-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions__vip-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-promotions__vip-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold shadow */
}

.page-promotions__vip-feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions__vip-feature-text {
    color: rgba(255, 255, 255, 0.8);
}

.page-promotions__why-choose {
    background-color: var(--bg-light);
}

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

.page-promotions__advantage-item {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__advantage-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.page-promotions__advantage-title::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-promotions__advantage-item p {
    color: #666;
}

.page-promotions__bottom-cta {
    text-align: center;
    margin-top: 80px;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-promotions__bottom-cta-text {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__offer-image {
        height: 180px;
    }
    .page-promotions__cta-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 80px 15px 60px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-promotions__main-title {
        font-size: 2.2em;
    }
    .page-promotions__description {
        font-size: 1em;
    }
    .page-promotions__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promotions__current-offers,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions,
    .page-promotions__vip-program,
    .page-promotions__why-choose {
        padding: 50px 0;
    }
    .page-promotions__offer-grid,
    .page-promotions__steps-grid,
    .page-promotions__vip-features-grid,
    .page-promotions__advantages-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__offer-image {
        height: 160px;
    }
    .page-promotions__offer-title,
    .page-promotions__step-title,
    .page-promotions__vip-feature-title,
    .page-promotions__advantage-title {
        font-size: 1.4em;
    }
    .page-promotions__step-item {
        padding: 30px 20px;
    }
    .page-promotions__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -22px;
    }
    .page-promotions__terms-list {
        margin: 30px auto;
        font-size: 1em;
    }
    .page-promotions__terms-item {
        padding: 15px 20px;
        margin-bottom: 10px;
    }
    .page-promotions__vip-icon {
        width: 60px;
        height: 60px;
    }
    .page-promotions__bottom-cta {
        margin-top: 50px;
        padding: 30px 20px;
    }
    .page-promotions__bottom-cta-text {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    /* Ensure images and videos are responsive and do not overflow */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__container,
    .page-promotions__current-offers .page-promotions__container,
    .page-promotions__how-to-claim .page-promotions__container,
    .page-promotions__terms-conditions .page-promotions__container,
    .page-promotions__vip-program .page-promotions__container,
    .page-promotions__why-choose .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-promotions__offer-card,
    .page-promotions__step-item,
    .page-promotions__vip-feature-card,
    .page-promotions__advantage-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-promotions__offer-title,
    .page-promotions__step-title,
    .page-promotions__vip-feature-title,
    .page-promotions__advantage-title {
        font-size: 1.2em;
    }
    .page-promotions__offer-image {
        height: 140px;
    }
}

/* SCSS functions for darken/lighten not directly supported in plain CSS, using static colors */
/* Example of how to handle darken/lighten manually or with CSS variables */
/* .page-promotions__btn-primary:hover { background-color: #e6c200; } */
/* .page-promotions__card-link:hover { background-color: #e6c200; } */
/* .page-promotions__step-link:hover { background-color: #6e0000; } */