/* ELLAS CAR - Sistema de Diseño Global Modular */
:root {
    /* Base Colors */
    --primary-purple: #A855F7;
    --dark-purple: #6A1B9A;
    --emerald: #10B981;
    --danger: #FF5252;

    /* Dark Theme (Default) */
    --bg-color: #000;
    --text-color: #fff;
    --logo-color: #fff;
    --header-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --panel-bg: rgba(0, 0, 0, 0.7);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(0, 0, 0, 0.8);
    --nav-text: #666;
    --nav-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.03);
    --icon-zinc: #71717a;
    /* zinc-500 */
}

.light-mode {
    --bg-color: #F3E5F5;
    --text-color: #111;
    --logo-color: #4A148C;
    --header-gradient: linear-gradient(to bottom, rgba(243, 229, 245, 0.9), transparent);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(106, 27, 154, 0.1);
    --panel-bg: rgba(255, 255, 255, 0.9);
    --input-bg: rgba(106, 27, 154, 0.05);
    --input-border: rgba(106, 27, 154, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --nav-text: #888;
    --nav-border: rgba(106, 27, 154, 0.1);
    --card-bg: #fff;
    --icon-zinc: #4A148C;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

.interactive {
    pointer-events: auto;
}

.text-logo {
    color: var(--logo-color);
    transition: color 0.3s;
}

.header-dynamic {
    background: var(--header-gradient);
    transition: background 0.3s;
}

.text-dynamic {
    color: var(--text-color);
    transition: color 0.3s;
}

.icon-dynamic {
    color: var(--icon-zinc);
    transition: color 0.3s;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

.purple-gradient {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
}

.auth-input {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    transition: all 0.3s;
}

.auth-input:focus {
    border-color: var(--primary-purple);
    background: var(--input-bg);
    outline: none;
}

/* Animaciones */
.animate-in {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 70px;
    border-radius: 35px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    padding: 0 10px;
    transition: all 0.3s;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--nav-text);
    transition: all 0.3s;
    flex: 1;
}

.nav-item.active {
    color: var(--primary-purple);
}

.nav-icon {
    font-size: 20px;
}

.nav-label {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status Icon (Misterioso Punto Verde) */
.status-btn {
    width: 50px;
    height: 50px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.status-btn.active {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--primary-purple);
}

.status-avatar {
    font-size: 24px;
    opacity: 0.8;
}

.status-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 10px;
    height: 10px;
    background: var(--emerald);
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 10px var(--emerald);
}

.status-dot.inactive {
    background: #444;
    box-shadow: none;
}

/* Neon & Glow Effects */
.glow-purple {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.glow-emerald {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.text-glow-purple {
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.shadow-glow-purple {
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.6);
}

/* Advanced Glassmorphism */
.glass-deep {
    background: var(--panel-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
}

.glass-light {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Micro-Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}