@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");



body {
    display: flex;
    background-color: #07060f;
    color: #fff;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

ul {
    position: relative;
    left: 454px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    top: 56px;
    list-style-type: none;
    width: 386px;
    color: #A5A5A5;
}

ul li a {
    text-decoration: none; /* Убираем подчеркивание у ссылок */
    color: #000; /* Цвет текста (можно заменить) */
    font-weight: bold; /* Делаем текст жирным (по желанию) */
}

ul li a:hover {
    color: #007BFF; /* Цвет при наведении мыши (по желанию) */
}

.search-wrapper {
    position: relative; /* Для правильного позиционирования */
    top: 24px;
    z-index: 99999;
}

.placeholder-svg {
    position: absolute;
    right: 114px;
    top: 26px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.search-input {
    width: 103px;
    height: 40px;
    border: none;
    border-radius: 20px;
    padding: 0 15px;
    font-size: 16px;
    background-color: #33333300;
    color: white;
    transition: width 0.5s ease, background-color 0.3s ease;
    position: absolute;
    right: 40px;
    top: 7px;
}
/* Скрыть SVG, когда поле ввода активно */
.search-input:focus + .placeholder-svg,
.search-input:not(:placeholder-shown) + .placeholder-svg {
    opacity: 0; /* Убираем SVG при фокусе или если текст введён */
}

/* Увеличиваем ширину поля ввода при фокусе */
.search-wrapper.expanded .search-input {
    width: 300px; /* Ширина при раскрытии поля ввода */
    background-color: #fff; /* Фоновый цвет при фокусе */
    color: #fff; /* Цвет текста при фокусе */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background:none;
    border:solid;
}

.content2 {
    flex: 1 0 auto;
    width: 100%; /* растягиваем на всю ширину */
}

html,
body {
  height: 100%;
}
html {
  position: relative;
  min-height: 100%;
  padding-bottom: 50px;
  /* equal to footer height */
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  background: red;
  height: 50px;
  width: 100%;
}

.social-icon, .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
    list-style: none;
}

.social-icon__link {
    font-size: 2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

.social-icon__link:hover {
    transform: translateY(-10px);
}

.menu__link {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
}

.menu__link:hover {
    opacity: 1;
}

.footer p {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 300;
}

.wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("https://i.ibb.co/wQZVxxk/wave.png");
    background-size: 1000px 100px;
}
        
.wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 4s linear infinite;
}
        
.wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 4s linear infinite !important;
}
        
.wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWaves 3s linear infinite;
}
        
.wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animate 3s linear infinite;
}
        
@keyframes animateWaves {
    0% {
        background-position-x: 1000px;
    }
    100% {
        background-position-x: 0px; /* Исправляем опечатку здесь */
    }
}
        
@keyframes animate {
    0% {
        background-position-x: -1000px;
    }
    100% {
        background-position-x: 0px; /* Исправляем опечатку здесь */
    }
}

@font-face {
  font-family: 'OutfitBold';
  src: url('../fonts/Outfit-Bold.ttf') format('ttf');
}
p{
font-family: 'Ubuntu', sans-serif;
font-size: 13px;
}
h1{
font-family: 'Ubuntu', sans-serif;

}
.h{
position: absolute;
width: 650px;
height: auto;
left: 130px;
right: -100px;
top: 197px;
bottom: -156.76px;
font-size: 45px;
font-weight: 700;
line-height: 52px;
letter-spacing: 0px;
text-align: left;
font-family: 'OutfitBold', sans-serif; /* Use the font in your styles */
line-height: 60px;
}
.h2{
position: absolute;
width: 650px;
height: auto;
left: 130px;
right: -100px;
top: 248px;
bottom: -156.76px;
font-size: 45px;
font-weight: 700;
line-height: 52px;
letter-spacing: 0px;
text-align: left;
font-family: 'OutfitBold', sans-serif; /* Use the font in your styles */
line-height: 60px;
}
.blue {
  color: #2543FF;  /* Set the color */
  text-shadow: 4px 1px 15px #2543FF;  /* Add a white shadow for a glowing effect */
}
.white {
  color: #fff;  /* Set the color */
  text-shadow: 4px 1px 15px #fff;  /* Add a white shadow for a glowing effect */
}
.bc{
position: absolute;
width: 100%;
height: 690px;
left: 0;
right: 0;
top: 0;
bottom: 683px;
background-size: cover;  /* Adjust as needed */
}
.logo {
    position: absolute;
    width: 180px;
    height: auto;
    left: 320px;
    top: 14px;
    bottom: 1168.54px;
}

.logo-sidebar {
    position: static;
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 12px;
}

@media screen and (min-width: 781px) {
    header .logo {
        display: none;
    }
}

@media screen and (max-width: 780px) {
    .logo-sidebar {
        display: none;
    }
}

.search-container {
position: absolute;
width: 357px;
height: 37.45px;
right: 51px;
top: 730px;
bottom: 607.55px;
}

.search {
  width: 100%;
  height: 100%;
  color: #fff;
  border-radius: 43px;
  background-color: #201c31;
  border: none; /* Remove the border */
  padding-right: 30px; /* Adjust as needed to make room for the icon */
  padding-left: 10px; /* Adjust the left padding for the text */
}

.search1 {
    position: absolute;
    top: 166px;
    width: 78%;
    height: 43px;
    color: #fff;
    border-radius: 17px;
    background-color: #141414;
    border: none;
    padding-right: 30px;
    padding-left: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.svg1 {
  position: absolute;
  top: 50%;
  right: 15px; /* Adjust the distance from the right edge */
  transform: translateY(-50%);
  fill: #ffffff; /* Adjust the color of the icon */
}
.svg2 {
    position: absolute;
    top: 188px;
    left: 80%;
    transform: translateY(-50%);
    display: none;
}

.activebnt{
border:none;
color:#fff;
width: 90px;
height: 27px;
background-color: #0800FF;
}
.btnblue{
border:none;
color:#fff;
width: 120px;
height: 27px;
background-color: #332377;
border-radius:10px;
}
.btnorange{
border:none;
color:#fff;
padding: 0 10px;
height: 27px;
background-color: #ff5e00;
border-radius:10px;
}
.loadmore {
    border: none;
    color: #ffffff;
    width: 175px;
    height: 43px;
    background-color: #7333ff;
    border-radius: 13px;
    font-weight: 700;
    margin-top: 41px;
}

.bnt{
border:none;
color:#fff;
width: 90px;
height: 27px;
background-color: #303030;
}
.content{
position: relative;
left: 36px;
width: 95%;
display:flex;
flex-wrap: wrap;
flex-direction: row;
gap: 18px;
}

.movie-banner {
    width: 135px;
    height: 200px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.square {
    width: 100%;
    height: 100%;
    background-color: #2f2f2f;
    position: absolute;
    overflow: hidden;
    border-radius: 9px;
}
.textfilmload {
    width: 60px;
    height: 18px;
    background-color: #2f2f2f;
    position: absolute;
    overflow: hidden;
    border-radius: 9px;
    top: 210px;
}
.infofilmload {
    width: 125px;
    height: 18px;
    background-color: #2f2f2f;
    position: absolute;
    overflow: hidden;
    border-radius: 9px;
    top: 235px;
}



.finfo {
    color: #7f7995;
    font-size: 13px;
    display: flex;  
    flex-direction: row;
    justify-content: space-between;
}

.square::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 23%) 50%, rgba(255, 255, 255, 0) 100%);
    top: 0;
    left: -100%;
    animation: shine 0.8s linear infinite;
}
.infofilmload::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 23%) 50%, rgba(255, 255, 255, 0) 100%);
    top: 0;
    left: -100%;
    animation: shine 0.8s linear infinite;
}
.textfilmload::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 23%) 50%, rgba(255, 255, 255, 0) 100%);
    top: 0;
    left: -100%;
    animation: shine 0.8s linear infinite;
}

@keyframes shine {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(200%);
    }
}

#newMoviesContent::-webkit-scrollbar {
  display: none; /* Скрыть полосу прокрутки для браузеров WebKit */
}

#newMoviesContent {
  -ms-overflow-style: none; /* Скрыть полосу прокрутки для IE и Edge */
  scrollbar-width: none; /* Скрыть полосу прокрутки для браузеров, поддерживающих стандарт CSS Scrollbars (Firefox) */
}
#popularHorrorsContent::-webkit-scrollbar {
  display: none; /* Скрыть полосу прокрутки для браузеров WebKit */
}

#popularHorrorsContent {
  -ms-overflow-style: none; /* Скрыть полосу прокрутки для IE и Edge */
  scrollbar-width: none; /* Скрыть полосу прокрутки для браузеров, поддерживающих стандарт CSS Scrollbars (Firefox) */
}

#popularComedyContent::-webkit-scrollbar {
  display: none; /* Скрыть полосу прокрутки для браузеров WebKit */
}

#popularComedyContent {
  -ms-overflow-style: none; /* Скрыть полосу прокрутки для IE и Edge */
  scrollbar-width: none; /* Скрыть полосу прокрутки для браузеров, поддерживающих стандарт CSS Scrollbars (Firefox) */
}

.movie-banner img {
max-width: 100%;
border-radius: 9px;
}

.movie-title {
    margin-top: -15px;
    text-align: left;
    font-weight: 700;
    font-size: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.movie-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 10px;
}

.movie-banner-movie {
    position: relative;
}

.movie-banner-movie::before {
    content: 'Фільм';
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    background-color: rgb(53, 70, 255);
	border-radius: 10px;
	font-size: 10px;
    color: #fff;
    font-weight: bold;
    display:none;
}

.movie-banner-series {
    position: relative;
}

.movie-banner-series::before {
    content: 'Серіал';
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
	border-radius: 10px;
	font-size: 10px;
    background-color: rgb(255, 0, 102);
    color: #fff;
    font-weight: bold;
    display: none;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
	font-family: 'OutfitBold', sans-serif; /* Use the font in your styles */
}

a:hover {
    text-decoration: none;
    color: inherit;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000000;
    width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
	flex-direction: column;
}


.dropdown:hover .dropdown-content {
  display: flex;
}
.movie-genre {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #0026;
  color: white;
  padding: 5px;
}

@media screen and (max-width: 1151px) {
    .search-container{
        left: 31px;
        top: 774px;
    }
}

@media screen and (max-width: 780px) {
    .bc{
        background-image: url('../img/background.png');
    }
    .movie-banner{
        width: 154px;
        height: 231px;
    }
    .textfilmload {
        width: 60px;
        height: 16px;
        background-color: #2f2f2f;
        position: absolute;
        overflow: hidden;
        border-radius: 9px;
        top: 262px;
    }
    .infofilmload {
        width: 125px;
        height: 18px;
        background-color: #2f2f2f;
        position: absolute;
        overflow: hidden;
        border-radius: 9px;
        top: 239px;
    }
    .search-container{
        display:none;
    }
    .bc{
        height: 216px;
    }
    .content{
        top:232px;
        width: 90%;
    }
    .logo {
        width: 260px;
        top: 100px;
        left: 50%;
        z-index: 1000;
        transform: translate(-50%, -50%);
    }
    span{
        font-size:10px;
    }
}
.buttonloginmobile {
    display: none;
}
.container-content {
    margin-left: 320px;
    margin-top: 26px;
    height: 100%;
}
.left-menu{
    position: fixed;
    height: 100vh;
    width: 300px;
    left: 0px;
    top: 0px;
    background: linear-gradient(114.81deg, rgb(11, 11, 11) 15.306%,rgb(13, 7, 26) 67.092%);
    padding: 0px;
    z-index: 999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.left-menu > div {
    overflow-y: auto;
    padding: 20px;
    flex: 1;
}

.left-menu > div::-webkit-scrollbar {
    width: 6px;
}

.left-menu > div::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.left-menu > div::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.left-menu > div::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.left-menu-item {
    display: block;
    padding: 8px 12px;
    color: #a5a5a5;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.left-menu-item:hover {
    background-color: rgba(104, 0, 207, 0.3);
    color: #fff;
}


@media only screen and (max-width: 780px) {
    .search-wrapper{
        display:none;
    }
    .container-content {
        margin-left: 0px;
        margin-top: 0px;
        height: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .content {
        padding-bottom: 120px !important;
        margin-bottom: 0 !important;
    }
    .movie-banner {
        margin-bottom: 40px;
    }
    .mobile-spacer {
        height: 80px;
        display: block;
    }
    .left-menu{
        display:none;
    }
    .mobile-bottom-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #07060f;
        color: white;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 1000;
    }

    .svg2{
        display:block;
    }
    .search1{
        display:block;
    }

    .buttonloginmobile {
        position: fixed;
        width: 40px;
        height: 40px;
        display: block;
        right: 20px;
        top: 20px;
        z-index: 1000;
        display: none;
    }

    .buttonloginmobile svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    .mobile-bottom-panel a {
        text-decoration: none;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mobile-bottom-panel svg {
        display: block;
        width: 24px;
        height: 24px;
        margin-bottom: 5px;
    }
}
.menucategories {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 6, 15, 0.8);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.35s cubic-bezier(0.23, 1, 0.320, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.filter-modal {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.9) 0%, rgba(18, 25, 45, 0.9) 100%);
    border-radius: 20px;
    padding: 35px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 100, 130, 0.2);
    animation: slideUp 0.35s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.filter-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 100, 130, 0.15), transparent);
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(100, 100, 130, 0.15);
    position: relative;
}

.filter-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 35px;
    background: linear-gradient(90deg, #004488, #005566);
    animation: slideRight 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

@keyframes slideRight {
    from {
        width: 0;
    }
    to {
        width: 35px;
    }
}

.filter-header h2 {
    margin: 0;
    font-size: 26px;
    color: #e8e8f0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.close-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 26px;
    cursor: pointer;
    padding: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    z-index: 10;
}

.close-btn:hover {
    background-color: rgba(80, 80, 110, 0.2);
    transform: rotate(90deg) scale(1.08);
    color: #ddd;
}

.close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    color: rgba(200, 200, 210, 0.8);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.320, 1);
    color: rgba(200, 200, 210, 0.7);
    font-weight: 500;
    font-size: 15px;
    border: 1px solid transparent;
    background-color: rgba(80, 80, 110, 0.1);
}

.radio-label:hover {
    background-color: rgba(80, 80, 110, 0.15);
    color: rgba(220, 220, 230, 0.9);
    border-color: rgba(100, 120, 150, 0.2);
}

.radio-box {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(100, 120, 150, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.320, 1);
    flex-shrink: 0;
}

.radio-item input[type="radio"]:checked + .radio-label {
    color: #ddd;
    background-color: rgba(80, 100, 140, 0.15);
    border-color: rgba(100, 120, 150, 0.3);
}

.radio-item input[type="radio"]:checked + .radio-label .radio-box {
    border-color: #005599;
    background: linear-gradient(135deg, #003d7a 0%, #004d8a 100%);
    box-shadow: 0 0 10px rgba(100, 120, 150, 0.3);
}

.radio-item input[type="radio"]:checked + .radio-label .radio-box::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #aaa;
    border-radius: 50%;
}

.modern-select {
    width: 100%;
    padding: 13px 15px;
    background-color: rgba(80, 80, 110, 0.08);
    border: 1px solid rgba(100, 120, 150, 0.2);
    border-radius: 10px;
    color: #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px;
    padding-right: 38px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.modern-select:hover {
    background-color: rgba(80, 80, 110, 0.12);
    border-color: rgba(100, 120, 150, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modern-select:focus {
    outline: none;
    background-color: rgba(80, 80, 110, 0.15);
    border-color: rgba(100, 120, 150, 0.4);
    box-shadow: 0 0 12px rgba(100, 120, 150, 0.2);
}

.modern-select option {
    background-color: #1a1a2a;
    color: #ddd;
    padding: 8px;
}

.filter-button {
    margin-top: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #003d80 0%, #004d90 50%, #005599 100%);
    color: #ddd;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(150, 170, 200, 0.15), transparent);
    transition: left 0.5s ease;
}

.filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #004d90 0%, #005d9a 50%, #0065a5 100%);
    color: #f0f0f0;
}

.filter-button:hover::before {
    left: 100%;
}

.filter-button:active {
    transform: translateY(0);
}

.filter-button svg {
    width: 16px;
    height: 16px;
}

/* Для старого .buttonblue стилю (если есть ещё где-то) */
.buttonblue {
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: #2543FF;
    color: white;
    cursor: pointer;
    width: 100%;
}
.year {
    background-color: #316775;
    color: #fff;
    font-size: 13px;
    border-radius: 17px;
    height: 22px;
    padding-inline: 10px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
}
.imbd {
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    height: 24px;
    padding: 3px;
    bottom: 60px;
    font-weight: 700;
    text-align: center;
    display: none;
}
.containerboxs{
    display: flex;
    align-items: center;
}
.usertoplogo{
    width: 40px;
    height: 40px;
    border-radius: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.a{
    font-family: "Inter", sans-serif;
    font-weight: 300;
    letter-spacing: 0px;
}
@media (min-width: 1200px){
    .h1, h1 {
        font-size: 1.5rem;
    }
}

/* Стили для searchresult */
#searchresult {
    margin-top: 229px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
    column-gap: 15px;
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
}

/* На ПК уменьшаем margin-top */
@media screen and (min-width: 781px) {
    #searchresult {
        margin-top: 41px;
        justify-content: flex-start;
    }
}

/* На мобільних додаємо padding-bottom */
@media screen and (max-width: 780px) {
    #searchresult {
        padding-bottom: 120px !important;
    }
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

/* Scroll Section Styles */
.scroll-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 -7px;
    transition: opacity 0.3s ease;
}

.scroll-button {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(80, 100, 200, 0.15) 0%, rgba(60, 80, 180, 0.1) 100%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0;
    opacity: 0 !important;
    pointer-events: none;
}

.scroll-section:hover .scroll-button {
    opacity: 1 !important;
    pointer-events: auto;
}

.scroll-button:hover {
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.25) 0%, rgba(80, 120, 200, 0.2) 100%);
    color: rgba(255, 255, 255, 1);
    border-color: rgba(100, 150, 255, 0.3);
    box-shadow: 0 4px 16px rgba(80, 120, 200, 0.15);
    transform: scale(1.05);
}

.scroll-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(80, 120, 200, 0.1);
}

.scroll-button:disabled {
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(40, 40, 60, 0.1) 0%, rgba(30, 30, 50, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
}

.scroll-section:hover .scroll-button:disabled {
    opacity: 0.35 !important;
}

.scroll-button:disabled:hover {
    background: linear-gradient(135deg, rgba(40, 40, 60, 0.1) 0%, rgba(30, 30, 50, 0.05) 100%);
    color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transform: scale(1);
}

.scroll-button svg {
    width: 20px;
    height: 20px;
}

/* Hide scroll buttons on mobile, but keep scroll container visible */
@media only screen and (max-width: 780px) {
    .scroll-button {
        display: none !important;
    }
}

