:root {
    --lime-primary: #00FF00;
    --lime-neon: #00FF00;
    --lime-electric: #00FF00;
    --white-pure: #FFFFFF;
    --white-off: #F8F9FA;
    --black: #000000;
    --gray-dark: #1A1A1A;
    --glass-white: rgba(255, 255, 255, 0.15);
    --glass-tint: rgba(0, 255, 0, 0.08);
    --glass-border: rgba(0, 255, 0, 0.3);
    --success: #00FF00;
    --warning: #FFD700;
    --error: #FF3366;
    --info: #00E5FF;
    --sidebar-width: 280px;
    --blur-amount: 25px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 255, 0, 0.6);
    --shadow-glow-intense: 0 0 60px rgba(0, 255, 0, 0.8);
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FFF0 30%, #FFFFFF 70%, #F0FFF0 100%);
    color: var(--black);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 255, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(0, 255, 0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulseBackground 8s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 60%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(0, 255, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulseBackground 10s ease-in-out infinite reverse;
}

@keyframes glowPulseBackground {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

#app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 1;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-amount)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(180%);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--glass-tint) 0%, transparent 100%);
    pointer-events: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lime-primary), var(--lime-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.3));
}

.nav-menu {
    list-style: none;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    color: var(--black);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-white);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover {
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--lime-primary), var(--lime-neon));
    color: var(--black);
    font-weight: 600;
    box-shadow: 
        var(--shadow-soft),
        0 0 30px rgba(0, 255, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-item.active::before {
    display: none;
}

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

.nav-item .badge {
    position: absolute;
    right: 12px;
    background: linear-gradient(135deg, var(--lime-neon), var(--lime-electric));
    color: var(--black);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 65, 0.8);
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-top: auto;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--lime-primary);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.user-info .username {
    font-weight: 600;
    font-size: 14px;
}

.user-info .status {
    font-size: 12px;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-info .status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--lime-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--lime-neon);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-amount)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime-primary), transparent);
    opacity: 0.3;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 10px 20px;
    flex: 1;
    max-width: 500px;
    transition: all var(--transition-normal);
}

.search-bar:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--lime-primary);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1), var(--shadow-soft);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--black);
    outline: none;
    font-size: 14px;
    font-weight: 500;
}

.search-bar input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.notification-btn,
.theme-toggle {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 20px;
    position: relative;
    transition: all var(--transition-normal);
}

.notification-btn:hover,
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.notification-btn:active,
.theme-toggle:active {
    transform: translateY(0);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, var(--lime-neon), var(--lime-electric));
    color: var(--black);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
    animation: notificationPulse 1.5s infinite;
}

@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

#content-area {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

#content-area::-webkit-scrollbar {
    width: 10px;
}

#content-area::-webkit-scrollbar-track {
    background: var(--glass-white);
    border-radius: 10px;
}

#content-area::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--lime-primary), var(--lime-neon));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#content-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--lime-neon), var(--lime-electric));
}

.view {
    display: none;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.view.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--lime-primary), var(--lime-neon));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.5);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-amount)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(180%);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--glass-tint) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-soft), 0 0 30px rgba(204, 255, 0, 0.15);
    border-color: rgba(204, 255, 0, 0.3);
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card h3 {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--lime-primary), var(--lime-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.3));
    animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(204, 255, 0, 0.6));
    }
}

.recent-activity {
    background-color: var(--surface);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.recent-activity h3 {
    margin-bottom: 16px;
}

button {
    background: linear-gradient(135deg, var(--lime-primary), var(--lime-neon));
    color: var(--black);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 
        var(--shadow-soft),
        0 0 30px rgba(0, 255, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-soft),
        0 0 50px rgba(0, 255, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

button:active {
    transform: translateY(-2px);
}

input[type="text"],
input[type="email"],
textarea {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--black);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: all var(--transition-normal);
    font-weight: 500;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--lime-primary);
    box-shadow: 
        0 0 0 3px rgba(204, 255, 0, 0.1),
        var(--shadow-soft),
        0 0 20px rgba(204, 255, 0, 0.2);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.settings-container {
    max-width: 800px;
}

.settings-section {
    background-color: var(--surface);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.settings-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.setting-item label {
    font-size: 14px;
    color: var(--text-secondary);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--lime-primary), var(--lime-neon));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--lime-neon), var(--lime-electric));
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.5);
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.glass-button-secondary {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    color: var(--black);
    border: 1px solid rgba(204, 255, 0, 0.3);
}

.glass-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--lime-primary);
    color: var(--lime-primary);
}
