.page-khuyen-mai {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
}

.page-khuyen-mai__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Adjusted for header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    color: #FFF3E6;
    z-index: 10;
}

.page-khuyen-mai__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFB04D; /* Glow color for main title */
    letter-spacing: 1px;
}

.page-khuyen-mai__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__promo-grid-section,
.page-khuyen-mai__how-to-claim-section,
.page-khuyen-mai__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-khuyen-mai__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #FF8C1A;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

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

.page-khuyen-mai__section-description {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #FFF3E6;
}

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

.page-khuyen-mai__promo-card {
    background-color: #17191F;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #A84F0C;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai__promo-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.page-khuyen-mai__promo-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-khuyen-mai__promo-card:hover .page-khuyen-mai__promo-card-image {
    transform: scale(1.05);
}

.page-khuyen-mai__promo-card-content {
    padding: 25px;
    text-align: center;
}

.page-khuyen-mai__promo-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FF8C1A;
}

.page-khuyen-mai__promo-card-title a {
    color: #FF8C1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyen-mai__promo-card-title a:hover {
    color: #FFA53A;
}

.page-khuyen-mai__promo-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF3E6;
    margin-bottom: 25px;
}

.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 6px;
    background-color: transparent;
    border: 2px solid #FF8C1A;
    color: #FF8C1A;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-khuyen-mai__btn-secondary:hover {
    background-color: #FF8C1A;
    color: #17191F;
}

.page-khuyen-mai__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__step-card {
    background-color: #17191F;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C;
}

.page-khuyen-mai__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FF8C1A;
    margin-bottom: 15px;
}

.page-khuyen-mai__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #FFF3E6;
}

.page-khuyen-mai__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-khuyen-mai__faq-list {
    margin-top: 40px;
}

.page-khuyen-mai__faq-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FF8C1A;
    cursor: pointer;
    background-color: #17191F;
    transition: background-color 0.3s ease;
}

.page-khuyen-mai__faq-question:hover {
    background-color: rgba(255, 130, 26, 0.1);
}

.page-khuyen-mai__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #D96800;
    transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
    transform: rotate(45deg);
}

.page-khuyen-mai__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF3E6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-answer {
    max-height: 500px; /* Adjust as needed */
    transition: max-height 0.5s ease-in;
}

/* Ensure all images are responsive */
.page-khuyen-mai img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All buttons responsive styles */
.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary,
.page-khuyen-mai a[class*="button"],
.page-khuyen-mai a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-khuyen-mai__cta-buttons,
.page-khuyen-mai__button-group,
.page-khuyen-mai__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-image {
        height: 300px;
    }

    .page-khuyen-mai__hero-content {
        padding: 15px;
        max-width: 90%;
    }

    .page-khuyen-mai__main-title {
        font-size: 2rem;
    }

    .page-khuyen-mai__hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .page-khuyen-mai__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-khuyen-mai__promo-grid-section,
    .page-khuyen-mai__how-to-claim-section,
    .page-khuyen-mai__faq-section {
        padding: 40px 15px;
    }

    .page-khuyen-mai__section-title {
        font-size: 2rem;
    }

    .page-khuyen-mai__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

    .page-khuyen-mai__promo-card-image-wrapper {
        height: 180px;
    }

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

    .page-khuyen-mai__promo-card-text {
        font-size: 0.9rem;
    }

    .page-khuyen-mai__btn-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

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

    .page-khuyen-mai__step-card {
        padding: 25px;
    }

    .page-khuyen-mai__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }

    .page-khuyen-mai__step-title {
        font-size: 1.1rem;
    }

    .page-khuyen-mai__step-description {
        font-size: 0.9rem;
    }

    .page-khuyen-mai__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-khuyen-mai__faq-toggle {
        font-size: 1.5rem;
    }

    .page-khuyen-mai__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* Forced responsive styles for images */
    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-khuyen-mai__section,
    .page-khuyen-mai__card,
    .page-khuyen-mai__container,
    .page-khuyen-mai__promo-grid-section,
    .page-khuyen-mai__how-to-claim-section,
    .page-khuyen-mai__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Forced responsive styles for buttons */
    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary,
    .page-khuyen-mai a[class*="button"],
    .page-khuyen-mai 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-khuyen-mai__cta-buttons,
    .page-khuyen-mai__button-group,
    .page-khuyen-mai__btn-container,
    .page-khuyen-mai__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-khuyen-mai__cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}