.main-header{
    display: none;
}
.content-wrapper {
    padding: 0;
}

/* Menu */
.side-drawer {
    position: fixed;
    top: 0;
    left: -360px;
    width: 300px;
    height: 100%;
    background: #0f172a;
    z-index: 2100;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}
.side-drawer.active {
    transform: translateX(360px);
}
.drawer-nav a {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
}
.drawer-nav a:hover {
    color: var(--accent);
}
/* burger button */
.burger-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.burger-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent);
}
.burger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.burger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}
.burger-btn.open .burger-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.open .burger-icon span:nth-child(2) { opacity: 0; }
.burger-btn.open .burger-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2050;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* close menu */
.md-close-menu{
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 30%;
    font-size: 32px;
    cursor: pointer;
    z-index: 20;
}

/* Right buttons */
.search-wrapper {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    width: 45px;
    height: 45px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.search-container.active {
    width: 500px;
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
}
.search-input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    padding: 0 2px;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
}
.search-container.active .search-input {
    width: 100%;
    opacity: 1;
    padding: 0 14px;
}
.auth-link, .search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
.auth-link:hover,  .search-btn:hover {
    color: var(--accent);
}
.auth-link svg, .search-btn svg {
    width: 22px;
    height: 22px;
}
.auth-action{
    margin-left: 4px;
}

/* Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: block;
    margin-bottom: 40px;
}
.hero-slider.fullscreen {
    height: 100vh;
    width: 100%;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
/* slide */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.slide.is-fallback {
    background-size: cover;
    background-position: center;
}
.slide.active {
    opacity: 1;
    z-index: 10;
    visibility: visible;
}
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(11, 15, 25, 0.85) 0%,
            rgba(11, 15, 25, 0.4) 20%,
            transparent 80%
        ),
        linear-gradient(
            0deg,
            rgba(11, 15, 25, 0.6) 0%,
            transparent 20%
        );
    z-index: 2;
}
.blur-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inherit;
    filter: blur(10px) brightness(0.5);
    transform: scale(1.1);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 50px;
}
.is-fallback .hero-container {
    position: relative;
    z-index: 5;
}
.hero-content {
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    width: 100%;
}
.is-fallback .hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
/* texts */
.hero-title {
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    min-width: 800px;
}
.hero-desc {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 550px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
    padding: 5px 0;
}
.ratings-row-slider{
    margin-bottom: 25px;
}
/* poster */
.big-poster-wrapper {
    flex-shrink: 0;
    animation: floatPoster 6s ease-in-out infinite;
}
.big-poster {
    width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}
@keyframes floatPoster {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
/* buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 20px 15px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.slider-arrow:hover {
    background: var(--accent);
    color: #000;
}
.prev {
    left: 0;
    border-radius: 0 10px 10px 0;
}
.next {
    right: 0;
    border-radius: 10px 0 0 10px;
}
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 10px;
}
/* scrolling */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 2%;
    transform: translateX(-50%);
    z-index: 20;
    opacity: 0.6;
}
.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
}
.mouse::after {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    position: absolute;
    left: 50%; transform: translateX(-50%);
    top: 5px;
    border-radius: 50%;
    animation: scroll 2s infinite;
}
@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* Blocks */
.sections-list {
    margin-top: 0px;
    position: relative;
    z-index: 5;
}
.row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 20px;
}
.row-title {
    font-size: 24px;
    margin: 0;
}
.row-all {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 1024px) {
    .hero-title{
        min-width: 600px;
    }
    .big-poster {
        width: 250px;
    }
    .franchises-horizontal-row{
        max-height: 250px;
        overflow: hidden;
    }
    .grid{
        overflow: hidden;
    }
}
@media (max-width: 768px) {
    .search-wrapper{
        display: none;
    }
    .hero-content {
        text-align: center;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .is-fallback .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-title{
        min-width: auto;
    }
    .scroll-indicator{
        display: none;
    }
    .ratings-row-slider {
        justify-content: center;
    }
    .big-poster {
        width: 180px;
    }
}