
        /* Кастомные слои Tailwind (если бы был config) */
        body {
            font-family: 'Inter', sans-serif;
            background: #0B0E1A;
            color: #EDF2F7;
            overflow-x: hidden;
        }
        h1, h2, h3, .font-display {
            font-family: 'Cal Sans', 'Inter', sans-serif;
            letter-spacing: -0.02em;
        }
        /* Неоновая рамка с шумом */
        .neon-border {
            position: relative;
            border: 1px solid rgba(123, 104, 238, 0.2);
            transition: all 0.3s ease;
        }
        .neon-border::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: inherit;
            padding: 2px;
            background: radial-gradient(circle at var(--x, 20%) var(--y, 20%), #7B68EE, transparent 70%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .neon-border:hover::after {
            opacity: 0.8;
        }
        /* Стекло с шумом */
        .glass-panel {
            background: rgba(20, 27, 43, 0.6);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(123, 104, 238, 0.15);
        }
        /* Анимированный фон-сетка */
        .grid-bg {
            background-image: 
                linear-gradient(rgba(123, 104, 238, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(123, 104, 238, 0.05) 1px, transparent 1px);
            background-size: 40px 40px;
            mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 70%);
        }
        /* Плавающие шары */
        .floating-orbs {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
            z-index: -1;
        }
        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.2;
            animation: orbFloat 25s infinite alternate ease-in-out;
        }
        @keyframes orbFloat {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(30px, -50px) scale(1.2); }
        }
        /* Анимация появления */
        .fade-up {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
        }
        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* Микро-пульсация */
        @keyframes softPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(123, 104, 238, 0); }
            50% { box-shadow: 0 0 20px 5px rgba(123, 104, 238, 0.3); }
        }
        .pulse-on-hover:hover {
            animation: softPulse 2s infinite;
        }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.anchor-link {
    text-decoration: none;
    opacity: 0;
}

h2:hover .anchor-link,
h3:hover .anchor-link {
    opacity: 1;
}

.toc-item {
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.toc-item:hover {
    border-left-color: #7B68EE;
    background: rgba(123, 104, 238, 0.1);
}

.toc-item.active {
    border-left-color: #00D9C0;
    background: rgba(0, 217, 192, 0.1);
    color: white !important;
}

@media (max-width: 768px) {
    .anchor-link {
        display: none;
    }
}
