:root {
    --obsidian: #050507;
    --ender-purple: #7c3aed;
    --ender-cyan: #06b6d4;
    --ender-green: #10b981;
    --glass-refraction: rgba(255, 255, 255, 0.03);
}

body {
    background-color: var(--obsidian);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Refractive Obsidian Styling */
.fragment-card {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.8) 0%, rgba(10, 10, 12, 0.9) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(12px);
    position: relative;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}



.fragment-card:hover {
    border-color: rgba(124, 58, 237, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.3);
}

.refractive-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.05) 45%, transparent 50%);
    background-size: 200% 200%;
    animation: shimmer 12s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.pulse-online {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.glow-text-purple {
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.glow-text-cyan {
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--obsidian);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--ender-purple);
    border-radius: 10px;
}

/* Fragmented Background Elements */
.bg-fragment {
    position: fixed;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    transition: transform 0.3s ease;
}

.copy-toast.active {
    transform: translateX(-50%) translateY(0);
}