/* style/index.css */
/* Base styles for the page-index content */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.page-index-highlight {
    color: #007bff;
}

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

.page-index-btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: 1px solid #007bff;
}

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

.page-index-btn-secondary {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.page-index-btn-secondary:hover {
    background-color: #007bff;
    color: #ffffff;
}

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

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

.page-index-btn-link {
    color: #007bff;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font-weight: normal;
}

.page-index-btn-link:hover {
    color: #0056b3;
}

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

.page-index-section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 60px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 100px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-index-hero .page-index-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

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

.page-index-hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 40px;
}

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

.page-index-hero-image {
    margin-top: 50px;
}

.page-index-hero-image .page-index-image {
    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: #ffffff;
}

.page-index-about-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

/* Advantages Section */
.page-index-advantages {
    padding: 80px 0;
    background-color: #f0f8ff;
}

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

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

.page-index-advantage-item:hover {
    transform: translateY(-10px);
}

.page-index-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0, 123, 255, 0.3));
}

.page-index-advantage-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-index-advantage-item p {
    color: #555;
}

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

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

.page-index-game-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-index-game-card:hover {
    transform: translateY(-10px);
}

.page-index-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-game-card .page-index-card-title {
    font-size: 1.4em;
    color: #007bff;
    margin: 20px 15px 10px;
}

.page-index-game-card .page-index-card-description {
    font-size: 1em;
    color: #666;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-index-game-card .page-index-btn {
    margin: 0 15px 20px;
    align-self: center;
}

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

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

.page-index-promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-index-promo-card:hover {
    transform: translateY(-10px);
}

.page-index-promo-card .page-index-card-title {
    font-size: 1.4em;
    color: #007bff;
    margin: 20px 15px 10px;
}

.page-index-promo-card .page-index-card-description {
    font-size: 1em;
    color: #666;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-index-promo-card .page-index-btn {
    margin: 0 15px 20px;
    align-self: center;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.page-index-promo-card .page-index-btn:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.page-index-full-promo-cta {
    text-align: center;
}

/* User Guide Section */
.page-index-user-guide {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-index-step-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-index-step-item .page-index-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 5px rgba(0, 123, 255, 0.2));
}

.page-index-step-title {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-index-step-item p {
    color: #555;
    margin-bottom: 15px;
}

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

.page-index-why-choose-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-why-choose-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.page-index-why-choose-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-index-why-choose-content ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23007bff" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

.page-index-why-choose-content ul li strong {
    color: #007bff;
}

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

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

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

.page-index-detail-card:hover {
    transform: translateY(-5px);
}

.page-index-detail-card .page-index-card-title {
    font-size: 1.3em;
    margin-bottom: 15px;
    min-height: 60px;
}

.page-index-detail-card .page-index-card-title a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-detail-card .page-index-card-title a:hover {
    color: #0056b3;
}

.page-index-detail-card .page-index-card-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-detail-card .page-index-btn {
    align-self: flex-start;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.page-index-detail-card .page-index-btn:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}


/* Final CTA Section */
.page-index-cta-final {
    background: linear-gradient(45deg, #007bff, #0056b3);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.page-index-cta-final .page-index-section-title {
    color: #ffffff;
}

.page-index-cta-final .page-index-section-description {
    color: #e0e0e0;
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 80px 0;
    }
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-description {
        font-size: 1em;
    }
    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-description {
        font-size: 0.95em;
    }
    .page-index-advantages-grid,
    .page-index-games-grid,
    .page-index-promo-grid,
    .page-index-guide-steps,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-index-advantage-item,
    .page-index-game-card,
    .page-index-promo-card,
    .page-index-step-item,
    .page-index-detail-card {
        padding: 20px;
    }
    .page-index-hero-image {
        display: none;
    }
}

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