

.logo {
    display: flex;
    justify-content: center;
    padding: 5px;
    font-family: "Rubik Vinyl", serif;
    font-weight: 400;
    font-style: normal;
    img{
        width: 100%;
        height: auto;
        max-width: 780px;
    }
}

.wrapper{
    max-width: 960px;
    height: auto;
    background-color: rgba(255, 228, 196, 0.767);
    padding: 25px;
    margin: auto;
    margin-top: 5px;
}

/* BANNER-HOME */


.banners {
    position: relative;
    display: flex;
    padding: 0;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.banner {
    position: relative;
    width: calc(25% - 20px);
    min-width: 180px;
    aspect-ratio: 180 / 260;
    overflow: hidden;
}

.banner a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    justify-content: top;
}

.banner span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.76);
    color: white;
    padding: 10px;
    z-index: 2;
}

.banner h3 {
    margin: 0;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    word-wrap: break-word;  /* Перенос длинных слов */
    overflow-wrap: break-word; /* Современный вариант */
    hyphens: auto; /* Авто-перенос */
    padding: 0 5px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .banner h3 {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .banner h3 {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 600px) {
    .banner h3 {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
}

.imdb-rating {
    position: absolute;
    top: 5px;
    right: 2px;
    background-color: rgba(255, 255, 0, 0.856); /* Желтый цвет как у IMDB */
    color: black;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 3;
    font-size: 12px;
}

.banner .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    z-index: 3;
}

.banner .play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid black;
    margin-left: 5px; /* Небольшое смещение для точного центра */
}

.load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.banner .serial-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
}

.banner {
    width: calc(25% - 20px);
    min-width: 180px;
    aspect-ratio: 180 / auto;
    /* background-color: blue; */
    height: 290px;
}



@media (max-width: 1200px) {
    .banner {
        width: calc(33.33% - 20px);
    }
    
}

@media (max-width: 900px) {
    .banner {
        width: calc(50% - 20px);
    }
    
}

@media (max-width: 600px) {
    .banner {
        width: 100%;
    }
    
    .banner-0 {
        display: none;
    }
}

/* /BANNER-HOME */

/* SCROLL-TOP */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Изменено с right на left */
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.scroll-to-top.visible {
    opacity: 1;
}
/* /SCROLL-TOP */