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

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

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 10px;
}

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

.page-promotions__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--bcx88-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--bcx88-text-secondary);
    margin-bottom: 30px;
}

/* Common Section Styles */
.page-promotions__intro-section,
.page-promotions__terms-section,
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: var(--bcx88-card-bg);
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-promotions__featured-promotions,
.page-promotions__how-to-claim,
.page-promotions__conclusion-section {
    padding: 60px 0;
    margin-bottom: 30px;
}

.page-promotions__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--bcx88-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(17, 168, 78, 0.4);
}

.page-promotions__text-block {
    font-size: 1.1rem;
    color: var(--bcx88-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

/* CTA Buttons */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--bcx88-button-gradient);
    color: var(--bcx88-text-main);
    border: none;
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--bcx88-glow);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: var(--bcx88-primary);
    border: 2px solid var(--bcx88-primary);
    margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    color: var(--bcx88-glow);
    border-color: var(--bcx88-glow);
    transform: translateY(-3px);
}

.page-promotions__cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Promotion Grid */
.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background-color: var(--bcx88-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    border: 1px solid var(--bcx88-border);
}

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

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--bcx88-gold);
    margin: 20px 20px 10px;
    font-weight: 600;
}

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

.page-promotions__promo-card .page-promotions__cta-button {
    margin: 0 20px;
    text-align: center;
    background: var(--bcx88-button-gradient);
    color: var(--bcx88-text-main);
}

/* Terms & Conditions */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__terms-list li {
    background-color: var(--bcx88-deep-green);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: var(--bcx88-text-main);
    font-size: 1.05rem;
    border-left: 5px solid var(--bcx88-primary);
}

.page-promotions__terms-list li strong {
    color: var(--bcx88-gold);
}

/* How to Claim */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-bottom: 30px;
}

.page-promotions__steps-list li {
    counter-increment: step-counter;
    background-color: var(--bcx88-card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    color: var(--bcx88-text-main);
    font-size: 1.1rem;
    position: relative;
    border: 1px solid var(--bcx88-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-promotions__steps-list li::before {
    content: counter(step-counter);
    background-color: var(--bcx88-primary);
    color: var(--bcx88-text-main);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid var(--bcx88-background);
    box-shadow: 0 0 10px rgba(17, 168, 78, 0.6);
}

.page-promotions__steps-list li strong {
    color: var(--bcx88-gold);
    margin-left: 30px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 40px;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--bcx88-text-main);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
    background-color: var(--bcx88-primary);
    color: var(--bcx88-text-main);
}

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    color: var(--bcx88-text-main);
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--bcx88-text-secondary);
}

.page-promotions__faq-item summary {
    list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        height: 500px;
    }
    .page-promotions__hero-content {
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: 3rem;
    }
    .page-promotions__hero-description {
        font-size: 1.1rem;
    }
    .page-promotions__section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-image {
        height: 300px;
    }
    .page-promotions__main-title {
        font-size: 2.5rem;
    }
    .page-promotions__hero-description {
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
    }
    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-promotions__btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-card {
        padding-bottom: 15px;
    }
    .page-promotions__card-image {
        height: 200px;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
    .page-promotions__card-description {
        font-size: 0.95rem;
    }
    .page-promotions__terms-list li,
    .page-promotions__steps-list li {
        font-size: 1rem;
        padding: 15px;
    }
    .page-promotions__steps-list li::before {
        left: 5px;
        top: 15px;
        transform: none;
    }
    .page-promotions__steps-list li strong {
        margin-left: 20px;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }
    .page-promotions__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px;
    }

    /* Mobile specific 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__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;
    }
    .page-promotions__cta-buttons-group {
        flex-direction: column !important;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }
}