/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.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: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-index-btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-index-btn-primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    color: #001a33;
}

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

.page-index-btn-secondary:hover {
    background-color: #003366;
    color: #FFCC00;
}

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

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

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

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #003366, #00509e);
    color: #fff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 600px;
}

.page-index-hero-content {
    flex: 1;
    max-width: 600px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFCC00; /* Ensure high contrast */
}

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

.page-index-hero-actions .page-index-btn {
    margin-right: 15px;
}

.page-index-hero-image-wrapper {
    flex: 1;
    text-align: center;
}

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

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

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

.page-index-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-index-feature-item {
    background-color: #fff;
    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-feature-item:hover {
    transform: translateY(-5px);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

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

.page-index-feature-item p {
    color: #666;
}

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

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

.page-index-game-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-index-game-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-game-description {
    color: #666;
    margin-bottom: 20px;
    padding: 0 15px;
}

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

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

.page-index-promo-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
}

.page-index-promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-index-promo-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index-promo-description {
    color: #555;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* Download Section */
.page-index-download {
    padding: 80px 0;
    background: linear-gradient(90deg, #003366, #004488);
    color: #fff;
}

.page-index-download .page-index-section-title, .page-index-download .page-index-section-subtitle {
    color: #FFCC00;
}

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

.page-index-download-text {
    flex: 1;
}

.page-index-download-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index-download-buttons .page-index-btn {
    margin-right: 20px;
}

.page-index-download-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-index-download-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Responsible Gaming Section */
.page-index-responsible-gaming {
    padding: 80px 0;
    background-color: #fcfcfc;
    text-align: center;
}

.page-index-responsible-gaming p {
    font-size: 1.1em;
    color: #444;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

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

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

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

.page-index-detail-title a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

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

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

/* Call to Action Section */
.page-index-cta {
    background: linear-gradient(45deg, #FFCC00, #e6b800);
    padding: 80px 20px;
    text-align: center;
    color: #003366;
}

.page-index-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #003366;
}

.page-index-cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #333;
}

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

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

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

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

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

    .page-index-download-image {
        max-width: 100%;
    }
}

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

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

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

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

    .page-index-download-buttons .page-index-btn {
        display: block;
        margin: 10px auto;
    }
}

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

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

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

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