:root {
            --primary-color: #ff6b6b;
            --secondary-color: #4ecdc4;
            --bg-color: #ffffff;
            --text-color: #333333;
            --accent-bg: #f0f0f0;
            --gradient: linear-gradient(135deg, #ff6b6b, #4ecdc4);
        }

        body.dark-mode {
            --bg-color: #121212;
            --text-color: #e0e0e0;
            --accent-bg: #1e1e1e;
            --gradient: linear-gradient(135deg, #c44569, #0a3d62);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            min-height: 100vh;
            width: 100vw;
            overflow: hidden;
            background: var(--gradient);
            color: var(--text-color);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background 0.5s ease;
        }

        .login-container {
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .login-form {
            background: var(--accent-bg);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            width: 100%;
            max-width: 400px;
            text-align: center;
            animation: bounceIn 1s ease;
        }

        @keyframes bounceIn {
            0% { transform: scale(0.5); opacity: 0; }
            60% { transform: scale(1.1); opacity: 1; }
            100% { transform: scale(1); }
        }

        .login-logo {
            font-size: 32px;
            margin-bottom: 10px;
            color: var(--primary-color);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .tagline {
            font-size: 18px;
            margin-bottom: 30px;
            color: var(--text-color);
            opacity: 0.8;
            animation: fadeIn 1.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 0.8; }
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--secondary-color);
            border-radius: 10px;
            background: var(--bg-color);
            color: var(--text-color);
            transition: border 0.3s;
        }

        .form-group input:focus {
            border-color: var(--primary-color);
            outline: none;
        }

        .remember-me {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .remember-me input {
            margin-right: 10px;
        }

        .login-btn {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 10px;
            cursor: pointer;
            width: 100%;
            font-size: 16px;
            transition: transform 0.3s;
            animation: glow 2s infinite alternate;
        }

        @keyframes glow {
            from { box-shadow: 0 0 5px var(--primary-color); }
            to { box-shadow: 0 0 15px var(--primary-color); }
        }

        .login-btn:hover {
            transform: scale(1.05);
        }

        .signup-link {
            margin-top: 15px;
            font-size: 14px;
        }

        .signup-link a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: color 0.3s;
        }

        .signup-link a:hover {
            color: var(--primary-color);
        }

        .footer {
            position: absolute;
            bottom: 20px;
            width: 100%;
            text-align: center;
            font-size: 12px;
            color: #fff;
            opacity: 0.7;
        }

        .footer a {
            color: inherit;
            text-decoration: underline;
        }

        .meme-emoji {
            position: absolute;
            font-size: 50px;
            animation: float 5s infinite ease-in-out;
            user-select: none;
        }

        .meme-emoji:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .meme-emoji:nth-child(2) {
            bottom: 15%;
            right: 10%;
            animation-delay: 1s;
        }

        .meme-emoji:nth-child(3) {
            top: 30%;
            right: 15%;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        #mode-toggle-login {
            position: absolute;
            top: 20px;
            right: 20px;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            transition: transform 0.3s;
        }

        #mode-toggle-login:hover {
            transform: rotate(360deg);
        }

        @media (max-width: 450px) {
            .login-form {
                padding: 20px;
                max-width: 90%;
            }

            .login-logo {
                font-size: 28px;
            }

            .tagline {
                font-size: 16px;
            }

            .meme-emoji {
                font-size: 30px;
            }
        }