
       
       /* NAVBAR */

.navbar{
    position:fixed;
    top:0;
    width:100%;
    height:70px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 40px;

    z-index:999;

    background:linear-gradient(to bottom,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0));
}

.nav-left{
    display:flex;
    align-items:center;
    gap:40px;
}

.logo{
    font-size:2rem;
    font-weight:bold;
}

.logo span{
    color:#4a7c2c;
}

.nav-links{
    display:flex;
    gap:25px;
}

.nav-links a{
    color:rgb(66, 66, 66);
    text-decoration:none;
    transition:0.3s;
    opacity:0.8;
}

.nav-links a:hover{
    opacity:1;
    color:#69ff768a;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:20px;
}

       
       
       :root {
            /* Light Theme (Nature) */
            --leaf-green: #4a7c2c;
            --accent-glow: #a8cf45;
            --glass-white: rgba(255, 255, 255, 0.25);
            --glass-border: rgba(255, 255, 255, 0.4);
            --text-main: #2d3436;
            --bg-gradient: linear-gradient(135deg, #eef5f2 0%, #d9e8e3 100%);
            --radius-lg: 30px;
            --radius-md: 18px;
        }

        .dark-mode {
            --leaf-green: #a8cf45;
            --accent-glow: #ffffff;
            --glass-white: rgba(20, 20, 20, 0.7);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text-main: #f0f0f0;
            --bg-gradient: linear-gradient(135deg, #0f1412 0%, #050505 100%);
        }

        * { box-sizing: border-box; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }

        body {
            background: var(--bg-gradient);
            background-attachment: fixed;
            color: var(--text-main);
            margin: 0;
            font-family: 'Inter', 'Segoe UI', sans-serif;
            overflow-x: hidden;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: url('theliltwigsbg.png') no-repeat center center/cover;
            opacity: 0.05;
            z-index: -1;
        }
        .dark-mode body::before { opacity: 0.05; }




        /* --- Navigation --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 8%;
            background: var(--glass-white);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            color: var(--leaf-green);
            font-weight: 800;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 12px;
            text-transform: uppercase;
        }

        .logo::before {
            content: "";
            width: 35px; height: 35px;
            background: url('theliltwigs.jpg') center/cover;
            border-radius: 50%;
            border: 2px solid var(--leaf-green);
        }

        /* --- Search Bar --- */
        .search-container { position: relative; width: 300px; }
        #animeSearch {
            width: 100%;
            padding: 10px 15px 10px 40px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-main);
            outline: none;
        }
        #animeSearch:focus { width: 350px; background: rgba(255,255,255,0.3); box-shadow: 0 0 15px var(--leaf-green); }
        .search-icon { position: absolute; left: 12px; top: 10px; width: 18px; fill: var(--leaf-green); }

        /* --- Theme Toggle --- */
        .theme-switch { cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 1.2rem; }
        #checkbox { display: none; }

        /* --- Hero --- */
        .hero {
            height: 60vh;
            display: flex;
            align-items: center;
            padding: 0 10%;
            margin-bottom: 60px;
            background: linear-gradient(to right, var(--bg-gradient), transparent), url('twigstv.jpg') center/cover;
        }
        .hero-content h1 { font-size: 3.5rem; color: var(--leaf-green); margin: 0; }

 .normal-header {
            height: 60px;
            display: flex;
            align-items: center;
            padding: 0 10%;
            margin-bottom: 60px;
        }

        .normal-header h1 { font-size: 2rem; color: var(--leaf-green); margin: 0; }
