:root {
    --bg-main: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-blue: #2563eb;
    --accent-cyan: #0284c7;
    --accent-teal: #0d9488;
    --header-bg: #f8fafc;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    background: var(--bg-main);
    color: var(--text-secondary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.c1 {
    max-width: 1020px;
    width: 100%;
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 820px) {
    .c1 { grid-template-columns: 1fr; }
}

.c2 {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.c3 {
    background: var(--header-bg);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.d1 { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.d2 { background: #f87171; }
.d3 { background: #fbbf24; }
.d4 { background: #34d399; }

.c4 {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    margin-left: 6px;
    font-weight: 600;
}

.e1 {
    display: flex;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0 8px;
    gap: 6px;
}

.e2 {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    transition: all 0.15s ease;
}

.e2:hover {
    color: var(--accent-blue);
}

.e2.active {
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    background: #ffffff;
}

.c5 { padding: 20px; }

.f1 { display: none; }
.f1.active { display: block; }

.h1 { text-align: center; }

.h2 {
    width: 104px;
    height: 104px;
    margin: 0 auto 12px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
}

.h3 {
    padding-top: 38px;
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-family: monospace;
}

.h4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.h6 {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 20px;
}

.bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.i1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    list-style: none;
}

.i2 {
    background: #f8fafc;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.82rem;
}

.i3 {
    color: var(--accent-cyan);
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: block;
    margin-bottom: 2px;
}

.i4 { color: var(--text-primary); font-weight: 500; }

.j1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.j2 {
    background: #ffffff;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.j2 h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.j2 p {
    line-height: 1.6;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.k1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.k2 {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.k2:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.k3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: inline-block;
}

.k2 h3 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.k2 p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.l1 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.l2 {
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.m1 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    justify-content: center;
}

.m2 {
    background: #f0f9ff;
    color: var(--accent-blue);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s ease;
    cursor: pointer;
}

.m2:hover {
    background: #e0f2fe;
}

.m2.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.m3 {
    background: #f0fdf4;
    color: #059669;
    border-color: #a7f3d0;
}

.m3:hover {
    background: #d1fae5;
}

.media-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
}

.media-details { flex-grow: 1; }
.media-title { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.audio-control { width: 100%; height: 32px; }

footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 500;
}

/* Boot Screen Styles */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f172a;
    color: #34d399;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    z-index: 9999;
    display: flex;
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.5;
    transition: opacity 0.5s ease-out;
}

.hidden-boot {
    opacity: 0;
    pointer-events: none;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Discord Status Styles */
.discord-status-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.online { background: #22c55e; box-shadow: 0 0 5px #22c55e; }
.idle { background: #facc15; }
.dnd { background: #ef4444; }
.offline { background: #94a3b8; }

/* Easter Egg Hacker Mode */
body.hacker-mode {
    filter: invert(1) hue-rotate(180deg);
    background: #111;
}

body.hacker-mode .k2 {
    border-color: #ff00ff;
}