:root {
    --bg: #030204;
    --fg: #f1f5f9;
    --acc-go: #ff3b30;
    --acc-js: #ff453a;
    --acc-boobs: #ff9f0a;
    --border: rgba(255, 255, 255, 0.04);
    --card-bg: rgba(9, 8, 12, 0.65);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-mono);
    user-select: none;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 10% 10%, #200508 0%, var(--bg) 60%), radial-gradient(circle at 90% 90%, #0d0407 0%, var(--bg) 60%);
    color: var(--fg);
    cursor: crosshair;
}

canvas#vfx-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.glowing-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: var(--acc-go); top: 20%; left: 20%; }
.orb-2 { width: 400px; height: 400px; background: var(--acc-js); bottom: 20%; right: 20%; }

/* Entry Gate */
.gt {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: url('https://files.catbox.moe/e7tfw0.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.gt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.gt.h { opacity: 0; visibility: hidden; }

.a {
    white-space: pre;
    font-size: 16px;
    color: var(--acc-go);
    text-shadow: 0 0 25px rgba(255, 59, 48, 0.6);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 20px;
}

.gui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(12, 10, 14, 0.5);
    border: 1px solid var(--border);
    padding: 18px 36px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}
.gtx { font-size: 0.85rem; letter-spacing: 0.25em; color: #fff; font-weight: 700; }
.gst { font-size: 0.75rem; color: #555; }

/* Centered Layout Wrapper */
.mc {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: none;
    padding: 100px 20px 20px 20px;
}

.center-focus-layout {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(40px);
    width: 100%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: transform 0.3s ease;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #06060c;
    background: #64748b;
}

.status-indicator.online { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.status-indicator.idle { background: #eab308; box-shadow: 0 0 10px rgba(234, 179, 8, 0.5); }
.status-indicator.dnd { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.status-indicator.offline { background: #64748b; }

.profile-meta h2 { font-size: 1.3rem; font-weight: 850; color: #fff; }
.profile-meta span { font-size: 0.75rem; color: #64748b; }

.about-section h3 {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: #555;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.about-section p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Lanyard Spotify Panel */
.spotify-card {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.spotify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: #22c55e;
}

.spotify-details {
    display: flex;
    gap: 14px;
    align-items: center;
}

.spotify-details img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.spotify-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.song-title { font-size: 0.8rem; font-weight: 750; color: #fff; }
.song-artist { font-size: 0.7rem; color: #64748b; }

.sound-wave { display: flex; gap: 3px; align-items: flex-end; height: 12px; }
.sound-wave span { width: 2px; height: 100%; background: #22c55e; border-radius: 1px; animation: wave 1.2s ease-in-out infinite alternate; }
.sound-wave span:nth-child(2) { animation-delay: -0.4s; }
.sound-wave span:nth-child(3) { animation-delay: -0.8s; }

@keyframes wave {
    0% { height: 2px; }
    100% { height: 12px; }
}

/* Navigation Header */
.n {
    position: fixed;
    top: 30px;
    left: 40px;
    right: 40px;
    z-index: 50;
    height: 64px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

.l { color: #fff; font-size: 0.95rem; font-weight: 900; letter-spacing: 0.15em; text-decoration: none; }

.project-nav-links {
    display: flex;
    gap: 24px;
}

.p-link {
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
}
.p-link:hover { color: #fff; transform: translateY(-1px); }

.b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.mdl {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 2, 4, 0.85);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mdl.show { display: flex; opacity: 1; }

.mdl-c {
    background: rgba(12, 10, 16, 0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(40px);
    padding: 36px;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mdl.show .mdl-c { transform: scale(1); }

.mdl-cls {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 1.4rem;
    color: #555;
    cursor: pointer;
}

.mdl-h {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.mdl-b p {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mdl-b span { font-weight: 700; color: #fff; }

.m { display: none; }

@media (max-width: 900px) {
    .m { display: block; }
    .project-nav-links { display: none; }
    .nr {
        position: absolute;
        top: 74px;
        right: 0;
        background: rgba(12, 10, 16, 0.95);
        border: 1px solid var(--border);
        backdrop-filter: blur(30px);
        padding: 24px;
        border-radius: 12px;
        flex-direction: column;
        width: 200px;
        gap: 16px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
        display: flex;
        z-index: 99;
    }
    .nr.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}
