/* style/promotions.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-promotions {
    font-family: 'Arial', sans-serif;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F;
    text-align: center;
}

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

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

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

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Custom Glow */
}

.page-promotions__intro-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Custom Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure responsiveness for buttons */
}

/* General Buttons */
.page-promotions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

.page-promotions__btn--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
    color: #F2FFF6;
    border: none;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions__btn--secondary {
    background-color: transparent;
    color: #57E38D; /* Custom Glow */
    border: 2px solid #57E38D; /* Custom Glow */
}

.page-promotions__btn--secondary:hover {
    background-color: #57E38D; /* Custom Glow */
    color: #08160F;
    transform: translateY(-3px);
}

.page-promotions__btn--tertiary {
    background-color: #11A84E; /* Main Color */
    color: #F2FFF6;
    border: 2px solid #11A84E;
}

.page-promotions__btn--tertiary:hover {
    background-color: transparent;
    color: #11A84E;
    transform: translateY(-3px);
}

.page-promotions__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
}

/* Section Titles and Descriptions */
.page-promotions__section-title {
    font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
    font-weight: 700;
    color: #F2FFF6; /* Custom Text Main */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3); /* Custom Glow */
}

.page-promotions__section-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Custom Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Overview Section */
.page-promotions__overview-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

.page-promotions__overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__overview-card {
    background-color: #11271B; /* Custom Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-promotions__overview-card .page-promotions__card-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Custom Gold */
    margin-bottom: 15px;
}

.page-promotions__overview-card p {
    color: #A7D9B8; /* Custom Text Secondary */
}

/* Featured Promotions */
.page-promotions__featured-promotions {
    padding: 80px 0;
    background-color: #08160F; /* Custom Background */
}

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

.page-promotions__promotion-card {
    background-color: #11271B; /* Custom Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-promotions__promotion-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Custom Text Main */
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #57E38D; /* Custom Glow */
}

.page-promotions__card-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Custom Text Secondary */
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__card-date {
    font-size: 0.85rem;
    color: #A7D9B8; /* Custom Text Secondary */
    margin-bottom: 20px;
    display: block;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-promotions__step-item {
    background-color: #11271B; /* Custom Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-promotions__step-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__step-title {
    font-size: 1.3rem;
    color: #F2C14E; /* Custom Gold */
    margin-bottom: 15px;
}

.page-promotions__step-item p {
    color: #A7D9B8; /* Custom Text Secondary */
}

.page-promotions__step-item a {
    color: #57E38D; /* Custom Glow */
    text-decoration: none;
}

.page-promotions__step-item a:hover {
    text-decoration: underline;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions-section {
    padding: 80px 0;
    background-color: #08160F; /* Custom Background */
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-list li {
    background-color: #11271B; /* Custom Card BG */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #A7D9B8; /* Custom Text Secondary */
    border-left: 4px solid #11A84E; /* Main Color */
    font-size: 1rem;
}

.page-promotions__terms-list li:last-child {
    margin-bottom: 0;
}

.page-promotions__terms-list li a {
    color: #57E38D; /* Custom Glow */
    text-decoration: none;
}

.page-promotions__terms-list li a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: #11271B; /* Custom Card BG */
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2C14E; /* Custom Gold */
    background-color: #11271B; /* Custom Card BG */
    border-bottom: 1px solid #1E3A2A; /* Custom Divider */
}

.page-promotions__faq-question:hover {
    background-color: #1e3a2a; /* Slightly darker hover */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Custom Glow */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom-color: transparent;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    content: "−";
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Custom Text Secondary */
    line-height: 1.6;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
    padding: 80px 0;
    background-color: #08160F; /* Custom Background */
    text-align: center;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure responsiveness for buttons */
}

/* Copyright */
.page-promotions__copyright {
    background-color: #08160F; /* Custom Background */
    text-align: center;
    padding: 20px;
    border-top: 1px solid #1E3A2A; /* Custom Divider */
    color: #A7D9B8; /* Custom Text Secondary */
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 5vw + 1rem, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 4vw + 0.5rem, 2.4rem);
    }
    .page-promotions__hero-image-wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 10px !important; /* body has padding-top */
        padding-bottom: 30px;
    }

    /* Images responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__hero-image-wrapper,
    .page-promotions__promotion-card,
    .page-promotions__overview-card,
    .page-promotions__step-item,
    .page-promotions__faq-item,
    .page-promotions__container,
    .page-promotions__overview-section,
    .page-promotions__featured-promotions,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsiveness */
    .page-promotions__btn,
    .page-promotions__btn--primary,
    .page-promotions__btn--secondary,
    .page-promotions__btn--tertiary,
    .page-promotions__btn--small {
        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-promotions__hero-cta-buttons,
    .page-promotions__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__promotion-image {
        height: 180px; /* Adjust height for smaller screens */
    }

    .page-promotions__card-content {
        padding: 20px;
    }

    .page-promotions__faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 18px;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-section {
        padding-bottom: 20px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw + 0.5rem, 2.5rem);
    }
    .page-promotions__intro-description {
        font-size: 1rem;
    }
    .page-promotions__section-title {
        font-size: clamp(1.4rem, 5vw + 0.3rem, 2rem);
    }
    .page-promotions__overview-section,
    .page-promotions__featured-promotions,
    .page-promotions__how-to-claim,
    .page-promotions__terms-conditions-section,
    .page-promotions__faq-section,
    .page-promotions__cta-final-section {
        padding: 40px 0;
    }
}