* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
}

body::-webkit-scrollbar
{
    display: none;
    width: none;
}

/* Theme Variables */
.theme-neon-purple {
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-accent: #16213e;
    --accent-primary: #8b5cf6;
    --accent-secondary: #a855f7;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --border: #4c1d95;
    --glow: #8b5cf6;
}

.theme-matrix-green {
    --bg-primary: #000000;
    --bg-secondary: #001100;
    --bg-accent: #002200;
    --accent-primary: #00ff41;
    --accent-secondary: #39ff14;
    --text-primary: #00ff41;
    --text-secondary: #00cc33;
    --border: #00aa2e;
    --glow: #00ff41;
}

.theme-blood-red {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1f0f0f;
    --bg-accent: #2f1f1f;
    --accent-primary: #ff3333;
    --accent-secondary: #cc0000;
    --text-primary: #ffcccc;
    --text-secondary: #ff9999;
    --border: #990000;
    --glow: #ff3333;
}

.theme-cyber-blue {
    --bg-primary: #0a0f1c;
    --bg-secondary: #1a2332;
    --bg-accent: #243447;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --text-primary: #e6f3ff;
    --text-secondary: #b3daff;
    --border: #0088bb;
    --glow: #00d4ff;
}

.theme-orange-cyber {
    --bg-primary: #1a0f00;
    --bg-secondary: #2d1a00;
    --bg-accent: #402600;
    --accent-primary: #ff6600;
    --accent-secondary: #ff8533;
    --text-primary: #fff2e6;
    --text-secondary: #ffe6cc;
    --border: #cc5200;
    --glow: #ff6600;
}

.theme-terminal-amber {
    --bg-primary: #1a1a00;
    --bg-secondary: #2d2d00;
    --bg-accent: #404000;
    --accent-primary: #ffcc00;
    --accent-secondary: #ffaa00;
    --text-primary: #ffffcc;
    --text-secondary: #ffff99;
    --border: #cc9900;
    --glow: #ffcc00;
}

.theme-neon-pink {
    --bg-primary: #1a0a1a;
    --bg-secondary: #2d1a2d;
    --bg-accent: #401a40;
    --accent-primary: #ff00ff;
    --accent-secondary: #cc00cc;
    --text-primary: #ffe6ff;
    --text-secondary: #ffccff;
    --border: #990099;
    --glow: #ff00ff;
}

.theme-teal-matrix {
    --bg-primary: #001a1a;
    --bg-secondary: #002d2d;
    --bg-accent: #004040;
    --accent-primary: #00ffcc;
    --accent-secondary: #00cc99;
    --text-primary: #e6fffa;
    --text-secondary: #ccfff5;
    --border: #009977;
    --glow: #00ffcc;
}

.theme-silver-cyber {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-accent: #262626;
    --accent-primary: #c0c0c0;
    --accent-secondary: #a0a0a0;
    --text-primary: #e8e8e8;
    --text-secondary: #d0d0d0;
    --border: #808080;
    --glow: #c0c0c0;
}

.theme-sepia-retro {
    --bg-primary: #1a1510;
    --bg-secondary: #2d2620;
    --bg-accent: #403730;
    --accent-primary: #daa520;
    --accent-secondary: #cd853f;
    --text-primary: #f5deb3;
    --text-secondary: #deb887;
    --border: #8b4513;
    --glow: #daa520;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-accent));
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 0 20px var(--glow);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--glow);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.nav-links a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--glow);
    transform: translateY(-2px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.2;
    transition: left 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.nav-links a:hover::before {
    left: 100%;
}

/* Theme Selector */
.theme-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-selector select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: inherit;
}

/* Main Container */
.container {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-accent));
    border-right: 2px solid var(--border);
    padding: 2rem 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--glow);
}

.sidebar-menu {
    list-style: none;
    display: block;
    position: sticky;
    top: 4.5rem;
}

.sidebar-menu li {
    margin: 0.5rem 0;
}

.sidebar-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
    transform: translateX(5px);
    box-shadow: 0 0 10px var(--glow);
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-menu a:hover::before {
    transform: scaleY(1);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg-primary);
    position: relative;
    /* max-height: 100svh; */
    /* overflow-y: scroll; */
}

.main-content::-webkit-scrollbar
{
    display: none;
    width: none;
}
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--glow) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--glow) 0%, transparent 50%);
    opacity: 0.03;
    pointer-events: none;
}

footer{
    display: block;
}

.copyright {
    text-align: center;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    margin-top: 1.2rem; 
}

/* Status Bar */
.status-bar {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: between;
    align-items: center;
    box-shadow: 0 0 20px var(--glow);
}


.status-items {
    display: flex;
    gap: 5rem;
    align-items: center;
    margin: auto;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.status-item a
{
    color: var(--text-primary);
}

.status-item a:hover
{
    color: var(--text-accent);
    /* For SVGs, use drop shadow */
    filter: drop-shadow(0px 0px 8px var(--glow));
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .nav-links {
        display: none;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}