/* style/promotions.css */
/* Base styles and variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --background-dark: #08160F;
    --card-background: #11271B;
    --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-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__dark-section {
    background-color: var(--card-background);
    color: var(--text-main-color);
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px;
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--deep-green-color);
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    color: var(--text-main-color);
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

/* Section Titles */
.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

/* Text Blocks */
.page-promotions__text-block {
    font-size: 1em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    text-align: left;
}

/* CTA Button */
.page-promotions__cta-button,
.page-promotions__card-button,
.page-promotions__button-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions__cta-button,
.page-promotions__card-button {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover,
.page-promotions__card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-promotions__button-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-promotions__button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Promo Grid */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.page-promotions__promo-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid var(--border-color);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-promotions__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin: 0 20px 10px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    margin: 0 20px;
    align-self: center;
}

/* Terms List */
.page-promotions__terms-list,
.page-promotions__why-list,
.page-promotions__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-promotions__terms-item,
.page-promotions__why-item,
.page-promotions__guide-item {
    background-color: rgba(17, 39, 27, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--text-main-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-item::before,
.page-promotions__why-item::before,
.page-promotions__guide-item::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.page-promotions__guide-step-title,
.page-promotions__why-item-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 10px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
    text-align: left;
}

.page-promotions__faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color);
}

.page-promotions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-main-color);
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
    background-color: var(--primary-color);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

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

.page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-promotions__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Bottom CTA */
.page-promotions__cta-bottom {
    padding: 80px 0;
    background: linear-gradient(90deg, var(--deep-green-color) 0%, var(--primary-color) 100%);
    color: var(--text-main-color);
}

.page-promotions__cta-content {
    max-width: 800px;
}

.page-promotions__cta-content .page-promotions__section-title {
    color: var(--text-main-color);
    text-shadow: none;
    margin-bottom: 20px;
}

.page-promotions__cta-content .page-promotions__text-block {
    color: var(--text-main-color);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions__promo-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__text-block {
        font-size: 0.95em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__card-description {
        font-size: 0.9em;
    }
    .page-promotions__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions__faq-toggle {
        font-size: 1.2em;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image, video, button adaptations */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
    .page-promotions__cta-button,
    .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-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px;
    }
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        flex-direction: column !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__section {
        padding: 30px 0;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }
}