
        body {
            background-color: #000;
            color: #d1d1d1;
            font-family: 'Geist Mono', monospace;
            margin: 0;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            overflow: hidden;
            user-select: none;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: repeating-linear-gradient(to bottom,
                    transparent 0px,
                    transparent 2px,
                    rgba(0, 0, 0, 0.08) 2px,
                    rgba(0, 0, 0, 0.08) 4px);
            pointer-events: none;
            z-index: 9999;
        }

        body::after {
            content: '';
            position: fixed;
            inset: 0;
            background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
            pointer-events: none;
            z-index: 9998;
        }

        body.page-loaded #main-ui {
            opacity: 1;
            transform: translateY(0);
        }

        #main-ui {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            transition:
                filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease,
                transform 0.5s ease;
            opacity: 0;
            transform: translateY(8px);
        }

        .left-col {
            border-right: 1px solid #1a1a1a;
            padding-right: 40px;
            margin-right: 40px;
            position: relative;
        }

        pre {
            margin: 0;
            line-height: 1.2;
            color: #eeeeee;
            filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.6));
            animation: pulse-glow 4s infinite alternate;
            cursor: crosshair;
            transition: filter 0.2s ease, transform 0.1s;
        }

        pre.is-glitching {
            text-shadow: 2px 0 #0ff, -2px 0 #f00;
            animation: none;
            filter: drop-shadow(0 0 14px rgba(192, 192, 192, 1)) contrast(1.5);
        }

        pre:hover {
            filter: drop-shadow(0 0 14px rgba(192, 192, 192, 1));
            animation: none;
        }

        @keyframes pulse-glow {
            from {
                opacity: 0.9;
            }

            to {
                opacity: 1;
            }
        }

        .ascii-wrapper {
            position: relative;
            display: inline-block;
        }

        .ascii-tooltip {
            position: absolute;
            bottom: calc(100% + 10px);
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            background: rgba(20, 20, 20, 0.95);
            border: 1px solid rgba(255, 7, 58, 0.3);
            color: #ff073a;
            font-size: 11px;
            padding: 6px 12px;
            border-radius: 6px;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s ease, transform 0.2s ease;
            z-index: 10;
        }

        .ascii-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 5px solid transparent;
            border-top-color: rgba(255, 7, 58, 0.3);
        }

        .ascii-wrapper:hover .ascii-tooltip {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .right-col {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .welcome-text {
            color: #fff;
            margin: 0;
        }

        .welcome-text a {
            color: inherit;
            text-decoration: underline;
        }

        #spotify-row {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
        }

        #spotify-row.visible {
            display: flex;
        }

        .spotify-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #1db954;
            box-shadow: 0 0 6px rgba(29, 185, 84, 0.7);
            flex-shrink: 0;
            animation: spotify-pulse 1.5s infinite;
        }

        @keyframes spotify-pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.4;
            }
        }

        #spotify-text {
            color: #666;
            font-size: 11px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 260px;
        }

        #spotify-text span {
            color: #aaa;
        }

        .bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 8px;
    display: flex;
    gap: 5px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

body.page-loaded .bottom-nav {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-item {
    color: #888;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.08);
}

        .nav-item.active {
            background: rgba(255, 255, 255, 0.08);
        }

        @keyframes glitch-out {
            0% {
                opacity: 1;
                transform: none;
                filter: none;
            }

            15% {
                opacity: 1;
                transform: skewX(-3deg);
                filter: brightness(1.5);
            }

            20% {
                opacity: 0.8;
                transform: translateX(-4px) skewX(2deg);
                filter: hue-rotate(90deg) brightness(2);
            }

            25% {
                opacity: 1;
                transform: translateX(4px);
                filter: none;
            }

            30% {
                opacity: 0.6;
                transform: skewX(-5deg);
                filter: hue-rotate(-90deg);
            }

            40% {
                opacity: 0;
                transform: translateY(3px);
                filter: blur(2px);
            }

            100% {
                opacity: 0;
            }
        }

        body.glitch-exit #main-ui {
            animation: glitch-out 0.4s forwards;
        }

        #discord-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            position: relative;
            width: 600px;
            max-width: calc(100% - 40px);
            border-radius: 18px;
            overflow: hidden;
            background: rgba(10, 10, 10, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
        }

        .presence-panel {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 28px;
            color: #e6e6e6;
        }

        .presence-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .presence-row {
            display: flex;
            gap: 18px;
            align-items: center;
        }

        .presence-avatar-wrapper {
            width: 74px;
            height: 74px;
            border-radius: 20px;
            background: #5865f2;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .presence-avatar {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .presence-info {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .presence-handle {
            font-size: 16px;
            color: #ffffff;
            font-weight: 700;
        }

        .presence-status-row {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .presence-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #43b581;
            display: inline-block;
        }

        .presence-status {
            font-size: 12px;
            color: #888888;
        }

        .presence-close {
            padding: 8px 18px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.05);
            color: #f4f4f4;
            cursor: pointer;
            font-size: 12px;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .presence-close:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-1px);
        }

        .presence-card {
            display: flex;
            gap: 24px;
            align-items: stretch;
            background: transparent;
            border: none;
            padding: 0;
            margin-top: 4px;
        }

        .presence-card-art {
            flex: 1 1 50%;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            justify-content: center;
            min-height: 120px;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
        }

        .presence-card-label {
            font-size: 10px;
            color: #888888;
            letter-spacing: 0.15em;
            font-weight: 700;
        }

        .presence-card-title {
            font-size: 16px;
            font-weight: 700;
            color: #ffffff;
            line-height: 1.3;
        }

        .presence-card-subtitle {
            font-size: 12px;
            color: #888888;
        }

        .presence-card-meta {
            flex: 1 1 50%;
            display: flex;
            flex-direction: column;
            gap: 12px;
            justify-content: center;
            padding: 0 10px;
        }

        .presence-meta-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            padding-bottom: 8px;
            color: #dddddd;
            font-size: 12px;
        }

        .presence-meta-row:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .presence-meta-label {
            font-size: 11px;
            color: #666666;
            letter-spacing: 0.05em;
            font-weight: 600;
        }

        iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @media (max-width: 768px) {
            body {
                overflow-y: auto;
                height: auto;
                min-height: 100vh;
                padding-bottom: 100px;
            }

            #main-ui {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }

            .left-col {
                border-right: none;
                border-bottom: 1px solid #1a1a1a;
                padding: 0 0 20px 0;
                margin: 0 0 20px 0;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            pre {
                font-size: 1.8vw;
            }

            #spotify-text {
                max-width: 180px;
            }
        }

        @media (max-width: 480px) {
            pre {
                font-size: 2.2vw;
            }
        }

        @media (max-width: 600px) {
            .bottom-nav {
                bottom: 20px;
                padding: 6px;
                gap: 2px;
                width: calc(100% - 24px);
                max-width: 380px;
                justify-content: space-between;
            }

            .nav-item {
                padding: 6px 10px;
                font-size: 11px;
            }
        }

        #grid-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            opacity: 0.35;
        }

/* Mobile Nav Fix */
@media (max-width: 600px) {
    .bottom-nav {
        bottom: 20px !important;
        padding: 6px !important;
        gap: 2px !important;
        width: calc(100% - 24px) !important;
        max-width: 380px !important;
        justify-content: space-between !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .nav-item {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
}
