/* style/promotions.css */
.page-promotions {
    background-color: #F4F7FB;
    color: #1F2D3D;
    padding-bottom: 40px;
}

/* Hero Section */
.page-promotions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px;
    background-color: #2F6BFF;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 20px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-promotions__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFFFFF; /* Adjusted for better contrast */
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Latest Promotions Section */
.page-promotions__latest-promotions-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
}

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

.page-promotions__promotion-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__promotion-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__promotion-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promotion-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__promotion-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__promotion-card-title a:hover {
    color: #2F6BFF;
}

.page-promotions__promotion-card-desc {
    font-size: 1rem;
    color: #1F2D3D;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-promotions__promotion-card-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.page-promotions__promotion-card-button:hover {
    opacity: 0.9;
}

.page-promotions__all-promotions-cta {
    margin-top: 20px;
}

/* hello88 Login Section */
.page-promotions__hello88-login-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-promotions__hello88-login-section .page-promotions__section-title {
    margin-bottom: 25px;
    color: #000000;
}

.page-promotions__hello88-login-section .page-promotions__description {
    color: #1F2D3D;
    margin-bottom: 30px;
}

.page-promotions__inline-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-promotions__inline-link:hover {
    text-decoration: underline;
    color: #6FA3FF;
}

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

.page-promotions__cta-button--secondary {
    background: none;
    border: 2px solid #2F6BFF;
    color: #2F6BFF;
    box-shadow: none;
}

.page-promotions__cta-button--secondary:hover {
    background: #2F6BFF;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-promotions__faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

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

.page-promotions__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-promotions__faq-answer {
    font-size: 1rem;
    color: #1F2D3D;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 30px;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-promotions__description {
        font-size: 1rem;
    }

    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-promotions__latest-promotions-section,
    .page-promotions__hello88-login-section,
    .page-promotions__faq-section {
        margin: 30px auto;
        padding: 15px;
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-promotions__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions__promotion-card-image {
        height: 200px;
    }

    .page-promotions__promotion-card-title {
        font-size: 1.2rem;
    }

    .page-promotions__promotion-card-desc {
        font-size: 0.95rem;
    }

    .page-promotions__promotion-card-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .page-promotions__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions__faq-question {
        font-size: 1.1rem;
    }

    .page-promotions__faq-answer {
        font-size: 0.95rem;
    }

    .page-promotions img {
        max-width: 100%;
        height: auto;
    }
}

.page-promotions img {
    display: block;
    object-fit: cover;
    filter: none;
}