.swiper,
.swiper-container {
    width: 100%;
    height: 350px;
    padding: var(--space-sm);
    box-sizing: border-box;
    position: relative;
    text-align: center;
    overflow: hidden;
    /* overflow: visible; */
}
.swiper-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
    overflow: hidden;
    /* overflow: visible; */
}
.swiper-slide, 
.front-swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-sm);
    box-sizing: border-box;
    height:calc(100% - var(--space-lg));
    border-radius: var(--radius-md);
}
/* .front-swiper-slide {
  width: 400px !important;
} */

.swiper-slide img,
.game-link img,
.swiper-slide video {
    width: auto;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

 .game-link {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-muted);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); 
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-link:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-md-dark);
}

.game-link img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    transition: transform 0.3s ease;
}

.game-link:hover img {
    transform: scale(1.02);
}

.game-link h3 {
    font-size: 1rem;
    margin: 0;
    text-align: center;
} 