/* style/index.css */

/* Biến CSS */
:root {
    --page-index-primary-color: #0A192F;
    --page-index-secondary-color: #FFD700;
    --page-index-text-light: #F0F2F5;
    --page-index-text-dark: #1A1A1A;
    --page-index-background-dark: #0A192F;
    --page-index-background-light: #FFFFFF;
    --page-index-border-color: #334D6C;
    --page-index-gradient: linear-gradient(135deg, var(--page-index-primary-color), #203B5B);
}

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

.page-index__highlight {
    color: var(--page-index-secondary-color);
}

.page-index__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--page-index-text-light);
    position: relative;
    padding-bottom: 15px;
}

.page-index__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-index-secondary-color);
    border-radius: 2px;
}

/* Buttons */
.page-index__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-index__btn--primary {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-background-dark);
    border: 2px solid var(--page-index-secondary-color);
}

.page-index__btn--primary:hover {
    background-color: transparent;
    color: var(--page-index-secondary-color);
    border-color: var(--page-index-secondary-color);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: var(--page-index-secondary-color);
    border: 2px solid var(--page-index-secondary-color);
}

.page-index__btn--secondary:hover {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-background-dark);
}

.page-index__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 6px;
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-background-dark);
    border: none;
}

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

/* Hero Section */
.page-index__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: var(--page-index-gradient);
    padding: 80px 40px;
    gap: 40px;
    flex-wrap: wrap-reverse;
}

.page-index__hero-content {
    max-width: 600px;
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.page-index__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-index-text-light);
}

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-index-text-light);
    opacity: 0.9;
}

.page-index__hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Features Section */
.page-index__features-section {
    padding: 80px 20px;
    background-color: var(--page-index-background-dark);
}

.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__feature-item {
    background-color: #1A2B42;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-index__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-index-secondary-color));
}

.page-index__feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-index-secondary-color);
}

.page-index__feature-text {
    font-size: 1em;
    color: var(--page-index-text-light);
    opacity: 0.8;
}

/* App Download Section */
.page-index__app-download-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1A2B42;
    padding: 80px 40px;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index__app-content {
    max-width: 600px;
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.page-index__app-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-index-text-light);
    opacity: 0.9;
}

.page-index__app-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Promotions Section */
.page-index__promotions-section {
    padding: 80px 20px;
    background-color: var(--page-index-background-dark);
}

.page-index__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__promotion-item {
    background-color: #1A2B42;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index__promotion-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.page-index__promotion-title {
    font-size: 1.8em;
    color: var(--page-index-secondary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index__promotion-text {
    font-size: 1em;
    color: var(--page-index-text-light);
    opacity: 0.8;
    margin-bottom: 20px;
    padding: 0 20px;
    flex-grow: 1;
}

.page-index__promotion-item .page-index__btn--small {
    margin-bottom: 20px;
}

/* About Us Section */
.page-index__about-us-section {
    padding: 80px 20px;
    background-color: #0A192F;
}

.page-index__about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.page-index__about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index__about-text-wrapper {
    flex: 2;
    min-width: 300px;
}

.page-index__about-text-wrapper p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--page-index-text-light);
    opacity: 0.9;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
    padding: 80px 20px;
    background-color: #1A2B42;
}

.page-index__detail-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__detail-page-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index__detail-page-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index__detail-page-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--page-index-secondary-color);
}

.page-index__detail-page-title a {
    color: var(--page-index-secondary-color);
    text-decoration: none;
}

.page-index__detail-page-title a:hover {
    text-decoration: underline;
}

.page-index__detail-page-description {
    font-size: 0.95em;
    color: var(--page-index-text-light);
    opacity: 0.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index__detail-page-item .page-index__btn--small {
    align-self: flex-start;
}

/* Contact CTA Section */
.page-index__contact-cta-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--page-index-gradient);
}

.page-index__contact-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-index-text-light);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-section, .page-index__app-download-section {
        flex-direction: column;
        text-align: center;
    }

    .page-index__hero-content, .page-index__app-content {
        text-align: center;
    }

    .page-index__hero-cta-group, .page-index__app-cta-group {
        justify-content: center;
    }

    .page-index__hero-title {
        font-size: 3em;
    }

    .page-index__about-content {
        flex-direction: column;
    }

    .page-index__about-image {
        max-width: 100%;
    }

    .page-index__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index__hero-title {
        font-size: 2.5em;
    }

    .page-index__hero-description {
        font-size: 1.1em;
    }

    .page-index__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .page-index__features-grid, .page-index__promotions-grid, .page-index__detail-pages-grid {
        grid-template-columns: 1fr;
    }

    .page-index__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index__feature-icon {
        width: 60px;
        height: 60px;
    }

    .page-index__feature-title {
        font-size: 1.5em;
    }

    .page-index__promotion-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-index__hero-section, .page-index__features-section, .page-index__app-download-section, .page-index__promotions-section, .page-index__about-us-section, .page-index__detail-pages-section, .page-index__contact-cta-section {
        padding: 40px 15px;
    }

    .page-index__hero-title {
        font-size: 2em;
    }

    .page-index__hero-description {
        font-size: 1em;
    }

    .page-index__hero-cta-group, .page-index__app-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-index__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-index__section-title {
        font-size: 1.5em;
    }
}