* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    position: relative;
    width: 100%;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 18px;
    user-select: none;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 0.6) 85%,
        rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 8vh;
    left: 5vw;
    right: 5vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.hero-left {
    max-width: 600px;
}

.hero-left h1 {
    font-family: 'Archivo', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    user-select: none;
}

.hero-left h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 0.2rem;
    user-select: none;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.poster-stack {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 270px;
    width: 600px;
    padding-bottom: 3vh;
    position: relative;
    overflow: hidden;
}

.poster {
    width: 160px;
    height: 240px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7),
                0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.poster:not(:first-child) {
    margin-left: -50px;
}

.poster:nth-child(2) {
    z-index: 2;
}

.poster:nth-child(3) {
    z-index: 3;
}

.poster:nth-child(4) {
    z-index: 4;
}

.poster:nth-child(5) {
    z-index: 5;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 55px;
    background: linear-gradient(135deg, #3c0b0d, #922b21);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    padding: 0 1rem;
    backdrop-filter: blur(4px);
    outline: none;
}

.search-button-container {
    text-decoration: none;
}

.search-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        top: 12vh;
    }

    .hero-left {
        max-width: 90%;
        margin: 2rem !important;
    }

    .hero-left h1 {
        font-size: 3.5rem;
    }

    .hero-left h2 {
        font-size: 1.3rem;
    }

    .poster-stack {
        width: 90%;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 2rem;
        gap: 1rem;
    }

    .poster {
        width: 120px;
        height: 180px;
        margin-left: 0 !important;
        z-index: auto !important;
    }

    .search-button {
        width: 140px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 16px;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }

    .hero-left h2 {
        font-size: 1rem;
    }

    .poster {
        width: 100px;
        height: 150px;
    }

    .search-button {
        width: 120px;
        height: 45px;
        font-size: 0.95rem;
    }
}
