/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light gray for general text on dark background */
    background-color: #051433; /* Slightly darker than main for depth */
}

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

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

.page-index-btn-primary {
    background-color: #E3B23C; /* Auxiliary color */
    color: #0A2463; /* Main color for text on auxiliary background */
    border: 2px solid #E3B23C;
}

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

.page-index-btn-secondary {
    background-color: transparent;
    color: #E3B23C; /* Auxiliary color for text */
    border: 2px solid #E3B23C;
}

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

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

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

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

.page-index-btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

.page-index-section-title {
    font-size: 38px;
    color: #E3B23C;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-section-description {
    font-size: 18px;
    color: #D0D0D0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

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

.page-index-hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 0 20px;
}

.page-index-hero-title {
    font-size: 52px;
    color: #E3B23C;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.page-index-hero-description {
    font-size: 22px;
    color: #F0F0F0;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

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

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

/* About Section */
.page-index-about-section {
    padding: 80px 0;
    background-color: #0A2463;
    color: #F8F8F8;
    text-align: center;
}

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

.page-index-feature-item {
    background-color: #1A3A70;
    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 #E3B23C);
}

.page-index-feature-title {
    font-size: 24px;
    color: #E3B23C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-feature-text {
    font-size: 16px;
    color: #D0D0D0;
    line-height: 1.6;
}

/* Games Section */
.page-index-games-section {
    padding: 80px 0;
    background-color: #051433;
    color: #F8F8F8;
    text-align: center;
}

.page-index-game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-index-game-card {
    background-color: #1A3A70;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-index-game-title {
    font-size: 22px;
    color: #E3B23C;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-index-game-text {
    font-size: 15px;
    color: #D0D0D0;
    padding: 0 15px 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.page-index-game-card .page-index-btn {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* Promo Section */
.page-index-promo-section {
    padding: 80px 0;
    background-color: #0A2463;
    color: #F8F8F8;
    text-align: center;
}

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

.page-index-promo-card {
    background-color: #1A3A70;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-index-promo-title {
    font-size: 24px;
    color: #E3B23C;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-index-promo-text {
    font-size: 16px;
    color: #D0D0D0;
    padding: 0 15px 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.page-index-promo-card .page-index-btn {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* App Section */
.page-index-app-section {
    padding: 80px 0;
    background-color: #051433;
    color: #F8F8F8;
}

.page-index-app-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index-app-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

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

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

.page-index-app-download-buttons {
    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: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Details List Section */
.page-index-details-list-section {
    padding: 80px 0;
    background-color: #0A2463;
    color: #F8F8F8;
    text-align: center;
}

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

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

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

.page-index-detail-title {
    font-size: 24px;
    color: #E3B23C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-detail-title a {
    color: #E3B23C;
    text-decoration: none;
}

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

.page-index-detail-description {
    font-size: 16px;
    color: #D0D0D0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-index-detail-card .page-index-btn {
    width: auto;
}

/* CTA Section */
.page-index-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A2463, #051433);
    text-align: center;
    color: #F8F8F8;
}

.page-index-cta-title {
    font-size: 42px;
    color: #E3B23C;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-cta-description {
    font-size: 20px;
    color: #D0D0D0;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Floating Promo */
.page-index-floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #E3B23C;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.page-index-floating-promo:hover {
    transform: scale(1.05);
}

.page-index-floating-promo a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #0A2463;
    font-weight: bold;
    font-size: 18px;
}

.page-index-floating-promo-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

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

    .page-index-hero-content, .page-index-hero-image-wrapper {
        max-width: 100%;
    }

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

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

    .page-index-app-content .page-index-section-title,
    .page-index-app-content .page-index-section-description {
        text-align: center;
    }

    .page-index-app-download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-index-hero-title {
        font-size: 40px;
    }

    .page-index-hero-description {
        font-size: 18px;
    }

    .page-index-section-title {
        font-size: 30px;
    }

    .page-index-section-description {
        font-size: 16px;
    }

    .page-index-cta-title {
        font-size: 34px;
    }

    .page-index-cta-description {
        font-size: 18px;
    }

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

    .page-index-btn-lg {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
}

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

    .page-index-hero-description {
        font-size: 16px;
    }

    .page-index-section-title {
        font-size: 26px;
    }

    .page-index-section-description {
        font-size: 14px;
    }

    .page-index-cta-title {
        font-size: 28px;
    }

    .page-index-cta-description {
        font-size: 16px;
    }

    .page-index-floating-promo a {
        padding: 8px 15px;
        font-size: 16px;
    }

    .page-index-floating-promo-icon {
        width: 25px;
        height: 25px;
    }
}