
        .error-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 60vh;
            text-align: center;
            padding: 2rem;
        }
        
        .error-code {
            font-size: clamp(4rem, 15vw, 10rem);
            font-weight: 600;
            line-height: 1;
            margin: 0;
            background: linear-gradient(135deg, var(--accent-primary, #ff6b6b), var(--accent-secondary, #4ecdc4));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .error-message {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            margin: 1rem 0 2rem;
            color: var(--text-primary, #333);
        }
        
        .error-description {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 2rem;
            color: var(--text-secondary, #666);
            line-height: 1.6;
        }
        
        .error-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 2rem;
        }
        
        .error-links a {
            padding: 0.75rem 1.5rem;
            background: var(--accent-primary, #ff6b6b);
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .error-links a:hover {
            background: var(--accent-secondary, #4ecdc4);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .error-links a.secondary {
            background: var(--bg-secondary, #f0f0f0);
            color: var(--text-primary, #333);
        }
        
        .error-links a.secondary:hover {
            background: var(--bg-tertiary, #e0e0e0);
        }

/* Game Overlay */
#game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#game-overlay.active {
    display: flex;
}

#game-canvas {
    border: 2px solid #fff;
    background: #000;
    max-width: 100%;
    max-height: 90vh;
}

#game-ui {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#game-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 8px;
}

#game-controls h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

#game-controls p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    font-size: 2rem;
    display: none;
}

#game-over.active {
    display: block;
}

#game-over h2 {
    margin: 0 0 1rem 0;
    font-size: 3rem;
    color: #ff6b6b;
}

#game-over button {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    background: #4ecdc4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.3s ease;
}

#game-over button:hover {
    background: #45b8af;
    transform: scale(1.05);
}

.close-game {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.close-game:hover {
    background: rgba(255, 255, 255, 0.3);
}

#play-game-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto Mono', monospace;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#play-game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}