/* style/index-latest-promotions.css */

:root {
    --page-index-latest-promotions-primary-color: #0A192F;
    --page-index-latest-promotions-secondary-color: #FFD700;
    --page-index-latest-promotions-text-light: #FFFFFF;
    --page-index-latest-promotions-text-dark: #0A192F;
    --page-index-latest-promotions-bg-dark: #0A192F;
    --page-index-latest-promotions-bg-light: #F0F2F5;
    --page-index-latest-promotions-accent-dark: #B39700; /* Darker shade of gold for text on gold bg */
    --page-index-latest-promotions-accent-light: #545e6d; /* Lighter shade of dark blue for text on dark blue bg */
    --page-index-latest-promotions-card-bg: #1A2E47;
    --page-index-latest-promotions-border-color: rgba(255, 215, 0, 0.3);
}

.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--page-index-latest-promotions-text-light);
    background-color: var(--page-index-latest-promotions-bg-dark);
    line-height: 1.6;
}

.page-index-latest-promotions h1,
.page-index-latest-promotions h2,
.page-index-latest-promotions h3 {
    color: var(--page-index-latest-promotions-secondary-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-index-latest-promotions h1 {
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions h2 {
    font-size: 2.5em;
    padding-top: 40px;
    border-bottom: 2px solid var(--page-index-latest-promotions-border-color);
    padding-bottom: 10px;
    margin-top: 60px;
}

.page-index-latest-promotions h3 {
    font-size: 1.8em;
    color: var(--page-index-latest-promotions-text-light);
}

.page-index-latest-promotions p {
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-index-latest-promotions__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--page-index-latest-promotions-primary-color) 0%, #1a3a60 100%);
    text-align: center;
    gap: 40px;
}

.page-index-latest-promotions__hero-content {
    max-width: 900px;
}

.page-index-latest-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #C0C0C0;
}

.page-index-latest-promotions__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-latest-promotions__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-latest-promotions__btn--primary {
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-text-dark);
}

.page-index-latest-promotions__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__btn--secondary {
    background-color: transparent;
    color: var(--page-index-latest-promotions-secondary-color);
    border: 2px solid var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__btn--secondary:hover {
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__btn--claim {
    background-color: var(--page-index-latest-promotions-secondary-color);
    color: var(--page-index-latest-promotions-text-dark);
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    margin-top: 15px;
}

.page-index-latest-promotions__btn--claim:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
}

.page-index-latest-promotions__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-index-latest-promotions__promotions-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.page-index-latest-promotions__section-subtitle {
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #B0B0B0;
}

.page-index-latest-promotions__promo-card {
    background-color: var(--page-index-latest-promotions-card-bg);
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--page-index-latest-promotions-border-color);
}

.page-index-latest-promotions__promo-content {
    padding: 30px;
    text-align: left;
}

.page-index-latest-promotions__promo-title {
    color: var(--page-index-latest-promotions-secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
    font-size: 1.6em;
}

.page-index-latest-promotions__promo-description {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 20px;
}

.page-index-latest-promotions__promo-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-index-latest-promotions__promo-features li {
    color: #E0E0E0;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95em;
}

.page-index-latest-promotions__promo-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-index-latest-promotions-secondary-color);
}

.page-index-latest-promotions__why-8ket {
    background-color: #1A2E47;
    padding: 80px 20px;
    text-align: center;
}

.page-index-latest-promotions__why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.page-index-latest-promotions__why-item {
    background-color: var(--page-index-latest-promotions-primary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-latest-promotions__why-item:hover {
    transform: translateY(-5px);
}

.page-index-latest-promotions__why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-index-latest-promotions-secondary-color));
}

.page-index-latest-promotions__why-title {
    color: var(--page-index-latest-promotions-secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-index-latest-promotions__why-description {
    color: #C0C0C0;
    font-size: 0.95em;
}

.page-index-latest-promotions__faq {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.page-index-latest-promotions__faq-item {
    background-color: var(--page-index-latest-promotions-card-bg);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__faq-question {
    color: var(--page-index-latest-promotions-secondary-color);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.page-index-latest-promotions__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-index-latest-promotions-secondary-color);
    transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-question::after {
    transform: rotate(45deg);
}

.page-index-latest-promotions__faq-answer {
    color: #E0E0E0;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 15px;
    text-align: left;
}

.page-index-latest-promotions__faq-item.active .page-index-latest-promotions__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

.page-index-latest-promotions__cta-bottom {
    background: linear-gradient(90deg, var(--page-index-latest-promotions-primary-color), #2a4f78);
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-index-latest-promotions__cta-title {
    color: var(--page-index-latest-promotions-secondary-color);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-index-latest-promotions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #C0C0C0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-index-latest-promotions__hero {
        flex-direction: row;
        text-align: left;
        padding: 100px 40px;
    }

    .page-index-latest-promotions__hero-content {
        text-align: left;
        margin-right: 40px;
    }

    .page-index-latest-promotions__hero-actions {
        justify-content: flex-start;
    }

    .page-index-latest-promotions__hero-image-wrapper {
        margin-top: 0;
    }

    .page-index-latest-promotions__promotions-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .page-index-latest-promotions__promo-card {
        flex-direction: row;
        text-align: left;
    }

    .page-index-latest-promotions__promo-image {
        width: 40%;
        height: auto;
        border-bottom: none;
        border-right: 1px solid var(--page-index-latest-promotions-border-color);
    }

    .page-index-latest-promotions__promo-content {
        flex: 1;
    }

    .page-index-latest-promotions h1 {
        font-size: 4em;
    }

    .page-index-latest-promotions h2 {
        font-size: 3em;
    }

    .page-index-latest-promotions__cta-title {
        font-size: 3.5em;
    }
}

@media (max-width: 767px) {
    .page-index-latest-promotions h1 {
        font-size: 2.5em;
    }

    .page-index-latest-promotions h2 {
        font-size: 2em;
    }

    .page-index-latest-promotions__hero-description {
        font-size: 1.1em;
    }

    .page-index-latest-promotions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-latest-promotions__promo-image {
        height: 200px;
    }

    .page-index-latest-promotions__cta-title {
        font-size: 2.2em;
    }
}