/* style/index-latest-promotions.css */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light grey for general text on dark background */
    background-color: #1A202C; /* Dark background */
    line-height: 1.6;
}

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

.page-index-latest-promotions__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%); /* Dark gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-promotions__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-latest-promotions__hero-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__hero-link:hover {
    text-decoration: underline;
}

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

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

.page-index-latest-promotions__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A202C;
}

.page-index-latest-promotions__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-promotions__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-top: 20px;
}

.page-index-latest-promotions__button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-latest-promotions__button--tertiary {
    background-color: #3a475a;
    color: #FFD700;
    border: 2px solid #3a475a;
    margin-left: 20px;
}

.page-index-latest-promotions__button--tertiary:hover {
    background-color: #4a5d77;
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 32, 44, 0.4);
}

.page-index-latest-promotions__button-link {
    color: inherit;
    text-decoration: none;
}

.page-index-latest-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
}

.page-index-latest-promotions__section-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__section-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__featured-promos,
.page-index-latest-promotions__promo-categories,
.page-index-latest-promotions__how-to-claim,
.page-index-latest-promotions__why-bay789,
.page-index-latest-promotions__faq,
.page-index-latest-promotions__cta {
    padding: 60px 0;
    background-color: #1A202C;
}

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

.page-index-latest-promotions__promo-card,
.page-index-latest-promotions__category-card,
.page-index-latest-promotions__benefit-card,
.page-index-latest-promotions__step-card {
    background-color: #2D3748; /* Slightly lighter dark grey */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-latest-promotions__promo-card:hover,
.page-index-latest-promotions__category-card:hover,
.page-index-latest-promotions__benefit-card:hover,
.page-index-latest-promotions__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-latest-promotions__promo-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index-latest-promotions__promo-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__promo-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__promo-text {
    color: #CBD5E0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-index-latest-promotions__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-index-latest-promotions__category-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-latest-promotions__category-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__category-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__category-text {
    color: #CBD5E0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-latest-promotions__step-card {
    background-color: #2D3748;
    border: 1px solid #FFD700;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.page-index-latest-promotions__step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 3em;
    font-weight: bold;
    color: rgba(255, 215, 0, 0.1);
    z-index: 0;
}

.page-index-latest-promotions__step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-index-latest-promotions__step-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__step-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__step-text {
    color: #CBD5E0;
    position: relative;
    z-index: 1;
}

.page-index-latest-promotions__why-bay789 {
    background-color: #1A202C;
}

.page-index-latest-promotions__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-latest-promotions__benefit-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-latest-promotions__benefit-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__benefit-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__benefit-text {
    color: #CBD5E0;
}

.page-index-latest-promotions__faq {
    background-color: #2D3748;
}

.page-index-latest-promotions__accordion-item {
    margin-bottom: 15px;
    border: 1px solid #4A5568;
    border-radius: 8px;
    overflow: hidden;
}

.page-index-latest-promotions__accordion-header {
    background-color: #3a475a;
    color: #FFD700;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-index-latest-promotions__accordion-header:hover {
    background-color: #4a5d77;
}

.page-index-latest-promotions__accordion-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__accordion-link:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index-latest-promotions__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-latest-promotions__accordion-content {
    padding: 0 25px;
    background-color: #2D3748;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-latest-promotions__accordion-content p {
    color: #CBD5E0;
    padding: 15px 0;
    margin: 0;
}

.page-index-latest-promotions__accordion-content.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-index-latest-promotions__cta {
    background: linear-gradient(45deg, #1A202C, #2D3748); /* Dark gradient */
    text-align: center;
    padding: 80px 0;
    border-top: 5px solid #FFD700;
}

.page-index-latest-promotions__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-index-latest-promotions__cta-link {
    color: #FFD700;
    text-decoration: none;
}

.page-index-latest-promotions__cta-link:hover {
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-latest-promotions__hero-title {
        font-size: 2.5em;
    }

    .page-index-latest-promotions__section-title,
    .page-index-latest-promotions__cta-title {
        font-size: 2em;
    }

    .page-index-latest-promotions__promo-grid,
    .page-index-latest-promotions__category-grid,
    .page-index-latest-promotions__benefits-grid,
    .page-index-latest-promotions__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-index-latest-promotions__button--tertiary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__hero {
        padding: 80px 0;
    }

    .page-index-latest-promotions__hero-title {
        font-size: 2em;
    }

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

    .page-index-latest-promotions__button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-latest-promotions__section-title,
    .page-index-latest-promotions__cta-title {
        font-size: 1.8em;
    }

    .page-index-latest-promotions__promo-card,
    .page-index-latest-promotions__category-card,
    .page-index-latest-promotions__benefit-card,
    .page-index-latest-promotions__step-card {
        padding: 20px;
    }

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

    .page-index-latest-promotions__promo-title {
        font-size: 1.5em;
    }

    .page-index-latest-promotions__category-title {
        font-size: 1.4em;
    }

    .page-index-latest-promotions__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-index-latest-promotions__accordion-content p {
        padding: 10px 0;
    }

    .page-index-latest-promotions__cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions__hero-title {
        font-size: 1.8em;
    }

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

    .page-index-latest-promotions__button {
        width: 100%;
        margin-bottom: 10px;
    }

    .page-index-latest-promotions__button--tertiary {
        margin-left: 0;
    }

    .page-index-latest-promotions__section-title,
    .page-index-latest-promotions__cta-title {
        font-size: 1.5em;
    }

    .page-index-latest-promotions__promo-grid,
    .page-index-latest-promotions__category-grid,
    .page-index-latest-promotions__benefits-grid,
    .page-index-latest-promotions__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-index-latest-promotions__step-number {
        font-size: 2.5em;
    }
}