/* yongzoon.com - Aurora Dashboard */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --aurora-dark: #0C0E1A;
    --sidebar-bg: rgba(30, 40, 80, 0.6);
    --aurora-green: #40D8A0;
    --aurora-blue: #4080E0;
    --aurora-purple: #8050D0;
    --panel-surface: rgba(20, 28, 48, 0.8);
    --text-light: #F0F0F8;
    --text-body: #C0C8D8;
    --text-data: #90B0D0;
}

body {
    background: var(--aurora-dark);
    color: var(--text-light);
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow: hidden;
    height: 100vh;
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 240px;
    height: 100vh;
    background: var(--sidebar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 10;
    transform: translateX(-240px);
    animation: sidebarSlide 0.5s ease forwards 0.3s;
}
@keyframes sidebarSlide { to { transform: translateX(0); } }
.sidebar-brand {
    font-family: 'Albert Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aurora-green);
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
}
.nav-item {
    font-family: 'Albert Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    background: none;
    border: none;
    cursor: pointer;
    height: 44px;
    padding: 0 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: color 0.2s ease;
}
.nav-item:hover { color: var(--text-light); }
.nav-item.active { color: var(--text-light); }
.nav-accent {
    width: 0;
    height: 24px;
    background: var(--aurora-green);
    border-radius: 0 2px 2px 0;
    transition: width 0.3s ease;
}
.nav-item.active .nav-accent {
    width: 3px;
    animation: accentPulse 2s ease-in-out infinite;
}
@keyframes accentPulse {
    0%, 100% { opacity: 0.7; width: 3px; }
    50% { opacity: 1; width: 4px; }
}

/* Main Area */
.main-area {
    flex: 1;
    position: relative;
    overflow-y: auto;
    padding: 3rem;
}

/* Gradient Mesh */
.mesh-blob {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: meshDrift 25s ease-in-out infinite alternate;
}
.mesh-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(64, 216, 160, 0.1), transparent); top: -10%; right: 10%; }
.mesh-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(64, 128, 224, 0.08), transparent); bottom: 10%; left: 30%; animation-delay: 8s; }
.mesh-3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(128, 80, 208, 0.08), transparent); top: 40%; right: -5%; animation-delay: 15s; }
@keyframes meshDrift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
    100% { transform: translate(-20px, 30px); }
}

/* Panel Sections */
.panel-section {
    position: relative;
    z-index: 1;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: panelFadeIn 0.3s ease;
}
@keyframes panelFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Panels (3 depth levels) */
.panel {
    background: var(--panel-surface);
    border-radius: 12px;
    padding: 24px;
}
.panel-back {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.7;
}
.panel-mid {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0.85;
}
.panel-front {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 1;
    border-top: 2px solid var(--aurora-green);
    transition: box-shadow 0.2s ease;
}
.panel-front:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); }

/* Panel Typography */
.panel-title {
    font-family: 'Albert Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.panel-body {
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.panel-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-data);
    letter-spacing: 0.04em;
}
.panel-data {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-data);
    letter-spacing: 0.04em;
    display: block;
}

@media (max-width: 768px) {
    body { flex-direction: column; overflow: auto; height: auto; }
    .sidebar { width: 100%; height: auto; flex-direction: row; padding: 1rem; align-items: center; transform: none; animation: none; }
    .sidebar-nav { flex-direction: row; gap: 4px; }
    .nav-item { height: auto; padding: 8px 12px; font-size: 0.8rem; }
    .nav-accent { display: none; }
    .main-area { padding: 2rem 1.5rem; }
}
