        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400&display=swap');
        
        :root {
            --base-bg: #e0e0e0;
            --dark-bg: #d1d1d1;
            --light-shadow: #ffffff;
            --dark-shadow: #9e9e9e;
            --text-primary: #303030;
            --text-secondary: #505050;
            --text-tertiary: #777777;
            --accent: #7a7a7a;
            
            /* Dark mode variables */
            --dark-base-bg: #262626;
            --dark-dark-bg: #1a1a1a;
            --dark-light-shadow: #363636;
            --dark-dark-shadow: #1a1a1a;
            --dark-text-primary: #e0e0e0;
            --dark-text-secondary: #b0b0b0;
            --dark-text-tertiary: #888888;
            --dark-accent: #858585;
            
            transition: all 0.3s ease;
        }
        
        body.dark-mode {
            --base-bg: var(--dark-base-bg);
            --dark-bg: var(--dark-dark-bg);
            --light-shadow: var(--dark-light-shadow);
            --dark-shadow: var(--dark-dark-shadow);
            --text-primary: var(--dark-text-primary);
            --text-secondary: var(--dark-text-secondary);
            --text-tertiary: var(--dark-text-tertiary);
            --accent: var(--dark-accent);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        
        body, html {
            width: 100%;
            height: 100vh;
            overflow-x: hidden;
            overflow-y: auto;
            background-color: var(--base-bg);
            color: var(--text-primary);
            display: flex;
            flex-direction: column;
            position: relative;
            /* Always reserve space for scrollbar to prevent layout shifts */
            scrollbar-gutter: stable;
        }
        
        /* Add custom scrollbar styling for better aesthetics */
        ::-webkit-scrollbar {
            width: 8px;
            background-color: var(--base-bg);
        }
        
        ::-webkit-scrollbar-thumb {
            background-color: var(--dark-shadow);
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-track {
            background-color: var(--base-bg);
        }
        
        .convex-neumorphic {
            border-radius: 24px;
            background: var(--base-bg);
            box-shadow: 8px 8px 16px var(--dark-shadow),
                        -8px -8px 16px var(--light-shadow);
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .convex-neumorphic-inset {
            border-radius: 24px;
            background: var(--base-bg);
            box-shadow: inset 5px 5px 10px var(--dark-shadow),
                        inset -5px -5px 10px var(--light-shadow);
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .convex-neumorphic-button {
            border-radius: 12px;
            background: var(--base-bg);
            box-shadow: 4px 4px 8px var(--dark-shadow), 
                        -4px -4px 8px var(--light-shadow);
            transition: all 0.2s ease;
        }
        
        .convex-neumorphic-button:hover {
            box-shadow: 6px 6px 12px var(--dark-shadow), 
                        -6px -6px 12px var(--light-shadow);
        }
        
        .convex-neumorphic-button:active {
            box-shadow: inset 4px 4px 8px var(--dark-shadow), 
                        inset -4px -4px 8px var(--light-shadow);
            transform: translateY(2px);
        }
        
        /* Spinning ASCII Tesseract */
        .tesseract-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: -1;
            opacity: 0.3;
            pointer-events: none;
        }
        
        .tesseract {
            font-family: monospace;
            white-space: pre;
            font-size: 8px;
            line-height: 1;
            color: var(--text-tertiary);
            transform-style: preserve-3d;
        }
        
        /* Opacity Slider - REMOVED */
        
        @keyframes spin {
            0% {
                transform: rotateX(0deg) rotateY(0deg);
            }
            100% {
                transform: rotateX(360deg) rotateY(360deg);
            }
        }
        
        header {
            position: relative;
            z-index: 2;
            padding: 40px 20px;
            text-align: center;
        }
        
        .main-title {
            font-size: 1.8rem;
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        
        .subtitle {
            font-size: 0.85rem;
            color: var(--text-tertiary);
            letter-spacing: 2px;
            font-weight: 300;
        }
        
        /* Main content layout - now vertical */
        .content-container {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding: 0 20px 20px;
            margin: 0 auto;
            max-width: 800px;
            width: 100%;
        }
        
        /* Sections wrapper */
        .sections-wrapper {
            position: relative;
            min-height: 0;
            perspective: 1000px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 0;
            flex-direction: column;
            height: 0;
            overflow: hidden;
            transition: height 0.3s ease, min-height 0.3s ease;
        }
        
        .sections-wrapper.has-active {
            min-height: 300px;
            height: auto;
            overflow: visible;
        }
        
        /* Profile section */
        .profile-section {
            padding: 24px;
            display: flex;
            flex-direction: column;
            margin-bottom: 16px;
            gap: 20px;
        }

        .profile-content {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 24px;
        }
        
        .profile-avatar-container {
            display: flex;
            align-items: center;
            margin-bottom: 0;
            width: auto;
            flex-shrink: 0;
        }
        
        .profile-avatar {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: var(--base-bg);
            margin-right: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            box-shadow: 4px 4px 8px var(--dark-shadow), 
                        -4px -4px 8px var(--light-shadow);
            position: relative;
            perspective: 600px;
            overflow: hidden;
        }
        
        /* 3D Cube */
        .cube-container {
            width: 32px;
            height: 32px;
            position: relative;
            transform-style: preserve-3d;
            animation: cubeSpin 16s infinite ease-in-out;
        }
        
        .cube-face {
            position: absolute;
            width: 100%;
            height: 100%;
            background: var(--base-bg);
            border: 1px solid rgba(158, 158, 158, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.95;
            box-shadow: inset 1px 1px 2px var(--light-shadow),
                        inset -1px -1px 2px var(--dark-shadow);
            font-size: 16px;
            color: var(--text-primary);
            border-radius: 4px;
            backface-visibility: visible;
        }
        
        .cube-front {
            transform: translateZ(16px);
        }
        
        .cube-back {
            transform: rotateY(180deg) translateZ(16px);
        }
        
        .cube-right {
            transform: rotateY(90deg) translateZ(16px);
        }
        
        .cube-left {
            transform: rotateY(-90deg) translateZ(16px);
        }
        
        .cube-top {
            transform: rotateX(90deg) translateZ(16px);
        }
        
        .cube-bottom {
            transform: rotateX(-90deg) translateZ(16px);
        }
        
        @keyframes cubeSpin {
            0%, 100% {
                transform: rotateX(0deg) rotateY(0deg);
            }
            16.67% {
                transform: rotateX(90deg) rotateY(90deg);
            }
            33.33% {
                transform: rotateX(180deg) rotateY(180deg);
            }
            50% {
                transform: rotateX(270deg) rotateY(270deg);
            }
            66.67% {
                transform: rotateX(360deg) rotateY(360deg);
            }
            83.33% {
                transform: rotateX(270deg) rotateY(270deg);
            }
        }

        /* Die dots styling */
        .die-dots {
            display: grid;
            width: 100%;
            height: 100%;
            padding: 3px;
            gap: 2px;
        }

        .die-dot {
            background: var(--text-primary);
            border-radius: 50%;
            width: 4px;
            height: 4px;
        }

        /* One dot - center */
        .die-face-1 {
            grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
            place-items: center;
        }
        .die-face-1 .die-dot {
            grid-area: 2 / 2;
        }

        /* Two dots - diagonal */
        .die-face-2 {
            grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
            place-items: center;
        }
        .die-face-2 .die-dot:nth-child(1) {
            grid-area: 1 / 1;
        }
        .die-face-2 .die-dot:nth-child(2) {
            grid-area: 3 / 3;
        }

        /* Three dots - diagonal */
        .die-face-3 {
            grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
            place-items: center;
        }
        .die-face-3 .die-dot:nth-child(1) {
            grid-area: 1 / 1;
        }
        .die-face-3 .die-dot:nth-child(2) {
            grid-area: 2 / 2;
        }
        .die-face-3 .die-dot:nth-child(3) {
            grid-area: 3 / 3;
        }

        /* Four dots - corners */
        .die-face-4 {
            grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
            place-items: center;
        }
        .die-face-4 .die-dot:nth-child(1) {
            grid-area: 1 / 1;
        }
        .die-face-4 .die-dot:nth-child(2) {
            grid-area: 1 / 3;
        }
        .die-face-4 .die-dot:nth-child(3) {
            grid-area: 3 / 1;
        }
        .die-face-4 .die-dot:nth-child(4) {
            grid-area: 3 / 3;
        }

        /* Five dots - corners + center */
        .die-face-5 {
            grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
            place-items: center;
        }
        .die-face-5 .die-dot:nth-child(1) {
            grid-area: 1 / 1;
        }
        .die-face-5 .die-dot:nth-child(2) {
            grid-area: 1 / 3;
        }
        .die-face-5 .die-dot:nth-child(3) {
            grid-area: 2 / 2;
        }
        .die-face-5 .die-dot:nth-child(4) {
            grid-area: 3 / 1;
        }
        .die-face-5 .die-dot:nth-child(5) {
            grid-area: 3 / 3;
        }

        /* Six dots - two columns */
        .die-face-6 {
            grid-template: 1fr 1fr 1fr / 1fr 1fr 1fr;
            place-items: center;
        }
        .die-face-6 .die-dot:nth-child(1) {
            grid-area: 1 / 1;
        }
        .die-face-6 .die-dot:nth-child(2) {
            grid-area: 1 / 3;
        }
        .die-face-6 .die-dot:nth-child(3) {
            grid-area: 2 / 1;
        }
        .die-face-6 .die-dot:nth-child(4) {
            grid-area: 2 / 3;
        }
        .die-face-6 .die-dot:nth-child(5) {
            grid-area: 3 / 1;
        }
        .die-face-6 .die-dot:nth-child(6) {
            grid-area: 3 / 3;
        }

        /* Bouncing ASCII Cube */
        .bouncing-ascii-cube {
            position: fixed;
            z-index: 1;
            pointer-events: auto;
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            line-height: 1;
            color: var(--text-primary);
            white-space: pre;
            user-select: none;
            text-shadow: 1px 1px 2px var(--dark-shadow);
            opacity: 0.3;
            transition: opacity 0.3s ease;
            cursor: pointer;
        }

        .bouncing-ascii-cube:hover {
            opacity: 0.5;
        }

        .bouncing-ascii-cube.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .profile-info {
            flex: 0 0 auto;
        }
        
        .profile-name {
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 4px;
        }
        
        .profile-title {
            font-size: 0.85rem;
            color: var(--text-tertiary);
            font-weight: 300;
        }
        
        .intro-text {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--text-secondary);
            font-weight: 300;
            text-align: left;
            flex: 1;
            padding-top: 0;
            border-top: none;
        }
        
        /* Profile-specific styles */
        .profile-section .intro-text {
            min-height: 100%;
            display: flex;
            align-items: center;
        }
        
        .profile-section .intro-text-content {
            display: block;
            width: 100%;
            margin: auto 0;
        }
        
        .intro-text span {
            color: var(--text-primary);
            font-weight: 500;
        }
        
        /* Mobile responsiveness for profile section */
        @media (max-width: 600px) {
            .profile-section {
                gap: 16px;
                padding-bottom: 16px;
            }

            .profile-content {
                flex-direction: column;
                align-items: center;
                gap: 16px;
            }

            .profile-avatar-container {
                margin-bottom: 8px;
            }

            .profile-section .intro-text {
                text-align: center;
                padding: 8px 12px;
                margin-top: 8px;
                display: block;
            }

            .profile-section .intro-text-content {
                margin: 0 auto;
            }
        }
        
        /* Navigation links */
        
        .nav-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 16px;
            margin-bottom: 0; /* Removed bottom margin as it affects vertical centering */
            width: 100%;
        }
        
        .nav-link {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            text-decoration: none;
            color: var(--text-secondary);
            border-radius: 16px;
            transition: all 0.3s ease;
            font-weight: 400;
            min-width: 120px;
            justify-content: center;
            height: 48px; /* Added fixed height to ensure consistent vertical size */
        }
        
        .nav-link.active {
            color: var(--text-primary);
            font-weight: 500;
            box-shadow: inset 4px 4px 8px var(--dark-shadow), 
                        inset -4px -4px 8px var(--light-shadow);
        }
        
        .nav-link-icon {
            margin-right: 8px;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: var(--base-bg);
            box-shadow: 2px 2px 4px var(--dark-shadow), 
                        -2px -2px 4px var(--light-shadow);
            position: relative;
            top: -1px;
        }
        
        /* Resume download button */
        .resume-section {
            display: flex;
            justify-content: center;
            margin-bottom: 16px;
        }
        
        .download-resume {
            padding: 12px 24px;
            border: none;
            border-radius: 16px;
            color: var(--text-primary);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        /* Contact section - REMOVED */
        
        /* Projects panel */
        .projects-panel {
            padding: 24px;
            display: flex;
            flex-direction: column;
        }
        
        .panel-header {
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--dark-shadow);
            text-align: center;
        }
        
        .panel-title {
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-primary);
            letter-spacing: 1px;
        }

        /* Server stats header without border */
        .server-stats-header {
            margin-bottom: 24px;
            padding-bottom: 16px;
            text-align: center;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 24px;
        }
        
        @media (min-width: 640px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        .project-card {
            border-radius: 20px;
            background: var(--base-bg);
            box-shadow: 5px 5px 10px var(--dark-shadow), 
                        -5px -5px 10px var(--light-shadow);
            padding: 24px;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
        }
        
        .project-card:hover {
            transform: translateY(-4px);
            box-shadow: 8px 8px 16px var(--dark-shadow), 
                        -8px -8px 16px var(--light-shadow);
        }
        
        .project-card:active {
            transform: translateY(0);
            box-shadow: inset 4px 4px 8px var(--dark-shadow), 
                        inset -4px -4px 8px var(--light-shadow);
        }
        
        .project-title {
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 12px;
            color: var(--text-primary);
        }
        
        .project-desc {
            font-size: 0.85rem;
            margin-bottom: 16px;
            flex-grow: 1;
            color: var(--text-secondary);
            font-weight: 300;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .project-tag {
            font-size: 0.7rem;
            padding: 4px 10px;
            border-radius: 30px;
            color: var(--text-tertiary);
            font-weight: 300;
            box-shadow: inset 2px 2px 5px var(--dark-shadow), 
                        inset -2px -2px 5px var(--light-shadow);
        }
        
        /* Footer with copyright text */
        .footer-note {
            font-size: 0.7rem;
            text-align: center;
            margin: 0 auto 20px;
            color: var(--text-tertiary);
            font-weight: 300;
            width: 100%;
            position: relative;
        }

        /* Section transitions */
        .content-section {
            display: block;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
            position: absolute;
            width: 100%;
            max-width: 760px;
            pointer-events: none;
            backface-visibility: hidden;
            transform-style: preserve-3d;
            will-change: transform, opacity;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
        
        .content-section.active {
            opacity: 1;
            transform: translateY(0);
            position: relative;
            pointer-events: auto;
            z-index: 2;
            animation: fadeInUp 0.5s ease-out forwards;
        }
        
        /* Add consistent animation for all sections */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Telemetry Background */
        .telemetry-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0.25;
            pointer-events: none;
            overflow: hidden;
            color: var(--text-tertiary);
            background: linear-gradient(rgba(0,0,0,0.01), rgba(0,0,0,0.01));
        }
        
        .telemetry-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(to right, rgba(119, 119, 119, 0.08) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(119, 119, 119, 0.08) 1px, transparent 1px);
            background-size: 20px 20px;
            z-index: 0;
        }
        
        /* Data Layer */
        .data-layer {
            position: fixed;
            bottom: 10px;
            left: 10px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 9px;
            color: var(--text-tertiary);
            opacity: 0.9;
            z-index: 1;
            pointer-events: none;
            text-shadow: 0 0 2px rgba(0,0,0,0.1);
            background-color: rgba(224, 224, 224, 0.1);
            padding: 2px 4px;
            border-radius: 3px;
        }
        
        .coor, .scroll, .countdown, .stream-data, .click, .referrer, .current-time {
            display: inline-block;
            margin-right: 12px;
            font-weight: 400;
        }
        
        /* CRT scanlines effect */
        .telemetry-container::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.08),
                rgba(0, 0, 0, 0.08) 1px,
                transparent 1px,
                transparent 2px
            );
            pointer-events: none;
            z-index: 1;
        }
        
        /* Flicker animation for the telemetry data */
        @keyframes flicker {
            0% { opacity: 0.9; }
            3% { opacity: 0.8; }
            6% { opacity: 0.9; }
            9% { opacity: 0.85; }
            30% { opacity: 0.9; }
            45% { opacity: 0.88; }
            60% { opacity: 0.9; }
            70% { opacity: 0.75; }
            80% { opacity: 0.9; }
            100% { opacity: 0.9; }
        }
        
        .telemetry-data {
            position: absolute;
            font-family: 'JetBrains Mono', monospace;
            font-size: 9px;
            color: var(--text-tertiary);
            opacity: 0.9;
            white-space: nowrap;
            transform-origin: left top;
            background: linear-gradient(90deg, rgba(224, 224, 224, 0.1), transparent);
            padding: 1px 3px;
            border-radius: 2px;
            animation: flicker 8s infinite;
            animation-delay: calc(var(--delay, 0) * 1s);
            z-index: 1;
        }
        
        .telemetry-vertical {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
        }
        
        .telemetry-horizontal-right {
            text-align: right;
            right: 0;
        }
        
        .telemetry-graph {
            position: absolute;
            font-family: 'JetBrains Mono', monospace;
            font-size: 10px;
            color: var(--text-tertiary);
            opacity: 0.7;
        }

        /* Add styles for project card links */
        a.project-card {
            text-decoration: none;
            color: inherit;
        }

        /* Under construction styling */
        .project-card.under-construction {
            position: relative;
        }

        .project-card.under-construction::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 0, 0);
            border-radius: 18px;
            pointer-events: none;
            z-index: 1;
            transition: background 0.3s ease;
        }

        .construction-overlay {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(255, 255, 0, 0.9);
            color: #000;
            padding: 4px 8px;
            border-radius: 8px;
            font-size: 10px;
            font-weight: bold;
            z-index: 2;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            opacity: 0;
            transform: translateY(-4px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .project-card.under-construction:hover .construction-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .project-card.under-construction:hover {
            transform: translateY(-2px);
            box-shadow: 6px 6px 12px var(--dark-shadow),
                        -6px -6px 12px var(--light-shadow);
            background: rgba(255, 255, 0, 0.1);
            border: 2px solid rgba(255, 255, 0, 0.5);
        }

        .project-card.under-construction:hover::before {
            background: rgba(255, 255, 0, 0.15);
        }

        /* Server Stats Panel */
        .server-stats-panel {
            padding: 20px;
            background: var(--panel-bg);
            border-radius: 15px;
            box-shadow: var(--convex-neumorphic-shadow);
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        
        /* Flex container for network and services sections */
        .server-stats-flex-container {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .server-stats-flex-container .concave-neumorphic {
            flex: 1;
            margin-bottom: 0;
            min-width: 0; /* Prevents flex items from overflowing */
        }

        /* Responsive layout for smaller screens */
        @media (max-width: 768px) {
            .server-stats-flex-container {
                flex-direction: column;
            }
            
            .server-stats-flex-container .concave-neumorphic {
                margin-bottom: 20px;
            }

            .server-stats-flex-container .concave-neumorphic:last-child {
                margin-bottom: 0;
            }
        }

        /* Server stats components styles */
        .concave-neumorphic {
            margin-bottom: 20px;
            background: var(--base-bg);
            padding: 16px;
            border-radius: 16px;
            box-shadow: inset 3px 3px 6px var(--dark-shadow),
                        inset -3px -3px 6px var(--light-shadow);
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        .stat-group-title {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 12px;
            text-align: center;
        }

        .stat-item {
            margin-bottom: 12px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
        }

        .stat-label {
            display: block;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }

        .stat-value {
            display: flex;
            align-items: center;
        }

        .stat-bar-container {
            height: 8px;
            background: var(--base-bg);
            border-radius: 4px;
            flex-grow: 1;
            margin-right: 10px;
            overflow: hidden;
            box-shadow: inset 2px 2px 4px var(--dark-shadow), 
                        inset -2px -2px 4px var(--light-shadow);
        }

        .stat-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #8e8e8e, #5a5a5a);
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        .stat-percentage {
            width: 40px;
            text-align: right;
            color: var(--text-primary);
        }

        .service-status {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .service-name {
            color: var(--text-secondary);
        }

        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #777;
            margin-right: 8px;
        }

        .status-indicator.online {
            background-color: #5cb85c;
        }

        .status-indicator.offline {
            background-color: #d9534f;
        }

        .status-indicator.warning {
            background-color: #f0ad4e;
        }

        .status-text {
            color: var(--text-tertiary);
            font-size: 0.7rem;
            display: flex;
            align-items: center;
        }

        .update-time {
            text-align: center;
            font-size: 0.7rem;
            color: var(--text-tertiary);
            margin-top: auto;
            padding-top: 20px;
        }

        .sidebar-data-source {
            font-size: 0.7rem;
            color: var(--text-secondary);
            margin-top: 5px;
            padding: 2px 5px;
            border-radius: 3px;
            background-color: rgba(0,0,0,0.05);
            display: inline-block;
            margin-bottom: 10px;
            text-align: center;
            margin: 10px auto;
        }
        
        
        .info-message {
            background-color: rgba(0, 123, 255, 0.1);
            color: #0d6efd;
            padding: 10px;
            border-radius: 5px;
            margin: 10px 0;
            font-size: 0.9em;
        }
        
        .error-message {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
            padding: 10px;
            border-radius: 5px;
            margin: 10px 0;
            font-size: 0.9em;
        }
        
        /* Server Stats Container */
        /* ... existing code ... */

        /* Dark mode toggle button */
        .darkmode-toggle {
            position: fixed;
            top: 20px;
            left: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--base-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 3px 3px 6px var(--dark-shadow), 
                        -3px -3px 6px var(--light-shadow);
            transition: all 0.3s ease;
        }
        
        .darkmode-toggle:hover {
            transform: scale(1.05);
        }
        
        .darkmode-toggle:active {
            transform: scale(0.95);
            box-shadow: inset 2px 2px 4px var(--dark-shadow), 
                        inset -2px -2px 4px var(--light-shadow);
        }
        
        .darkmode-toggle .icon {
            font-size: 20px;
            color: var(--text-primary);
            transition: transform 0.5s ease;
        }
        
        body.dark-mode .darkmode-toggle .moon {
            display: none;
        }
        
        body:not(.dark-mode) .darkmode-toggle .sun {
            display: none;
        }
        
        /* Contact email link styles */
        a[href^="mailto:"] {
            color: #0066cc;
            text-decoration: none;
        }
        
        a[href^="mailto:"]:visited {
            color: #800080;
        }
        
        a[href^="mailto:"]:hover {
            text-decoration: underline;
        }
        
        /* Dark mode - inverse colors for contact email link */
        body.dark-mode a[href^="mailto:"] {
            color: #ff3333;
        }
        
        body.dark-mode a[href^="mailto:"]:visited {
            color: #7fff7f;
        }
        
        /* Mobile responsive styles for dark mode button */
        @media (max-width: 768px) {
            .darkmode-toggle {
                width: 30px;
                height: 30px;
                top: 10px;
                left: 10px;
            }

            .darkmode-toggle .icon {
                font-size: 14px;
            }

            /* Mobile-specific fixes for content sections */
            .content-section {
                /* Ensure proper stacking on mobile */
                position: absolute !important;
                top: 0;
                left: 0;
                right: 0;
                width: 100%;
                /* Prevent horizontal overflow on mobile */
                overflow-x: hidden;
                /* Ensure sections don't interfere when not active */
                visibility: hidden;
            }

            .content-section.active {
                position: relative !important;
                visibility: visible;
                /* Ensure proper mobile scrolling */
                overflow-x: visible;
            }

            /* Improve transition performance on mobile */
            .sections-wrapper {
                /* Use hardware acceleration for smoother transitions */
                transform: translateZ(0);
                backface-visibility: hidden;
                perspective: 1000px;
            }

            /* Prevent content jumping during transitions */
            .sections-wrapper.has-active {
                overflow: hidden;
            }
        }
        
        /* Shoutbox Styles */
        .shoutbox-container {
            display: flex;
            flex-direction: column;
            padding: 15px;
            gap: 15px;
        }
        
        .shoutbox-messages {
            background: var(--base-bg);
            padding: 16px;
            border-radius: 16px;
            box-shadow: inset 3px 3px 6px var(--dark-shadow), 
                        inset -3px -3px 6px var(--light-shadow);
            height: 250px;
            overflow-y: auto;
            margin-bottom: 10px;
            font-family: 'JetBrains Mono', monospace;
        }
        
        .shoutbox-message {
            padding: 4px 8px;
            margin-bottom: 2px;
            background: var(--panel-bg);
            border-radius: 4px;
            box-shadow: var(--convex-neumorphic-shadow);
            display: flex;
            align-items: baseline;
            gap: 8px;
            font-size: 0.75rem;
            line-height: 1.2;
        }
        
        .shoutbox-message:last-child {
            margin-bottom: 0;
        }
        
        .message-time {
            color: var(--text-tertiary);
            font-size: 0.7rem;
            flex-shrink: 0;
            min-width: 40px;
        }
        
        .message-author {
            font-weight: bold;
            color: var(--text-primary);
            flex-shrink: 0;
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .message-content {
            color: var(--text-secondary);
            word-wrap: break-word;
            flex: 1;
            min-width: 0;
        }
        

        
        .shoutbox-input-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .shoutbox-author-input {
            padding: 10px 15px;
            background: var(--base-bg);
            border: none;
            border-radius: 10px;
            color: var(--text-primary);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            box-shadow: inset 3px 3px 6px var(--dark-shadow),
                        inset -3px -3px 6px var(--light-shadow);
            outline: none;
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        }
        

        
        .shoutbox-message-input {
            padding: 15px;
            background: var(--base-bg);
            border: none;
            border-radius: 10px;
            color: var(--text-primary);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            resize: none;
            min-height: 80px;
            box-shadow: inset 3px 3px 6px var(--dark-shadow),
                        inset -3px -3px 6px var(--light-shadow);
            outline: none;
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .shoutbox-submit {
            align-self: flex-end;
            padding: 10px 20px;
            font-size: 0.8rem;
            border: none;
            border-radius: 10px;
            background: var(--base-bg);
            color: var(--text-primary);
            font-family: 'JetBrains Mono', monospace;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
