/* style/promotions.css */

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

.page-promotions {
    background-color: var(--bbet-background); /* Custom background color */
    color: var(--bbet-text-main); /* Default text color for the page */
    font-family: 'Arial', sans-serif;
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.page-promotions__image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height of hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--bbet-text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-promotions__hero-description {
    font-size: 1.2rem;
    color: var(--bbet-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

.page-promotions__btn-primary {
    background: var(--bbet-button-gradient);
    color: var(--bbet-text-main);
    border: 2px solid transparent;
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: rgba(34, 199, 104, 0.1);
    color: var(--bbet-text-main);
}

.page-promotions__section {
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
}

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

.page-promotions__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--bbet-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--bbet-text-secondary);
}

.page-promotions__text-main-color {
    color: var(--bbet-text-main);
}

.page-promotions__text-secondary-color {
    color: var(--bbet-text-secondary);
}

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

.page-promotions__card,
.page-promotions__step-card,
.page-promotions__term-item,
.page-promotions__benefit-item {
    background-color: var(--bbet-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.page-promotions__card:hover,
.page-promotions__step-card:hover,
.page-promotions__term-item:hover,
.page-promotions__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image,
.page-promotions__step-image,
.page-promotions__benefit-icon {
    width: 100%;
    max-width: 400px; /* Max width for content images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-promotions__benefit-icon {
    max-width: 200px;
    margin-bottom: 15px;
}

.page-promotions__card-title,
.page-promotions__step-title,
.page-promotions__term-title,
.page-promotions__benefit-title {
    font-size: 1.5rem;
    color: var(--bbet-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-text,
.page-promotions__step-text,
.page-promotions__term-list li,
.page-promotions__benefit-text {
    font-size: 1rem;
    color: var(--bbet-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background: var(--bbet-button-gradient);
    color: var(--bbet-text-main);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-promotions__term-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 0;
}

.page-promotions__term-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--bbet-text-secondary);
}

.page-promotions__term-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bbet-green-secondary);
    font-weight: bold;
}

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

.page-promotions__faq-item {
    background-color: var(--bbet-card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--bbet-text-main);
    border-bottom: 1px solid var(--bbet-divider);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
    border-bottom: 1px solid var(--bbet-divider);
}

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

.page-promotions__faq-question::marker {
    display: none;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bbet-green-secondary);
    margin-left: 15px;
}

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bbet-text-secondary);
}

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

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-promotions__final-cta {
    padding-bottom: 80px;
}

/* --- Responsive Styles --- */

/* Tablet */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-promotions__hero-description {
        font-size: 1.1rem;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-promotions__text-block {
        font-size: 1rem;
    }

    .page-promotions__card-title,
    .page-promotions__step-title,
    .page-promotions__term-title,
    .page-promotions__benefit-title {
        font-size: 1.3rem;
    }

    .page-promotions__card-text,
    .page-promotions__step-text,
    .page-promotions__term-list li,
    .page-promotions__benefit-text {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

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

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .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 !important;
        padding-right: 15px !important;
    }

    .page-promotions__section {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-grid,
    .page-promotions__benefit-list {
        grid-template-columns: 1fr;
    }

    .page-promotions__card,
    .page-promotions__step-card,
    .page-promotions__term-item,
    .page-promotions__benefit-item {
        padding: 25px;
    }

    .page-promotions__card-image,
    .page-promotions__step-image,
    .page-promotions__benefit-icon,
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-promotions__card-title,
    .page-promotions__step-title,
    .page-promotions__term-title,
    .page-promotions__benefit-title {
        font-size: 1.2rem;
    }

    .page-promotions__card-text,
    .page-promotions__step-text,
    .page-promotions__term-list li,
    .page-promotions__benefit-text {
        font-size: 0.9rem;
    }

    .page-promotions__card-button {
        padding: 12px 15px;
        font-size: 0.9rem;
        width: 100%;
    }

    .page-promotions__term-list li {
        padding-left: 20px;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-promotions__cta-bottom {
        margin-top: 30px;
    }

    .page-promotions__final-cta {
        padding-bottom: 60px;
    }
}