.page-index {
    color: #f0f0f0; /* Light text for overall page content, assuming dark background */
    background-color: #1A1A1A; /* Main background color */
    padding-top: var(--header-offset, 120px);
}

.page-index__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.page-index__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-index__hero-container {
    position: relative;
}

.page-index__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-index__hero-title {
    font-size: 3.5em;
    color: #DAA520;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

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

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

.page-index__btn--primary {
    background-color: #DAA520;
    color: #1A1A1A;
    border: 2px solid #DAA520;
}

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

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

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

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

.page-index__section-title {
    font-size: 2.5em;
    color: #DAA520;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index__features-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__download-section,
.page-index__guide-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.page-index__feature-card,
.page-index__game-card,
.page-index__guide-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__feature-card:hover,
.page-index__game-card:hover,
.page-index__guide-card:hover {
    transform: translateY(-5px);
}

.page-index__feature-icon,
.page-index__game-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index__feature-title,
.page-index__game-title,
.page-index__guide-title {
    font-size: 1.8em;
    color: #DAA520;
    margin-bottom: 15px;
}

.page-index__feature-description,
.page-index__game-description,
.page-index__guide-description {
    font-size: 1em;
    color: #c0c0c0;
    line-height: 1.6;
}

.page-index__guide-title .page-index__guide-link {
    color: #DAA520;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__guide-title .page-index__guide-link:hover {
    color: #e5c063;
    text-decoration: underline;
}

.page-index__promo-section,
.page-index__download-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.page-index__promo-section:nth-of-type(odd) {
    flex-direction: row-reverse;
}

.page-index__promo-content,
.page-index__download-content {
    flex: 1;
    text-align: left;
}

.page-index__promo-image,
.page-index__download-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    min-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-index__promo-description,
.page-index__download-description {
    font-size: 1.1em;
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-index__download-platforms {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start;
}

.page-index__platform-icon {
    max-width: 150px;
    height: auto;
    min-height: 45px;
    object-fit: contain;
}

.page-index__support-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__support-text {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__promo-image,
    .page-index__download-image {
        max-width: 40%;
    }
}

@media (max-width: 768px) {
    .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%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-index__features-grid,
    .page-index__games-grid,
    .page-index__guide-grid {
        grid-template-columns: 1fr;
    }
    .page-index__promo-section,
    .page-index__download-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page-index__promo-section:nth-of-type(odd) {
        flex-direction: column;
    }
    .page-index__promo-image,
    .page-index__download-image {
        max-width: 100%;
        min-width: 200px;
    }
    .page-index__promo-content,
    .page-index__download-content {
        text-align: center;
    }
    .page-index__download-platforms {
        justify-content: center;
    }
    .page-index img {
        max-width: 100%;
        height: auto;
    }
    .page-index__feature-icon, .page-index__game-image, .page-index__promo-image, .page-index__download-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}