/* style/index.css */

.page-index {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Màu chữ tổng thể */
    background-color: #1a1a1a; /* Nền tối */
}

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

.page-index-highlight {
    color: #FFD700; /* Màu vàng phụ trợ */
}

.page-index-section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

.page-index-section-subtitle {
    font-size: 1.2em;
    color: #cccccc;
    text-align: center;
    margin-bottom: 40px;
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #CC0000; /* Màu chủ đạo */
    color: #FFFFFF;
    border: 2px solid #CC0000;
}

.page-index-btn-primary:hover {
    background-color: #e04d4d;
    border-color: #e04d4d;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Màu vàng phụ trợ */
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
}

.page-index-btn-outline {
    background-color: transparent;
    color: #CC0000;
    border: 2px solid #CC0000;
}

.page-index-btn-outline:hover {
    background-color: #CC0000;
    color: #FFFFFF;
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-index-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-index-text-center {
    text-align: center;
}

.page-index-mt-2 {
    margin-top: 10px;
}

.page-index-mt-4 {
    margin-top: 20px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #CC0000, #990000);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-index-hero-content {
    max-width: 600px;
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-index-hero-actions .page-index-btn {
    margin: 0 10px;
}

.page-index-hero-image {
    flex-shrink: 0;
    z-index: 1;
}

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

/* About Section */
.page-index-about {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-index-about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-about-text,
.page-index-about-image {
    flex: 1;
    min-width: 300px;
}

.page-index-about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

.page-index-about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Games Section */
.page-index-games {
    padding: 80px 0;
    background-color: #222222;
}

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

.page-index-game-card {
    background-color: #333333;
    border-radius: 10px;
    padding: 25px;
    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-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-game-card img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-game-card h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-game-card p {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-index-promo-card {
    background-color: #333333;
    border-radius: 10px;
    padding: 25px;
    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-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-promo-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-promo-card h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-promo-card p {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Why Choose Section */
.page-index-why-choose {
    padding: 80px 0;
    background-color: #222222;
}

.page-index-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-index-why-choose-item {
    background-color: #333333;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-why-choose-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-index-why-choose-item h3 {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-index-why-choose-item p {
    font-size: 1em;
    color: #cccccc;
}

/* CTA Section */
.page-index-cta {
    background: linear-gradient(90deg, #CC0000, #FFD700);
    padding: 60px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-index-cta-content {
    max-width: 800px;
}

.page-index-cta-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-index-cta .page-index-btn-large {
    background-color: #1a1a1a;
    color: #FFD700;
    border: 2px solid #1a1a1a;
}

.page-index-cta .page-index-btn-large:hover {
    background-color: #333333;
    border-color: #333333;
    color: #FFD700;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-index-detail-card {
    background-color: #333333;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-detail-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-index-detail-card h3 a {
    color: #FFD700;
    text-decoration: none;
}

.page-index-detail-card h3 a:hover {
    text-decoration: underline;
}

.page-index-detail-card p {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero {
        flex-direction: column;
        padding: 60px 0;
        gap: 20px;
    }

    .page-index-hero-content {
        max-width: 90%;
    }

    .page-index-hero-title {
        font-size: 2.8em;
    }

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

    .page-index-about-content {
        flex-direction: column;
    }

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

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

@media (max-width: 768px) {
    .page-index-hero {
        min-height: auto;
        padding: 40px 0;
    }

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

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

    .page-index-hero-actions .page-index-btn {
        display: block;
        margin: 10px auto;
    }

    .page-index-section-title {
        font-size: 1.8em;
    }

    .page-index-section-subtitle {
        font-size: 1em;
    }

    .page-index-cta-title {
        font-size: 1.8em;
    }

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

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }

    .page-index-hero-description {
        font-size: 0.9em;
    }

    .page-index-game-grid,
    .page-index-promo-grid,
    .page-index-why-choose-grid,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }

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