.games-hero {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(14, 165, 233, 0.08));
}

.games-showcase {
    padding: 4rem 1.5rem 6rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0) 60%);
}

.games-showcase__intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.games-showcase__intro h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.games-showcase__intro p {
    margin: 0;
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.game-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-radius: 28px;
    border: 4px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    min-height: 180px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
    position: relative;
    isolation: isolate;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.game-card__image {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-right: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.game-card__image svg {
    width: 72px;
    height: 72px;
}

.game-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.game-card__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.1;
    color: #ffffff;
}

.game-card__description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.game-card--active:hover,
.game-card--active:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.game-card--disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.game-card--disabled:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 4px;
}

.game-card--guess {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

.game-card--teal {
    background: linear-gradient(135deg, #2dd4bf 0%, #0ea5e9 100%);
}

.game-card--violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.game-card--slate {
    background: linear-gradient(135deg, #475569 0%, #0f172a 100%);
}

.games-message {
    margin: 3rem auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    min-height: 1.5rem;
    opacity: 0;
    transition: opacity 200ms ease;
}

.games-message.is-visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .games-showcase {
        padding: 3rem 1.25rem 4rem;
    }

    .game-card {
        flex-direction: column;
        text-align: center;
    }

    .game-card__image {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .game-card__title {
        font-size: 1.5rem;
    }

    .game-card__description {
        font-size: 0.95rem;
    }
}
