/* style/index.css */

:root {
    --page-index-primary-color: #FF4500; /* Orange-red */
    --page-index-secondary-color: #1E90FF; /* Deep blue */
    --page-index-text-dark: #333333;
    --page-index-text-light: #ffffff;
    --page-index-bg-light: #f8f8f8;
    --page-index-bg-dark: #2c3e50; /* A darker shade for contrast with light text */
    --page-index-border-color: #e0e0e0;
}

.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-text-dark);
}

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

.page-index__section-title {
    font-size: 2.5em;
    color: var(--page-index-text-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-index__highlight {
    color: var(--page-index-primary-color);
}

.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.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-index__btn--primary {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
}

.page-index__btn--primary:hover {
    background-color: #e63900; /* Slightly darker orange-red */
    transform: translateY(-2px);
}

.page-index__btn--secondary {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-light);
}

.page-index__btn--secondary:hover {
    background-color: #1a7ad9; /* Slightly darker deep blue */
    transform: translateY(-2px);
}

.page-index__btn--text {
    background: none;
    color: var(--page-index-secondary-color);
    padding: 0;
    margin-top: 15px;
}

.page-index__btn--text:hover {
    color: var(--page-index-primary-color);
    text-decoration: underline;
}

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

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

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, var(--page-index-primary-color), var(--page-index-secondary-color));
    color: var(--page-index-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.page-index__hero-content {
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

.page-index__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-index-text-light);
}

.page-index__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index__hero-image-wrapper {
    max-width: 500px;
    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-section {
    background-color: var(--page-index-bg-light);
    padding: 60px 0;
    text-align: center;
}

.page-index__about-section .page-index__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--page-index-text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Categories Section */
.page-index__game-categories-section {
    padding: 60px 0;
    background-color: var(--page-index-bg-dark);
    color: var(--page-index-text-light);
}

.page-index__game-categories-section .page-index__section-title {
    color: var(--page-index-text-light);
}

.page-index__game-categories-section .page-index__section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-index__game-card {
    background-color: #3b5266; /* Darker blue for card background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__game-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index__game-card-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 10px;
}

.page-index__game-card-description {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-index__promotions-section {
    background-color: var(--page-index-bg-light);
    padding: 60px 0;
    text-align: center;
}

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

.page-index__promo-card {
    background-color: var(--page-index-text-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__promo-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index__promo-card-title {
    font-size: 1.4em;
    color: var(--page-index-secondary-color);
    margin-bottom: 10px;
}

.page-index__promo-card-description {
    font-size: 0.95em;
    color: var(--page-index-text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index__all-promos-cta {
    margin-top: 40px;
}

/* Download Section */
.page-index__download-section {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-light);
    padding: 60px 0;
}

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

.page-index__download-content {
    flex: 1;
    min-width: 300px;
}

.page-index__download-section .page-index__section-title {
    color: var(--page-index-text-light);
    text-align: left;
}

.page-index__download-section .page-index__text-block {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index__download-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-index__download-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--page-index-text-light);
}

.page-index__icon--check {
    color: var(--page-index-primary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Placeholder for font awesome or similar icons */
.page-index__icon--check::before {
    content: '\2713'; /* Checkmark character */
    font-weight: bold;
}

.page-index__download-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* Guide Section */
.page-index__guide-section {
    padding: 60px 0;
    background-color: var(--page-index-bg-light);
    text-align: center;
}

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

.page-index__article-card {
    background-color: var(--page-index-text-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__article-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index__article-card-title {
    font-size: 1.4em;
    color: var(--page-index-text-dark);
    margin-bottom: 10px;
}

.page-index__article-card-title a {
    text-decoration: none;
    color: inherit;
}

.page-index__article-card-title a:hover {
    color: var(--page-index-primary-color);
}

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

/* Why Choose Section */
.page-index__why-choose-section {
    background-color: var(--page-index-bg-dark);
    color: var(--page-index-text-light);
    padding: 60px 0;
    text-align: center;
}

.page-index__why-choose-section .page-index__section-title {
    color: var(--page-index-text-light);
}

.page-index__why-choose-section .page-index__section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-index__feature-item {
    background-color: #3b5266;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.page-index__feature-item i {
    font-size: 3em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
}

/* Placeholder for specific icons */
.page-index__icon--security::before { content: '\1F512'; /* Lock */ }
.page-index__icon--diversity::before { content: '\1F3B2'; /* Dice */ }
.page-index__icon--support::before { content: '\1F4DE'; /* Phone */ }
.page-index__icon--fast-payment::before { content: '\1F4B8'; /* Money with wings */ }

.page-index__feature-title {
    font-size: 1.5em;
    color: var(--page-index-text-light);
    margin-bottom: 10px;
}

.page-index__feature-description {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Banner */
.page-index__cta-banner {
    background: var(--page-index-primary-color);
    color: var(--page-index-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-index-text-light);
}

.page-index__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index__cta-banner .page-index__btn {
    margin: 0 10px;
}

/* Contact Info */
.page-index__contact-info {
    background-color: var(--page-index-bg-light);
    padding: 40px 0;
    text-align: center;
}

.page-index__contact-text {
    font-size: 1.1em;
    color: var(--page-index-text-dark);
    margin-bottom: 20px;
}

/* 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__download-flex {
        flex-direction: column;
    }

    .page-index__download-section .page-index__section-title {
        text-align: center;
    }
}

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

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

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

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

    .page-index__btn--large {
        width: 80%;
        margin: 0 auto;
    }

    .page-index__game-grid,
    .page-index__promo-grid,
    .page-index__article-grid,
    .page-index__features-grid {
        grid-template-columns: 1fr;
    }

    .page-index__download-content,
    .page-index__download-image-wrapper {
        min-width: unset;
    }
}

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

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

    .page-index__btn--large {
        width: 100%;
    }

    .page-index__hero-cta-buttons {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-index__container {
        padding: 0 15px;
    }

    .page-index__hero-section, .page-index__about-section, .page-index__game-categories-section, .page-index__promotions-section, .page-index__download-section, .page-index__guide-section, .page-index__why-choose-section, .page-index__cta-banner, .page-index__contact-info {
        padding: 40px 0;
    }
}