* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #070708;
    --card: #111114;
    --text: #ffffff;
    --muted: #9b9ba3;
    --accent: #b8ff2c;
    --border: rgba(255,255,255,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;

    display: flex;
    align-items: center;

    padding: 0 6%;

    z-index: 100;

    background: rgba(7,7,8,0.75);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span,
.footer-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: 60px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
    color: white;
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: transparent;
    border: 0;
    color: white;
    font-size: 19px;
    cursor: pointer;
}

.login-btn {
    color: white;
    font-size: 14px;
}

.signup-btn {
    background: white;
    color: #000;
    padding: 11px 19px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}


/* SEARCH */

.search-box {
    position: fixed;
    top: 78px;
    right: 6%;

    width: 320px;

    padding: 15px;

    background: #111114;

    border: 1px solid var(--border);
    border-radius: 10px;

    z-index: 99;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition: 0.3s;
}

.search-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box input {
    width: 100%;

    background: #08080a;
    border: 1px solid var(--border);

    padding: 13px;

    border-radius: 7px;

    color: white;
    outline: none;
}


/* HERO */

.hero {
    height: 92vh;
    min-height: 650px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #070708 0%,
            rgba(7,7,8,0.75) 35%,
            rgba(7,7,8,0.1) 80%
        ),
        linear-gradient(
            0deg,
            #070708 0%,
            transparent 30%
        ),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 650px;
    margin-left: 8%;
    padding-top: 80px;
}

.hero-label {
    display: inline-block;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(55px, 7vw, 100px);

    line-height: 0.88;

    letter-spacing: -6px;

    margin-bottom: 30px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px white;
}

.hero p {
    width: 500px;

    color: #c0c0c5;

    line-height: 1.7;

    font-size: 15px;

    margin-bottom: 22px;
}

.hero-meta {
    display: flex;
    gap: 20px;

    color: #bdbdc4;

    font-size: 13px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.watch-btn,
.info-btn {
    padding: 14px 22px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;
}

.watch-btn {
    background: var(--accent);
    color: #000;
}

.info-btn {
    background: rgba(255,255,255,0.1);

    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);
}


/* SECTIONS */

.movie-section,
.continue-section,
.genres {
    padding: 80px 6%;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 30px;
}

.section-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;

    color: var(--accent);
}

.section-header h2 {
    font-size: 28px;
    margin-top: 8px;
}

.view-all {
    background: transparent;
    color: var(--muted);

    border: 0;

    cursor: pointer;
}


/* MOVIES */

.movie-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 18px;
}

.movie-card {
    min-width: 0;
}

.movie-image {
    position: relative;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    border-radius: 10px;

    background: #111;
}

.movie-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.movie-card:hover img {
    transform: scale(1.07);
}

.movie-hover {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.45);

    opacity: 0;

    transition: 0.3s;
}

.movie-card:hover .movie-hover {
    opacity: 1;
}

.play-circle {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: 0;

    background: var(--accent);

    cursor: pointer;
}

.rating {
    position: absolute;

    top: 10px;
    right: 10px;

    padding: 6px 9px;

    background: rgba(0,0,0,0.75);

    border-radius: 6px;

    font-size: 11px;
}

.movie-info {
    padding: 13px 2px;
}

.movie-info h3 {
    font-size: 15px;
}

.movie-info p {
    color: var(--muted);

    font-size: 11px;

    margin-top: 6px;
}

.movie-info p span {
    margin: 0 4px;
}


/* CONTINUE */

.continue-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.continue-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;
}

.continue-image {
    position: relative;

    height: 240px;
}

.continue-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.continue-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: 0;

    background: white;

    cursor: pointer;
}

.progress {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: rgba(255,255,255,0.2);
}

.progress span {
    display: block;

    height: 100%;

    background: var(--accent);
}

.continue-info {
    padding: 15px;
}

.continue-info h3 {
    font-size: 15px;
}

.continue-info p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 5px;
}


/* GENRES */

.genre-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 14px;
}

.genre-card {
    height: 130px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 12px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: 0.3s;
}

.genre-card span {
    font-size: 25px;
}

.genre-card strong {
    font-size: 13px;
}

.genre-card:hover {
    transform: translateY(-5px);

    border-color: rgba(184,255,44,0.4);
}


/* FOOTER */

footer {
    padding: 70px 6% 35px;

    border-top: 1px solid var(--border);

    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
}

footer p {
    color: var(--muted);

    font-size: 13px;

    margin-top: 10px;
}

.footer-links {
    display: flex;

    justify-content: center;

    gap: 25px;

    margin: 30px 0;
}

.footer-links a {
    color: #aaa;

    font-size: 12px;
}

.copyright {
    opacity: 0.6;
}


/* MOBILE */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .movie-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .genre-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .hero-content {
        width: 90%;
    }

}


@media (max-width: 600px) {

    .navbar {
        padding: 0 20px;
    }

    .login-btn {
        display: none;
    }

    .signup-btn {
        padding: 9px 12px;
    }

    .hero {
        height: 75vh;
        min-height: 580px;
    }

    .hero-content {
        margin-left: 20px;
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .hero p {
        width: 90%;
        font-size: 13px;
    }

    .movie-section,
    .continue-section,
    .genres {
        padding: 55px 20px;
    }

    .movie-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .continue-grid {
        grid-template-columns: 1fr;
    }

    .genre-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================================
   FUSIONAURA AUTHENTICATION
========================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;

    background:
        radial-gradient(
            circle at top,
            rgba(184,255,44,0.08),
            transparent 35%
        ),
        #070707;
}


.auth-card {
    width: 100%;
    max-width: 460px;

    padding: 42px;

    background: rgba(20,20,20,0.92);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.5);

    backdrop-filter: blur(20px);
}


.auth-card .logo {
    display: inline-block;

    margin-bottom: 30px;

    color: #b8ff2c;

    font-size: 24px;

    font-weight: 900;

    letter-spacing: 3px;

    text-decoration: none;
}


.auth-card h1 {
    margin: 0 0 10px;

    font-size: 34px;

    color: #fff;
}


.auth-subtitle {
    margin-bottom: 30px;

    color: #8f8f8f;

    line-height: 1.6;
}


.auth-card form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.auth-card label {
    margin-top: 10px;

    color: #ddd;

    font-size: 14px;

    font-weight: 600;
}


.auth-card input {
    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    border: 1px solid #292929;

    border-radius: 12px;

    outline: none;

    background: #0d0d0d;

    color: #fff;

    font-size: 15px;

    transition: 0.2s;
}


.auth-card input:focus {
    border-color: #b8ff2c;

    box-shadow:
        0 0 0 3px rgba(184,255,44,0.08);
}


.auth-card small {
    color: #777;

    font-size: 12px;
}


.auth-button {
    margin-top: 20px;

    padding: 15px;

    border: none;

    border-radius: 12px;

    background: #b8ff2c;

    color: #050505;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}


.auth-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(184,255,44,0.18);
}


.auth-error,
.auth-success {
    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 14px;

    line-height: 1.5;
}


.auth-error {
    background: rgba(255,70,70,0.08);

    border: 1px solid rgba(255,70,70,0.2);

    color: #ff8d8d;
}


.auth-success {
    background: rgba(184,255,44,0.07);

    border: 1px solid rgba(184,255,44,0.18);

    color: #b8ff2c;
}


.auth-footer {
    margin-top: 25px;

    text-align: center;

    color: #777;

    font-size: 14px;
}


.auth-footer a,
.forgot-link a,
.auth-success a {
    color: #b8ff2c;

    text-decoration: none;

    font-weight: 600;
}


.forgot-link {
    margin-top: 5px;

    text-align: right;

    font-size: 13px;
}


.otp-input {
    text-align: center;

    font-size: 28px !important;

    font-weight: 800;

    letter-spacing: 10px;
}


@media (max-width: 520px) {

    .auth-card {
        padding: 30px 22px;

        border-radius: 18px;
    }

    .auth-card h1 {
        font-size: 28px;
    }

}