/* style/khuyen-mai.css */
:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f4f7f6;
    --background-dark: #1A2E47;
    --border-color: #e0e0e0;
}

.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

.page-khuyen-mai h1, .page-khuyen-mai h2, .page-khuyen-mai h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-khuyen-mai h1 {
    font-size: 2.8em;
    color: var(--text-light);
}

.page-khuyen-mai h2 {
    font-size: 2.2em;
    margin-top: 40px;
}

.page-khuyen-mai h3 {
    font-size: 1.6em;
    margin-top: 20px;
    color: var(--primary-color);
}

.page-khuyen-mai p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-khuyen-mai a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-khuyen-mai a:hover {
    color: var(--secondary-color);
}

/* Hero Banner */
.page-khuyen-mai .hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #364f6b 100%);
    padding: 100px 20px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-khuyen-mai .hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:f16878_vip_promotions_banner,abstract_light_effect,luxury_gaming]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-khuyen-mai .hero-banner .hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyen-mai .hero-banner h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-khuyen-mai .hero-banner p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-khuyen-mai .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 8px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .cta-button:hover {
    background-color: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.page-khuyen-mai section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-khuyen-mai section:nth-of-type(even) {
    background-color: #fcfcfc;
}

.page-khuyen-mai .section-intro p, .page-khuyen-mai .section-how-to-claim p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-khuyen-mai .content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Promotions List */
.page-khuyen-mai .promotion-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai .promotion-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-khuyen-mai .promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai .promotion-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-khuyen-mai .promotion-card h3 {
    font-size: 1.4em;
    margin: 25px 15px 15px;
    color: var(--primary-color);
    flex-grow: 1;
    text-align: center;
}

.page-khuyen-mai .promotion-card h3 a {
    color: var(--primary-color);
}

.page-khuyen-mai .promotion-card p {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #555;
    text-align: justify;
}

.page-khuyen-mai .promotion-card .card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}

.page-khuyen-mai .promotion-card .card-button:hover {
    background-color: #FFC107;
    transform: translateY(-2px);
}

/* How To Claim Section */
.page-khuyen-mai .section-how-to-claim ol {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
}

.page-khuyen-mai .section-how-to-claim li {
    counter-increment: my-counter;
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
    font-size: 1.15em;
    color: var(--text-dark);
    text-align: left;
}

.page-khuyen-mai .section-how-to-claim li::before {
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai .section-how-to-claim li strong {
    color: var(--primary-color);
}

/* Why f16878 vip Section */
.page-khuyen-mai .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai .feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyen-mai .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    text-align: center;
}

.page-khuyen-mai .feature-item p {
    font-size: 1em;
    color: #666;
    text-align: center;
}

/* FAQ Section */
.page-khuyen-mai .section-faq {
    background-color: var(--background-dark);
    padding: 80px 0;
}

.page-khuyen-mai .section-faq h2 {
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-khuyen-mai .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyen-mai .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-khuyen-mai .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-khuyen-mai .faq-question:hover {
    background: #f5f5f5;
    border-color: var(--secondary-color);
}

.page-khuyen-mai .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
    text-align: left;
}

.page-khuyen-mai .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-khuyen-mai .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-khuyen-mai .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #f9f9f9;
    padding: 0 25px;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.page-khuyen-mai .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-khuyen-mai .faq-answer p {
    margin: 0;
    font-size: 1.1em;
    color: #555;
    text-align: left;
}

/* Call to Action Bottom */
.page-khuyen-mai .section-cta-bottom {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--background-light);
}

.page-khuyen-mai .section-cta-bottom h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.page-khuyen-mai .section-cta-bottom p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    color: #444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-khuyen-mai .hero-banner h1 {
        font-size: 3em;
    }
    .page-khuyen-mai .hero-banner p {
        font-size: 1.15em;
    }
    .page-khuyen-mai h2 {
        font-size: 2em;
    }
    .page-khuyen-mai .promotion-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-khuyen-mai .feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuyen-mai .hero-banner {
        padding: 80px 15px;
    }
    .page-khuyen-mai .hero-banner h1 {
        font-size: 2.5em;
    }
    .page-khuyen-mai .hero-banner p {
        font-size: 1em;
    }
    .page-khuyen-mai .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-khuyen-mai h2 {
        font-size: 1.8em;
    }
    .page-khuyen-mai h3 {
        font-size: 1.4em;
    }
    .page-khuyen-mai p {
        font-size: 0.95em;
    }
    .page-khuyen-mai section {
        padding: 40px 0;
    }
    .page-khuyen-mai .promotion-card-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai .feature-list {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai .section-how-to-claim li {
        padding-left: 50px;
        font-size: 1.05em;
    }
    .page-khuyen-mai .section-how-to-claim li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-khuyen-mai .faq-question {
        padding: 15px 20px;
    }
    .page-khuyen-mai .faq-question h3 {
        font-size: 1.1em;
    }
    .page-khuyen-mai .faq-toggle {
        font-size: 20px;
    }
    .page-khuyen-mai .faq-answer {
        padding: 15px 20px;
    }
    .page-khuyen-mai .faq-answer p {
        font-size: 1em;
    }
    .page-khuyen-mai .section-cta-bottom h2 {
        font-size: 2em;
    }
    .page-khuyen-mai .section-cta-bottom p {
        font-size: 1.05em;
    }
}

@media (max-width: 480px) {
    .page-khuyen-mai .hero-banner h1 {
        font-size: 2em;
    }
    .page-khuyen-mai .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyen-mai h2 {
        font-size: 1.6em;
    }
    .page-khuyen-mai h3 {
        font-size: 1.2em;
    }
    .page-khuyen-mai .section-how-to-claim li {
        font-size: 1em;
    }
    .page-khuyen-mai .section-cta-bottom h2 {
        font-size: 1.8em;
    }
}