#games-showcase {
    width: 100%;
    padding-top: 0.5rem;
}

.game-item {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.game-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    box-shadow: inset 0 0 20px #000;
    z-index: 40;
}

.game-item:hover::before {
    box-shadow: 0 0 20px #000;
}

.game-content {
    display: flex;
    position: relative;
}

.game-item:nth-child(even) .game-content {
    flex-direction: row-reverse;
}

.game-info {
    flex: 1;
    padding: 3rem;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(15, 15, 15);
}

.game-link-wrapper {
    position: relative;
    z-index: 30;
    text-decoration: none;
}

.game-thumbnail {
    flex: 1.2;
    position: relative;
    z-index: 1;
    aspect-ratio: 21/9;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.game-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.7s ease;
}

.game-item:hover .game-thumbnail img {
    transform: scale(1.05);
}

.game-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.game-item:hover .game-title {
    color: var(--primary-hover);
}

.game-hook {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1026px) {
    .game-content {
        flex-direction: column !important;
        min-height: unset;
    }

    .game-thumbnail {
        height: 300px;
    }

    .game-info {
        padding: 2rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        clip-path: none !important;
    }

    .game-title {
        font-size: 2rem;
    }

    #games-showcase {
        margin: 1rem auto;
    }
}
