.series-grid, .episodes-grid, .watch-episodes-grid {
    display: grid;
    gap: 25px;
    padding: 30px 20px;
}

.series-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.series-card {
    background: linear-gradient(145deg, #fff, #ffefd6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0,0,0,.15), -4px -4px 15px hsla(0,0%,100%,.7);
    cursor: pointer;
    transition: transform .4s, box-shadow .4s;
    position: relative;
}

.series-card:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 20px;
    background: hsla(0,0%,100%,.2);
    pointer-events: none;
    transform: skewY(-2deg);
}

.series-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #f60;
    transition: transform .3s, box-shadow .3s;
}

.series-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 12px 12px 25px rgba(0,0,0,.25), -6px -6px 20px hsla(0,0%,100%,.5);
}

.series-info {
    padding: 12px;
    text-align: center;
}

.series-info h3 {
    font-size: 18px;
    color: #f60;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
