/* style/index.css */

/* Base styles for the page content */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    line-height: 1.6;
    background-color: #0A2342;
}

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

.page-index-section-title {
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-index-section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #B0B0B0; /* Slightly darker light gray for paragraphs */
}

/* Buttons */
.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, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #FFD700; /* Gold */
    color: #0A2342; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #E0B500;
    border-color: #E0B500;
    transform: translateY(-2px);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-2px);
}

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

.page-index-btn-outline:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-2px);
}

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

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%); /* Dark blue gradient */
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.page-index-hero-content {
    max-width: 600px;
    text-align: left;
}

.page-index-hero-title {
    font-size: 3.8em;
    color: #FFFFFF; /* White for main hero title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-hero-description {
    font-size: 1.3em;
    color: #B0B0B0;
    margin-bottom: 30px;
}

.page-index-hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.page-index-hero-image-wrapper {
    flex-shrink: 0;
    width: 500px;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About Section */
.page-index-about-section {
    padding: 80px 20px;
    background-color: #0D2B4F; /* Slightly lighter dark blue */
}

/* Features Section */
.page-index-features-section {
    padding: 80px 20px;
    background-color: #0A2342;
}

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

.page-index-feature-item {
    background-color: #1A3F6C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

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

.page-index-feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index-feature-description {
    color: #B0B0B0;
}

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

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

.page-index-game-card {
    background-color: #1A3F6C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-index-game-title {
    font-size: 1.8em;
    color: #FFD700;
    margin: 20px 0 10px;
}

.page-index-game-description {
    color: #B0B0B0;
    padding: 0 20px 20px;
}

.page-index-game-card .page-index-btn {
    margin-bottom: 20px;
}

/* App Download Section */
.page-index-app-download-section {
    padding: 80px 20px;
    background-color: #0A2342;
}

.page-index-app-download-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.page-index-app-text-content {
    max-width: 500px;
}

.page-index-app-text-content .page-index-section-title {
    text-align: left;
}

.page-index-app-text-content .page-index-section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-index-app-text-content .page-index-section-text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-index-app-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.page-index-app-image-wrapper {
    flex-shrink: 0;
}

.page-index-app-image {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-index-detail-card {
    background-color: #1A3F6C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.page-index-detail-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index-detail-description {
    color: #B0B0B0;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-section {
        flex-direction: column-reverse;
        text-align: center;
    }

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

    .page-index-hero-cta-group {
        justify-content: center;
    }

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

    .page-index-app-download-content {
        flex-direction: column;
        text-align: center;
    }

    .page-index-app-text-content .page-index-section-title,
    .page-index-app-text-content .page-index-section-title::after,
    .page-index-app-text-content .page-index-section-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .page-index-app-cta-group {
        justify-content: center;
    }
}

@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: 2em;
    }

    .page-index-hero-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .page-index-btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-index-hero-cta-group,
    .page-index-app-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .page-index-app-image {
        width: 250px;
    }
}

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

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

    .page-index-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}