/* 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: 0 15px;
}

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

.page-index__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-index__section-title {
    font-size: 2.8em;
    color: #2D3E50;
    margin-bottom: 20px;
    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: #F39C12;
    border-radius: 2px;
}

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

.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;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-index__btn--primary {
    background-color: #F39C12;
    color: #FFFFFF;
}

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

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

.page-index__btn--secondary:hover {
    background-color: #1a2b3c;
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #2D3E50 0%, #F39C12 100%);
    color: #FFFFFF;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.page-index__hero .page-index__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

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

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

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-index__hero-actions .page-index__btn {
    margin-right: 15px;
}

.page-index__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: 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 .page-index__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-index__about .page-index__content-block {
    flex: 2;
    min-width: 300px;
}

.page-index__about .page-index__image-block {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.page-index__about .page-index__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-index__benefits .page-index__grid-item {
    background-color: #FFFFFF;
    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__benefits .page-index__grid-item:hover {
    transform: translateY(-10px);
}

.page-index__benefits .page-index__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-index__benefits .page-index__item-title {
    font-size: 1.5em;
    color: #2D3E50;
    margin-bottom: 15px;
}

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

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

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

.page-index__games .page-index__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index__games .page-index__card-title {
    font-size: 1.4em;
    color: #2D3E50;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-index__games .page-index__game-card p {
    padding: 0 15px 20px;
    color: #666;
}

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

.page-index__promotions .page-index__promo-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-index__promotions .page-index__promo-image {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index__promotions .page-index__item-title {
    font-size: 1.6em;
    color: #2D3E50;
    margin-bottom: 15px;
}

.page-index__promotions .page-index__promo-item p {
    color: #666;
    margin-bottom: 20px;
}

/* Download Section */
.page-index__download {
    background-color: #2D3E50;
    color: #FFFFFF;
}

.page-index__download .page-index__section-title {
    color: #FFFFFF;
}

.page-index__download .page-index__section-subtitle {
    color: #E0E0E0;
}

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

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

.page-index__download-content p {
    color: #E0E0E0;
    margin-bottom: 20px;
}

.page-index__download-actions .page-index__btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.page-index__download-image-wrapper {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

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

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

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

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

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

.page-index__detail-card {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__detail-card .page-index__card-title {
    font-size: 1.4em;
    color: #2D3E50;
    margin-bottom: 10px;
}

.page-index__detail-card .page-index__card-title a {
    text-decoration: none;
    color: #2D3E50;
    transition: color 0.3s ease;
}

.page-index__detail-card .page-index__card-title a:hover {
    color: #F39C12;
}

.page-index__detail-card .page-index__card-description {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index__detail-card .page-index__btn {
    align-self: flex-start;
    background-color: #F39C12;
    color: #FFFFFF;
}

.page-index__detail-card .page-index__btn:hover {
    background-color: #e08b0c;
}

/* Call to Action Section */
.page-index__cta {
    background-color: #F39C12;
    color: #FFFFFF;
    padding: 80px 0;
}

.page-index__cta .page-index__section-title {
    color: #FFFFFF;
    font-size: 3em;
}

.page-index__cta .page-index__section-title::after {
    background-color: #FFFFFF;
}

.page-index__cta .page-index__section-subtitle {
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 50px;
}

.page-index__cta .page-index__btn--large {
    background-color: #2D3E50;
    color: #FFFFFF;
}

.page-index__cta .page-index__btn--large:hover {
    background-color: #1a2b3c;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero .page-index__container,
    .page-index__about .page-index__container,
    .page-index__download-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-index__hero-content,
    .page-index__about .page-index__content-block,
    .page-index__download-content {
        order: 2;
    }

    .page-index__hero-image-wrapper,
    .page-index__about .page-index__image-block,
    .page-index__download-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }

    .page-index__hero-actions,
    .page-index__download-actions {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .page-index__hero-actions .page-index__btn,
    .page-index__download-actions .page-index__btn {
        margin: 5px;
    }

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

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

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

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

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

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

    .page-index__grid,
    .page-index__game-categories,
    .page-index__promo-grid,
    .page-index__safety-features,
    .page-index__detail-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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