/* Base styles for the page content */
.page-promotions {
    color: #FFF6D6; /* Text Main color */
    background-color: #0A0A0A; /* Body background color */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

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

.page-promotions__section.page-promotions__dark-bg {
    background-color: #111111; /* Card BG color for dark sections */
    color: #FFF6D6;
}

.page-promotions__section-title {
    font-size: 38px;
    font-weight: 700;
    color: #F2C14E; /* Main color for titles */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promotions__section-description {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #FFF6D6;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px; /* Ensure hero has a decent height */
}

.page-promotions__hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 700px; /* Limit height of the image container */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    object-position: center;
    min-height: 400px; /* Ensure image is not too small */
}

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

.page-promotions__main-title {
    font-size: clamp(32px, 4.5vw, 56px); /* Responsive font size for H1 */
    font-weight: 900;
    color: #FFD36B; /* Glow color for H1 */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-promotions__intro-text {
    font-size: 20px;
    color: #FFF6D6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #FFE88A 0%, #ECA620 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #FFD36B;
    border: 2px solid #FFD36B;
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-promotions__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-promotions__card-btn {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    border: none;
    font-size: 16px;
    padding: 10px 20px;
    margin-top: auto; /* Push button to bottom of card */
}

.page-promotions__card-btn:hover {
    background: linear-gradient(180deg, #FFE88A 0%, #ECA620 100%);
    transform: translateY(-1px);
}

/* Overview Section - Grid of Cards */
.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions__card {
    background-color: #111111; /* Card BG color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(242, 193, 78, 0.3);
}

.page-promotions__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Min image size */
    min- /* Min image size */
    object-fit: cover;
}

.page-promotions__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFD36B;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__card-text {
    font-size: 16px;
    color: #FFF6D6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    background-color: #111111;
}

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

.page-promotions__step-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-
    object-fit: cover;
}

.page-promotions__step-title {
    font-size: 26px;
    font-weight: 700;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-promotions__step-text {
    font-size: 16px;
    color: #FFF6D6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Terms Section */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__list-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.page-promotions__list-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-promotions__list-item p {
    font-size: 16px;
    color: #FFF6D6;
    margin-bottom: 0;
}

.page-promotions__read-more-terms {
    margin-top: 30px;
    font-size: 16px;
    color: #FFF6D6;
}

.page-promotions__read-more-terms a {
    color: #F2C14E;
    text-decoration: underline;
    font-weight: 600;
}

.page-promotions__read-more-terms a:hover {
    color: #FFD36B;
}

/* Why Choose Section */
.page-promotions__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions__feature-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 211, 107, 0.2);
}

.page-promotions__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-promotions__feature-text {
    font-size: 16px;
    color: #FFF6D6;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: #0A0A0A; /* Ensure dark background for FAQ */
}

/* FAQ styles based on <details> */
details.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #3A2A12; /* Border color */
    overflow: hidden;
    background: #111111; /* Card BG color */
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #FFF6D6;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
    background: rgba(242, 193, 78, 0.1); /* Light hover effect with brand color */
}
.page-promotions__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF6D6;
}
.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #F2C14E; /* Main color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
    background: #0A0A0A; /* Background color */
    border-radius: 0 0 5px 5px;
    color: #FFF6D6;
    text-align: left;
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__container {
        padding: 20px 30px;
    }

    .page-promotions__hero-image {
        max-height: 600px;
    }

    .page-promotions__main-title {
        font-size: clamp(30px, 4vw, 50px);
    }

    .page-promotions__section-title {
        font-size: 32px;
    }

    .page-promotions__section-description {
        font-size: 17px;
    }

    .page-promotions__card-title {
        font-size: 22px;
    }

    .page-promotions__step-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    /* HERO Chủ đề chính */
    .page-promotions__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .page-promotions__hero-image {
        max-height: 400px;
        margin-bottom: 20px;
    }

    .page-promotions__hero-image img {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important; /* Remove aspect ratio */
        min-height: 250px;
    }

    .page-promotions__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }

    .page-promotions__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Nút và vùng chứa nút */
    .page-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Hình ảnh và vùng chứa chung */
    .page-promotions__section,
    .page-promotions__container,
    .page-promotions__card,
    .page-promotions__step-item,
    .page-promotions__feature-item,
    .page-promotions__list-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Vùng hiển thị sản phẩm (cho thẻ khuyến mãi) */
    .page-promotions__grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        padding: 0 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-promotions__card {
        padding: 20px;
    }

    .page-promotions__card-title {
        font-size: 20px;
    }

    .page-promotions__card-text {
        font-size: 15px;
    }

    /* Tiêu đề trang trí + vùng SEO văn bản dài */
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .page-promotions__how-to-claim-section .page-promotions__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-promotions__step-item {
        padding: 20px;
    }
    .page-promotions__step-title {
        font-size: 22px;
    }

    .page-promotions__terms-section .page-promotions__terms-list {
        padding: 0 15px;
    }
    .page-promotions__list-item {
        padding: 20px;
    }
    .page-promotions__list-title {
        font-size: 18px;
    }
    .page-promotions__list-item p {
        font-size: 15px;
    }
    .page-promotions__read-more-terms {
        font-size: 15px;
        padding: 0 15px;
    }

    .page-promotions__why-choose-section .page-promotions__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-promotions__feature-item {
        padding: 20px;
    }
    .page-promotions__feature-title {
        font-size: 20px;
    }
    .page-promotions__feature-text {
        font-size: 15px;
    }

    /* FAQ Section */
    details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
    .page-promotions__faq-qtext { font-size: 15px; }
    details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }
    .page-promotions__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    .page-promotions__cta-bottom-section {
        padding-bottom: 60px;
    }
}