* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Netflix-style background gradient + subtle image overlay */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%), 
                url('https://assets.nflxext.com/ffe/siteui/vlv3/9db4a880-3034-4e98-bdea-5d983e86bf52/b3e68e39-89f0-4357-b3fd-3c99b1e5aae0/IN-en-20230925-popsignuptwoweeks-perspective_alpha_website_small.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.7);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(229,9,20,0.15) 0%, rgba(0,0,0,0.6) 90%);
    pointer-events: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

/* card panel - glassmorphic netflix style */
.auth-card {
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 2.5rem 2rem 3rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    transition: transform 0.2s ease;
}

.auth-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.input-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem;
    background: #333;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
    outline: none;
    border-bottom: 2px solid transparent;
}

.input-group input:focus {
    background: #454545;
    border-bottom-color: #e50914;
    box-shadow: 0 0 8px rgba(229,9,20,0.3);
}

.input-group input::placeholder {
    color: #b3b3b3;
    font-weight: 400;
    font-size: 0.95rem;
}

button {
    width: 100%;
    background: #e50914;
    border: none;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.75rem;
    letter-spacing: 0.3px;
}

button:hover {
    background: #f6121d;
}

button:active {
    transform: scale(0.98);
}

.switch-link {
    text-align: center;
    margin-top: 1.8rem;
    color: #b3b3b3;
    font-size: 0.9rem;
}

.switch-link a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
    transition: border-bottom 0.2s;
}

.switch-link a:hover {
    text-decoration: underline;
    color: #e50914;
}

.message-container {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    padding: 0.65rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.error-msg {
    background: rgba(229,9,20,0.2);
    border-left: 3px solid #e50914;
    color: #ffb3b3;
}

.success-msg {
    background: rgba(46,204,113,0.2);
    border-left: 3px solid #2ecc71;
    color: #a3f0c0;
}

.netflix-logo {
    font-size: 2.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: linear-gradient(145deg, #e50914, #b81c24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

hr {
    margin: 1.5rem 0 0.5rem;
    border-color: #333;
}

footer {
    text-align: center;
    font-size: 0.7rem;
    color: #6c6c6c;
    margin-top: 1.8rem;
}

@media (max-width: 550px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    .auth-card h1 {
        font-size: 1.8rem;
    }
}