/* style/index-core-game-features.css */

:root {
    --page-primary-color: #0A2342;
    --page-secondary-color: #FFD700;
    --page-text-light: #F0F0F0;
    --page-text-dark: #333333;
    --page-accent-color: #f5dcbd; /* Derived from complementary of primary */
    --page-button-hover: #e6c200;
}

.page-index-core-game-features {
    font-family: 'Arial', sans-serif;
    color: var(--page-text-light);
    background-color: var(--page-primary-color);
    line-height: 1.6;
}

.page-index-core-game-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-core-game-features__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-core-game-features__section:nth-of-type(even) {
    background-color: #0F2E52; /* Slightly lighter dark blue for contrast */
}

.page-index-core-game-features__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-secondary-color);
    text-transform: uppercase;
}

.page-index-core-game-features__section-title .highlight, .page-index-core-game-features__section-title .keyword {
    color: var(--page-secondary-color);
}

.page-index-core-game-features__section-description {
    font-size: 1.2em;
    color: var(--page-text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-core-game-features__hero-section {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #1A3F6D 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-core-game-features__hero-title {
    font-size: 3.8em;
    color: var(--page-text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-index-core-game-features__hero-title .highlight {
    color: var(--page-secondary-color);
}

.page-index-core-game-features__hero-subtitle {
    font-size: 1.5em;
    color: var(--page-accent-color);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-core-game-features__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-core-game-features__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-index-core-game-features__btn--primary {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
}

.page-index-core-game-features__btn--primary:hover {
    background-color: var(--page-button-hover);
    transform: translateY(-3px);
}

.page-index-core-game-features__btn--secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-index-core-game-features__btn--secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-primary-color);
    transform: translateY(-3px);
}

.page-index-core-game-features__btn--tertiary {
    background-color: #0F2E52;
    color: var(--page-accent-color);
    border: 1px solid var(--page-accent-color);
}

.page-index-core-game-features__btn--tertiary:hover {
    background-color: var(--page-accent-color);
    color: var(--page-primary-color);
    transform: translateY(-3px);
}

.page-index-core-game-features__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-index-core-game-features__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-index-core-game-features__text-content {
    flex: 1;
    font-size: 1.1em;
    color: var(--page-text-light);
}

.page-index-core-game-features__text-content p {
    margin-bottom: 15px;
}

.page-index-core-game-features__text-content .keyword {
    color: var(--page-secondary-color);
    font-weight: bold;
}

.page-index-core-game-features__text-content .page-index-core-game-features__inline-link {
    color: var(--page-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-core-game-features__text-content .page-index-core-game-features__inline-link:hover {
    color: var(--page-button-hover);
    text-decoration: underline;
}

.page-index-core-game-features__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-index-core-game-features__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index-core-game-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-core-game-features__grid-item {
    background-color: #1A3F6D; /* Dark blue */
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-core-game-features__grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-index-core-game-features__grid-item-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-core-game-features__grid-item-title {
    font-size: 1.8em;
    color: var(--page-secondary-color);
    margin-bottom: 15px;
}

.page-index-core-game-features__grid-item-text {
    font-size: 1em;
    color: var(--page-text-light);
}

.page-index-core-game-features__cta-bottom {
    background: linear-gradient(45deg, var(--page-primary-color) 0%, #1A3F6D 100%);
    padding: 80px 0;
}

.page-index-core-game-features__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-core-game-features__hero-title {
        font-size: 3em;
    }
    .page-index-core-game-features__section-title {
        font-size: 2.2em;
    }
    .page-index-core-game-features__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-index-core-game-features__content-wrapper--reverse {
        flex-direction: column-reverse;
    }
    .page-index-core-game-features__hero-actions, .page-index-core-game-features__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-core-game-features__btn {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-index-core-game-features__hero-title {
        font-size: 2.5em;
    }
    .page-index-core-game-features__hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-core-game-features__section-title {
        font-size: 1.8em;
    }
    .page-index-core-game-features__section-description {
        font-size: 1em;
    }
    .page-index-core-game-features__grid {
        grid-template-columns: 1fr;
    }
    .page-index-core-game-features__grid-item {
        padding: 25px;
    }
    .page-index-core-game-features__grid-item-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-index-core-game-features__hero-title {
        font-size: 2em;
    }
    .page-index-core-game-features__hero-subtitle {
        font-size: 1em;
    }
    .page-index-core-game-features__section-title {
        font-size: 1.6em;
    }
    .page-index-core-game-features__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-core-game-features__grid-item-title {
        font-size: 1.5em;
    }
    .page-index-core-game-features__grid-item-image {
        height: 150px;
    }
    .page-index-core-game-features__text-content {
        font-size: 0.95em;
    }
}