/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Main content background is transparent, relying on body's dark background */
}

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

.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #0a0a0a; /* Ensure hero section has a dark background */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Limit image width to maintain aspect ratio and prevent excessive size */
    margin-bottom: 30px;
}

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

.page-promotions__hero-content {
    max-width: 800px;
    color: #ffffff;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__intro-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-promotions__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-promotions__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
    background-color: #1e87b0;
    border-color: #1e87b0;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-promotions__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-promotions__overview-section,
.page-promotions__how-to-join-section,
.page-promotions__faq-section,
.page-promotions__cta-final-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Explicitly dark background for sections */
}

.page-promotions__types-section,
.page-promotions__tips-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__types-section .page-promotions__text-block,
.page-promotions__types-section .page-promotions__card-title,
.page-promotions__types-section .page-promotions__card-description,
.page-promotions__tips-section .page-promotions__section-title,
.page-promotions__tips-section .page-promotions__text-block,
.page-promotions__tips-section .page-promotions__list-highlight {
    color: #ffffff;
}

.page-promotions__light-bg {
    background-color: #ffffff; /* Light background for specific section */
    color: #333333; /* Dark text for light background */
}
.page-promotions__light-bg .page-promotions__section-title,
.page-promotions__light-bg .page-promotions__text-block,
.page-promotions__light-bg .page-promotions__list-highlight {
    color: #333333;
}


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

.page-promotions__promotion-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    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.3);
}

.page-promotions__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image behaves as a block element */
}

.page-promotions__card-title {
    font-size: 1.5rem;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-promotions__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-promotions__step-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-promotions__step-description {
    font-size: 1rem;
    color: #f0f0f0;
}

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

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: #333333;
}

.page-promotions__terms-list li {
    background-color: #f5f5f5;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.page-promotions__list-highlight {
    color: #26A9E0; /* Brand color for highlights */
}

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

.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-promotions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.05);
}

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

/* For details/summary, hide default marker */
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions__faq-item summary {
    list-style: none;
}


.page-promotions__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions__tips-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.page-promotions__tips-list li::before {
    content: '✓';
    color: #26A9E0;
    font-weight: 700;
    margin-right: 15px;
    font-size: 1.2rem;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding: 40px 20px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        flex-direction: column;
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }
    .page-promotions__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-promotions__hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-promotions__intro-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 400px; /* Limit button group width */
        margin: 20px auto 0 auto;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-promotions__overview-section,
    .page-promotions__how-to-join-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section,
    .page-promotions__types-section,
    .page-promotions__tips-section {
        padding: 40px 0;
    }

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

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

    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promotion-card {
        padding: 20px;
    }

    .page-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions__card-title {
        font-size: 1.3rem;
    }

    .page-promotions__card-description {
        font-size: 0.9rem;
    }

    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .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__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-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__terms-list li {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    .page-promotions__tips-list li {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}