/* style/promotions.css */
.page-promotions {
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Default text color for the page, suitable for dark body background */
    background-color: var(--bg-color);
}

.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;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more at bottom */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative; /* Ensure it's part of the flow */
    z-index: 1;
    max-height: 700px; /* Limit height for hero image */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    margin-top: 40px; /* Space between image and content */
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-promotions__description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
    background: var(--card-bg-color);
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-promotions__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--card-bg-color);
    transform: translateY(-2px);
}

.page-promotions__btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
}

.page-promotions__btn-small:hover {
    opacity: 0.9;
}

.page-promotions__overview-section,
.page-promotions__claim-guide-section,
.page-promotions__cta-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

.page-promotions__types-section,
.page-promotions__faq-section {
    background-color: var(--card-bg-color);
    padding: 60px 0;
}

.page-promotions__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary-color);
    margin-bottom: 25px;
    text-align: justify;
}

.page-promotions__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__card {
    background-color: var(--deep-green-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main-color);
}

.page-promotions__card-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__image-card {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

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

.page-promotions__step-item {
    background-color: var(--deep-green-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(42, 209, 111, 0.5);
}

.page-promotions__step-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-promotions__link-inline {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-promotions__link-inline:hover {
    color: var(--gold-color);
}

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

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

.page-promotions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--gold-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(--divider-color);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--glow-color);
}

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

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

.page-promotions__highlight {
    color: var(--glow-color);
    font-weight: bold;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: 2rem;
    }
    .page-promotions__card-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }
    .page-promotions__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    }
    .page-promotions__description {
        font-size: 1rem;
    }
    .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;
        padding: 12px 20px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__claim-guide-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-promotions__text-block {
        font-size: 0.95rem;
    }
    .page-promotions__card-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card,
    .page-promotions__step-item {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.25rem;
    }
    .page-promotions__card-text {
        font-size: 0.9rem;
    }
    .page-promotions__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }
    
    /* Image, video, and container responsive rules */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__claim-guide-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__claim-guide-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }
    .page-promotions__section-title {
        font-size: 1.5rem;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 15px !important;
    }
    .page-promotions__faq-item summary {
        font-size: 0.95rem;
    }
    .page-promotions__faq-answer {
        font-size: 0.9rem;
    }
}