/* style/promotions.css */
/* body đã padding-top: var(--header-offset)；tránh trùng lặp */

:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --color-dark-text: #333333;
    --color-light-text: #ffffff;
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-dark-text); /* Default text color for light backgrounds */
    background-color: var(--color-background); /* Overall page background */
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    background-color: var(--color-background);
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-light-text);
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-gold);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--color-light-text);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background: var(--color-background);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-background);
}

.page-promotions__section {
    padding: 80px 20px;
    text-align: center;
}

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

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 50px;
}

.page-promotions__why-choose-us {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

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

.page-promotions__feature-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--color-card-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.page-promotions__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__feature-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    object-fit: cover;
}

.page-promotions__feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.page-promotions__feature-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-promotions__promotion-types {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-promotions__promo-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--color-card-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-promotions__promo-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.page-promotions__promo-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

.page-promotions__how-to-claim {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

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

.page-promotions__step-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--color-card-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 15px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(242, 193, 78, 0.1);
}

.page-promotions__step-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.page-promotions__step-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-promotions__terms {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-promotions__term-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--color-card-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.page-promotions__term-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.page-promotions__term-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-promotions__faq {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
}

.page-promotions__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-main);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-promotions__faq-qtext {
    color: var(--color-text-main);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-left: 15px;
}

.page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-promotions__cta-support {
    margin-top: 50px;
}

.page-promotions__conclusion {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    padding-bottom: 80px;
}

.page-promotions__cta-final {
    margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__hero-description {
        font-size: 1.1rem;
    }
    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-promotions__features-grid,
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        padding: 10px 15px 40px;
    }
    .page-promotions__hero-content {
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section {
        padding: 50px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-promotions__features-grid,
    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__terms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__feature-card,
    .page-promotions__promo-card,
    .page-promotions__step-card,
    .page-promotions__term-card,
    .page-promotions__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-promotions__feature-title,
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__term-title {
        font-size: 1.3rem;
    }
    .page-promotions__feature-text,
    .page-promotions__promo-text,
    .page-promotions__step-text,
    .page-promotions__term-text,
    .page-promotions__faq-answer p {
        font-size: 0.9rem;
    }
    .page-promotions__promo-image {
        height: 180px;
    }
    .page-promotions__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        padding: 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-promotions__hero-description {
        font-size: 0.9rem;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-promotions__section {
        padding: 40px 10px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-promotions__section-description {
        font-size: 0.85rem;
    }
    .page-promotions__feature-title,
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__term-title {
        font-size: 1.2rem;
    }
    .page-promotions__faq-item summary {
        font-size: 0.95rem;
    }
    .page-promotions__faq-answer p {
        font-size: 0.85rem;
    }
}