/* style/index-latest-promotions.css */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: #e5d1bb; /* Light text for dark background */
    background-color: #1A2E44; /* Main background color */
}

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

.page-index-latest-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-latest-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for titles */
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-latest-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-index-latest-promotions__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e5d1bb; /* Ensure good contrast */
}

.page-index-latest-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-index-latest-promotions__btn--primary {
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

.page-index-latest-promotions__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-index-latest-promotions__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-latest-promotions__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
    transform: translateY(-2px);
}

.page-index-latest-promotions__btn--outline {
    background-color: transparent;
    color: #e5d1bb;
    border: 2px solid #e5d1bb;
}

.page-index-latest-promotions__btn--outline:hover {
    background-color: #e5d1bb;
    color: #1A2E44;
    transform: translateY(-2px);
}

.page-index-latest-promotions__btn--large {
    padding: 15px 35px;
    font-size: 1.3em;
}

/* Hero Section */
.page-index-latest-promotions__hero {
    background: linear-gradient(135deg, #1A2E44 0%, #3a506b 100%);
    color: #e5d1bb;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-latest-promotions__hero-content {
    max-width: 600px;
    text-align: left;
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.page-index-latest-promotions__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-latest-promotions__hero-subtitle {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-index-latest-promotions__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

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

/* Why NHATVIP Section */
.page-index-latest-promotions__why-nhatvip {
    background-color: #2a3d54;
}

.page-index-latest-promotions__flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-index-latest-promotions__image-col,
.page-index-latest-promotions__content-col {
    flex: 1;
    min-width: 300px;
}

.page-index-latest-promotions__feature-image,
.page-index-latest-promotions__process-image,
.page-index-latest-promotions__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-index-latest-promotions__feature-list li {
    margin-bottom: 25px;
}

.page-index-latest-promotions__feature-list li h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-index-latest-promotions__feature-list li h3 i {
    margin-right: 10px;
    color: #FFD700;
    font-size: 1.2em;
}

.page-index-latest-promotions__feature-list li p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Promo Types Section */
.page-index-latest-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-latest-promotions__promo-card {
    background-color: #1A2E44;
    border: 1px solid #3a506b;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-index-latest-promotions__promo-card-description {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Featured Promos Section */
.page-index-latest-promotions__featured-promos {
    background-color: #1A2E44;
}

.page-index-latest-promotions__promo-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: #2a3d54;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-index-latest-promotions__promo-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-index-latest-promotions__promo-item-image-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.page-index-latest-promotions__promo-item-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-index-latest-promotions__promo-item-content {
    flex: 2;
    min-width: 300px;
}

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

.page-index-latest-promotions__promo-item-description {
    color: #e5d1bb;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-index-latest-promotions__promo-item-details {
    color: #c0c0c0;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* How to Claim Section */
.page-index-latest-promotions__how-to-claim {
    background-color: #2a3d54;
}

.page-index-latest-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-index-latest-promotions__steps-list li {
    background-color: #1A2E44;
    border-left: 5px solid #FFD700;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-index-latest-promotions__steps-list li h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-index-latest-promotions__steps-list li h3 i {
    margin-right: 10px;
    color: #FFD700;
    font-size: 1.2em;
}

.page-index-latest-promotions__steps-list li p {
    color: #e5d1bb;
    line-height: 1.6;
}

/* Responsible Gambling Section */
.page-index-latest-promotions__responsible-gambling {
    background-color: #1A2E44;
}

.page-index-latest-promotions__responsible-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 700px;
    text-align: left;
}

.page-index-latest-promotions__responsible-list li {
    color: #e5d1bb;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.page-index-latest-promotions__responsible-list li i {
    color: #FFD700;
    margin-right: 15px;
    font-size: 1.3em;
    flex-shrink: 0;
}

/* CTA Section */
.page-index-latest-promotions__cta {
    background: linear-gradient(45deg, #1A2E44, #3a506b);
    padding: 80px 0;
    color: #e5d1bb;
}

.page-index-latest-promotions__cta-image {
    max-width: 300px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Icons (for demonstration, in real project these would be from a font library like FontAwesome) */
.icon-star::before { content: '⭐'; }
.icon-check::before { content: '✅'; }
.icon-clock::before { content: '⏰'; }
.icon-shield::before { content: '🛡️'; }
.icon-book::before { content: '📚'; }
.icon-search::before { content: '🔍'; }
.icon-click::before { content: '🖱️'; }
.icon-user-plus::before { content: '👤'; }
.icon-money-bill::before { content: '💰'; }
.icon-gift::before { content: '🎁'; }
.icon-info-circle::before { content: 'ℹ️'; }
.icon-exclamation-triangle::before { content: '⚠️'; }

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-latest-promotions__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-index-latest-promotions__hero-content {
        text-align: center;
    }

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

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

    .page-index-latest-promotions__flex-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-index-latest-promotions__flex-wrapper--reverse-on-mobile {
        flex-direction: column-reverse;
    }

    .page-index-latest-promotions__image-col,
    .page-index-latest-promotions__content-col {
        min-width: unset;
        width: 100%;
    }

    .page-index-latest-promotions__promo-item {
        flex-direction: column;
        text-align: center;
    }

    .page-index-latest-promotions__promo-item:nth-child(even) {
        flex-direction: column;
    }

    .page-index-latest-promotions__promo-item-image-wrapper {
        max-width: 100%;
    }

    .page-index-latest-promotions__promo-item-content {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions__hero {
        padding: 80px 0 40px;
    }
    .page-index-latest-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-index-latest-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-latest-promotions__section {
        padding: 40px 0;
    }
    .page-index-latest-promotions__section-title {
        font-size: 1.8em;
    }
    .page-index-latest-promotions__text-content {
        font-size: 1em;
    }
    .page-index-latest-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions__promo-card-image {
        height: 120px;
    }
    .page-index-latest-promotions__promo-card-title {
        font-size: 1.4em;
    }
    .page-index-latest-promotions__promo-item-title {
        font-size: 1.6em;
    }
    .page-index-latest-promotions__steps-list li h3 {
        font-size: 1.4em;
    }
}