/* style/promotions.css */
.page-promotions {
    color: var(--Text-Main); /* #F3F8FF for dark body background */
    background-color: var(--Deep-Navy); /* From shared.css */
}

.page-promotions__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
    padding-top: 10px; /* Rely on body padding for header offset */
    padding-bottom: 60px;
    background-color: var(--Deep-Navy);
}

.page-promotions__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-promotions__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: var(--Text-Main);
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--Text-Main);
}

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

.page-promotions__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background: #ffffff;
    color: var(--primary-color, #113B7A);
    border: 2px solid var(--primary-color, #113B7A);
}

.page-promotions__btn-secondary:hover {
    background: var(--primary-color, #113B7A);
    color: #ffffff;
}

.page-promotions__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-promotions__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Current Promotions Section */
.page-promotions__current-promos-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
    color: var(--Text-Main);
}

.page-promotions__dark-section {
    background-color: var(--primary-color, #113B7A);
    color: var(--Text-Main);
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: inherit;
}

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

.page-promotions__promo-card {
    background-color: var(--Card-BG, #10233F);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--Text-Main);
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__promo-content {
    padding: 25px;
}

.page-promotions__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--Text-Main);
}

.page-promotions__promo-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--Text-Secondary);
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: normal;
    word-wrap: break-word;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
    color: var(--Text-Main);
}

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

.page-promotions__step-item {
    text-align: center;
    background-color: var(--Card-BG, #10233F);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--Text-Main);
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 5px rgba(79, 168, 255, 0.3);
}

.page-promotions__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--Text-Main);
}

.page-promotions__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--Text-Secondary);
}

.page-promotions__cta-center {
    text-align: center;
}

.page-promotions__btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    white-space: normal;
    word-wrap: break-word;
}

/* Terms & Conditions Section */
.page-promotions__terms-section {
    padding: 60px 0;
    background-color: var(--Divider, #1B3357);
    color: var(--Text-Main);
}

.page-promotions__text-block {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--Text-Secondary);
}

.page-promotions__terms-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 40px;
    color: var(--Text-Secondary);
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: var(--Deep-Navy);
    color: var(--Text-Main);
}

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

.page-promotions__faq-item {
    background-color: var(--Card-BG, #10233F);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--Text-Main);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* For details/summary */
    color: var(--Text-Main);
}

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

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

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 15px;
    color: var(--Glow, #4FA8FF);
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--Text-Secondary);
}

/* General Image Styling */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-promotions__hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-promotions__hero-content,
    .page-promotions__hero-image {
        flex: 1 1 100%;
    }
    .page-promotions__cta-buttons {
        justify-content: center;
    }
    .page-promotions__promo-image {
        height: 200px; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 30px 15px;
    }
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Ensure minimal top padding */
        padding-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-promotions__intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    .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__hero-image img,
    .page-promotions__promo-image,
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__current-promos-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__faq-section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-card {
        padding: 0;
        border-radius: 8px;
    }
    .page-promotions__promo-image {
        height: 180px; /* Further adjust for mobile */
    }
    .page-promotions__promo-content {
        padding: 20px;
    }
    .page-promotions__promo-title {
        font-size: 1.2rem;
    }
    .page-promotions__promo-description {
        font-size: 0.9rem;
    }
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__step-item {
        padding: 25px;
    }
    .page-promotions__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .page-promotions__step-title {
        font-size: 1.3rem;
    }
    .page-promotions__text-block,
    .page-promotions__terms-list li,
    .page-promotions__faq-answer p {
        font-size: 0.9rem;
    }
    .page-promotions__terms-list {
        margin-left: 20px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
    }
    .page-promotions__cta-center {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}