/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark backgrounds */
    background-color: #0A2342; /* Main dark background */
}

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

.page-index__center-text {
    text-align: center;
}

.page-index__grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-index__grid-layout {
        grid-template-columns: 1fr 1fr;
    }
    .page-index__grid-layout--reversed {
        grid-template-columns: 1fr 1fr;
    }
    .page-index__grid-layout--reversed .page-index__image-block {
        order: 2;
    }
    .page-index__grid-layout--reversed .page-index__content-block {
        order: 1;
    }
}

.page-index__image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
}

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

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

.page-index__hero-section {
    background: linear-gradient(135deg, #0A2342, #1A3A5F);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-index__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.page-index__hero-description {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-index__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

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

.page-index__btn--primary {
    background-color: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

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

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

.page-index__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-index__btn--text {
    color: #FFD700;
    text-decoration: underline;
    font-weight: normal;
    font-size: 1em;
    padding: 0;
    border: none;
    background: none;
}

.page-index__btn--text:hover {
    color: #e6c200;
    text-decoration: none;
}

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

.page-index__about-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__mobile-section,
.page-index__review-section,
.page-index__faq-section,
.page-index__cta-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__about-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-index__games-section {
    background-color: #0A2342;
}

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

.page-index__game-card {
    background-color: #1A3A5F;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__game-card:hover {
    transform: translateY(-5px);
    background-color: #2A4E78;
}

.page-index__game-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-index__promo-section {
    background-color: #0A2342;
}

.page-index__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-index__list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-index__list-highlight {
    color: #FFD700;
}

.page-index__mobile-section {
    background-color: #1A3A5F;
}

.page-index__mobile-app-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 40px auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index__app-download-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-index__review-section {
    background-color: #0A2342;
}

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

.page-index__review-card {
    background-color: #1A3A5F;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD700;
}

.page-index__review-text {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-index__reviewer-name {
    font-weight: bold;
    color: #FFD700;
    text-align: right;
}

.page-index__testimonial-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 50px auto 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__faq-section {
    background-color: #1A3A5F;
}

.page-index__faq-item {
    background-color: #0A2342;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-index__faq-question {
    color: #FFD700;
    font-size: 1.3em;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index__faq-answer {
    color: #cccccc;
    font-size: 1.05em;
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__faq-answer.active {
    display: block;
}

.page-index__cta-section {
    background: linear-gradient(135deg, #FFD700, #e6c200);
    padding: 100px 0;
    text-align: center;
    color: #0A2342; /* Dark text for light background */
}

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

.page-index__cta-description {
    font-size: 1.3em;
    color: #333333;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__cta-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 50px auto 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.2em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-subtitle {
        font-size: 1em;
    }
    .page-index__about-section,
    .page-index__games-section,
    .page-index__promo-section,
    .page-index__mobile-section,
    .page-index__review-section,
    .page-index__faq-section,
    .page-index__cta-section {
        padding: 60px 0;
    }
    .page-index__cta-title {
        font-size: 2.5em;
    }
    .page-index__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__btn {
        width: 90%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__section-subtitle {
        font-size: 0.9em;
    }
    .page-index__game-grid,
    .page-index__review-grid {
        grid-template-columns: 1fr;
    }
    .page-index__cta-title {
        font-size: 2em;
    }
    .page-index__cta-description {
        font-size: 1em;
    }
}