@import url('https://fonts.googleapis.com/css2?family=Netflix+Sans:wght@300;400;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--nf-dark);
    color: var(--nf-light);
    overflow-x: hidden;
    font-family: 'Netflix Sans', 'Helvetica Neue', sans-serif;
}

main {
    flex: 1;
}

:root {
    --nf-red: #e50914;
    --nf-dark: #141414;
    --nf-light: #fff;
    --nf-gray: rgba(109, 109, 110, 0.7);
    --nf-dark-gray: #181818;
}

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


.netflix-header {
    height: 15vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 4%;
    position: relative;
    z-index: 10;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 20%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-team, .btn-signin {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-team {
    color: var(--nf-light);
    background: rgba(255, 255, 255, 0.08);
}

.btn-team:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-signin {
    background: var(--nf-red);
    color: var(--nf-light);
}

.btn-signin:hover {
    background: #f40612;
}


.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 4%;
    z-index: 1;
    margin-top: -50px;
    height: 50vh;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;     
    height: 100%;    
    object-fit: cover; 
    transform: translate(-50%, -50%);
    z-index: 0;       
    filter: brightness(0.5);
}

.hero-buttons {
    position: relative;  
    z-index: 1;
}


.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.synopsis {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-play, .btn-info {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background 0.3s;
    border: none;
}

.btn-play {
    background: var(--nf-light);
    color: var(--nf-dark);
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.btn-info {
    background: var(--nf-gray);
    color: var(--nf-light);
}

.btn-info:hover {
    background: rgba(109, 109, 110, 0.9);
    transform: scale(1.05);
}


.netflix-footer {
    background: #000;
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    perspective: 1000px;
}

.footer-3d-box {
    background: linear-gradient(145deg, #141414, #000);
    border-radius: 20px 20px 0 0;
    padding: 40px 5%;
    transform-style: preserve-3d;
    transform: translateZ(0);
    box-shadow: 0 -10px 30px rgba(229, 9, 20, 0.2);
    border-top: 3px solid #e50914;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.7));
}

.footer-logo p {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.instagram-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 4 8px 20px rgba(225, 48, 108, 0.6);
}

.instagram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.instagram-btn:hover::before {
    left: 100%;
}

.social-tooltip {
    position: absolute;
    top: -40px;
    background: #e50914;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s;
}

.instagram-btn:hover .social-tooltip {
    opacity: 1;
    top: -35px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e50914;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.contact-btn:hover {
    background: #f40612;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.6);
}

.footer-copyright {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(5deg); }
}

.footer-3d-box:hover {
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .synopsis {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 80%;
    }
    
    .btn-play, .btn-info {
        justify-content: center;
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 20px 4%;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .btn-team, .btn-signin {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .logo {
        height: 30px;
    }
    
    .hero {
        margin-top: -30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}
