/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A192F; /* Main dark blue background */
}

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

.page-index__section {
    padding: 80px 0;
    text-align: center;
}

.page-index__section--dark {
    background-color: #081527;
}

.page-index__section--highlight {
    background-color: #FFD700;
    color: #0A192F; /* Dark text on gold background */
}

.page-index__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index__section--highlight .page-index__section-title {
    color: #0A192F;
}

.page-index__section-subtitle {
    font-size: 1.2em;
    color: #B0B0B0;
    margin-bottom: 40px;
}

.page-index__section--highlight .page-index__section-subtitle {
    color: #333;
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #0A192F, #1F3C5E);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    min-height: 600px;
}

.page-index__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
    padding-right: 40px;
}

.page-index__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
    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.3);
}

.page-index__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index__hero-description {
    font-size: 1.3em;
    color: #D0D0D0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-index__hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.page-index__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-index__btn--primary {
    background-color: #FFD700;
    color: #0A192F;
}

.page-index__btn--primary:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

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

.page-index__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-index__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* About Section */
.page-index__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-index__content-grid:nth-child(even) {
    flex-direction: row-reverse;
}

.page-index__content-text {
    flex: 1;
    min-width: 300px;
}

.page-index__content-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #D0D0D0;
}

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

.page-index__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__feature-item {
    background-color: #1A2A44;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    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: brightness(1.2);
}

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

.page-index__feature-item p {
    font-size: 1em;
    color: #B0B0B0;
    line-height: 1.6;
}

/* Games Section */
.page-index__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__game-card {
    background-color: #1A2A44;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    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.4em;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-index__game-description {
    font-size: 0.95em;
    color: #B0B0B0;
    padding: 0 15px 20px;
    line-height: 1.6;
}

.page-index__game-card .page-index__btn {
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.page-index__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-index__promotion-title {
    font-size: 1.4em;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-index__promotion-description {
    font-size: 0.95em;
    color: #B0B0B0;
    padding: 0 15px 20px;
    line-height: 1.6;
}

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

/* CTA Section */
.page-index__cta-section {
    padding: 80px 0;
}

.page-index__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-index__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #0A192F;
}

.page-index__cta-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #333;
}

/* Detail Pages Section */
.page-index__detail-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__detail-card {
    background-color: #1A2A44;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-index__detail-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-index__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
    color: #E6C200;
}

.page-index__detail-description {
    font-size: 0.9em;
    color: #B0B0B0;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index__hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .page-index__hero-image-wrapper {
        max-width: 80%;
        margin-top: 40px;
    }

    .page-index__hero-buttons {
        justify-content: center;
    }

    .page-index__content-grid {
        flex-direction: column;
    }

    .page-index__content-grid:nth-child(even) {
        flex-direction: column;
    }

    .page-index__content-image {
        order: -1;
        margin-bottom: 30px;
    }

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

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

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

    .page-index__cta-title {
        font-size: 2.5em;
    }

    .page-index__cta-description {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-index__hero-section {
        padding: 80px 0 40px;
    }

    .page-index__section {
        padding: 60px 0;
    }

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

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

    .page-index__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index__btn {
        width: 100%;
    }

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

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

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