/* style/khuyn-mi.css */

/* Biến CSS */
:root {
    --page-khuyn-mi-primary-color: #FFD700; /* Vàng sáng */
    --page-khuyn-mi-secondary-color: #1E90FF; /* Xanh lam */
    --page-khuyn-mi-dark-text: #333;
    --page-khuyn-mi-light-text: #fff;
    --page-khuyn-mi-background-light: #f5f5f5;
    --page-khuyn-mi-background-dark: #2c3e50; /* Một màu nền tối để tạo độ tương phản */
    --page-khuyn-mi-card-bg: #fff;
    --page-khuyn-mi-border-color: #ddd;
}

.page-khuyn-mi {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-khuyn-mi-dark-text);
    background-color: var(--page-khuyn-mi-background-light);
}

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

/* Hero Section */
.page-khuyn-mi__hero-section {
    background: linear-gradient(135deg, var(--page-khuyn-mi-primary-color) 0%, var(--page-khuyn-mi-secondary-color) 100%);
    color: var(--page-khuyn-mi-light-text);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-khuyn-mi__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-khuyn-mi__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-khuyn-mi-light-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-khuyn-mi__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-khuyn-mi__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-khuyn-mi__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: 2px solid transparent;
}

.page-khuyn-mi__btn--primary {
    background-color: var(--page-khuyn-mi-primary-color);
    color: var(--page-khuyn-mi-dark-text);
    border-color: var(--page-khuyn-mi-primary-color);
}

.page-khuyn-mi__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-khuyn-mi__btn--secondary {
    background-color: transparent;
    color: var(--page-khuyn-mi-light-text);
    border-color: var(--page-khuyn-mi-light-text);
}

.page-khuyn-mi__btn--secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-khuyn-mi__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-khuyn-mi__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* General Section Styling */
.page-khuyn-mi__section {
    padding: 60px 0;
    text-align: center;
}

.page-khuyn-mi__section:nth-of-type(even) {
    background-color: var(--page-khuyn-mi-background-dark);
    color: var(--page-khuyn-mi-light-text);
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__section-title,
.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__card-title,
.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__reason-title,
.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__faq-question {
    color: var(--page-khuyn-mi-primary-color);
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__btn--card {
    background-color: var(--page-khuyn-mi-primary-color);
    color: var(--page-khuyn-mi-dark-text);
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__btn--card:hover {
    background-color: #e6c200;
}

.page-khuyn-mi__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-khuyn-mi-dark-text);
}

.page-khuyn-mi__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

/* Promo Grid */
.page-khuyn-mi__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyn-mi__promo-card {
    background-color: var(--page-khuyn-mi-card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-khuyn-mi__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

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

.page-khuyn-mi__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__card-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-khuyn-mi__btn--card {
    background-color: var(--page-khuyn-mi-secondary-color);
    color: var(--page-khuyn-mi-light-text);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95em;
}

.page-khuyn-mi__btn--card:hover {
    background-color: #1a7ae6;
}

/* App Download Section */
.page-khuyn-mi__section--app-download {
    background-color: var(--page-khuyn-mi-secondary-color);
    color: var(--page-khuyn-mi-light-text);
}

.page-khuyn-mi__app-download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-khuyn-mi__section--app-download .page-khuyn-mi__section-title {
    color: var(--page-khuyn-mi-primary-color);
}

.page-khuyn-mi__app-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-khuyn-mi__app-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Why 8k Bet Section */
.page-khuyn-mi__reason-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyn-mi__reason-item {
    background-color: var(--page-khuyn-mi-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.page-khuyn-mi__reason-item:nth-child(even) {
    background-color: #fcfcfc;
}

.page-khuyn-mi__reason-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-khuyn-mi-secondary-color);
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__reason-item {
    background-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__reason-title {
    color: var(--page-khuyn-mi-primary-color);
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__reason-text {
    color: rgba(255,255,255,0.8);
}

/* FAQ Section */
.page-khuyn-mi__faq-accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyn-mi__faq-item {
    background-color: var(--page-khuyn-mi-card-bg);
    border: 1px solid var(--page-khuyn-mi-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: left;
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__faq-item {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.page-khuyn-mi__faq-question {
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--page-khuyn-mi-secondary-color);
    position: relative;
}

.page-khuyn-mi__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: var(--page-khuyn-mi-primary-color);
}

.page-khuyn-mi__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-khuyn-mi__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--page-khuyn-mi-dark-text);
}

.page-khuyn-mi__faq-answer p {
    padding-bottom: 20px;
    margin-bottom: 0;
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__faq-question {
    color: var(--page-khuyn-mi-primary-color);
}

.page-khuyn-mi__section:nth-of-type(even) .page-khuyn-mi__faq-answer {
    color: rgba(255,255,255,0.8);
}

/* Call to Action Section */
.page-khuyn-mi__section--cta {
    background: linear-gradient(90deg, var(--page-khuyn-mi-secondary-color), #1a7ae6);
    color: var(--page-khuyn-mi-light-text);
    padding: 80px 0;
}

.page-khuyn-mi__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.page-khuyn-mi__section--cta .page-khuyn-mi__section-title {
    color: var(--page-khuyn-mi-primary-color);
    font-size: 2.8em;
}

.page-khuyn-mi__section--cta .page-khuyn-mi__section-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em;
}

/* Copyright */
.page-khuyn-mi__copyright {
    background-color: var(--page-khuyn-mi-background-dark);
    color: var(--page-khuyn-mi-light-text);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-khuyn-mi__main-title {
        font-size: 2.5em;
    }
    .page-khuyn-mi__section-title {
        font-size: 2em;
    }
    .page-khuyn-mi__hero-section {
        padding: 60px 0;
    }
    .page-khuyn-mi__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-khuyn-mi__promo-grid,
    .page-khuyn-mi__reason-list {
        grid-template-columns: 1fr;
    }
    .page-khuyn-mi__app-image {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .page-khuyn-mi__main-title {
        font-size: 2em;
    }
    .page-khuyn-mi__hero-description {
        font-size: 1em;
    }
    .page-khuyn-mi__section-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__section-description {
        font-size: 0.95em;
    }
    .page-khuyn-mi__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-khuyn-mi__promo-card {
        padding: 25px;
    }
    .page-khuyn-mi__card-title {
        font-size: 1.3em;
    }
    .page-khuyn-mi__reason-item {
        padding: 25px;
    }
    .page-khuyn-mi__reason-title {
        font-size: 1.2em;
    }
    .page-khuyn-mi__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .page-khuyn-mi__main-title {
        font-size: 1.8em;
    }
    .page-khuyn-mi__section-title {
        font-size: 1.6em;
    }
    .page-khuyn-mi__hero-section {
        padding: 40px 0;
    }
    .page-khuyn-mi__hero-actions {
        gap: 10px;
    }
    .page-khuyn-mi__btn {
        width: 90%;
        max-width: 280px;
    }
    .page-khuyn-mi__app-actions {
        flex-direction: column;
        align-items: center;
    }
    .page-khuyn-mi__app-image {
        max-width: 250px;
    }
}