:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-terminal: #0f0f0f;
    --bg-terminal-header: #0a0a0a;
    --bg-skill: #1a1a1a;
    --bg-tag: #141414;
    --bg-card: rgba(20, 20, 20, 0.7);
    --bg-control: rgba(20, 20, 20, 0.9);
    --bg-footer: #0f0f0f;

    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;

    --accent-color: #00ff88;
    --accent-glow: rgba(0, 255, 136, 0.2);

    --border-color: #2a2a2a;
    --border-inner: rgba(0, 255, 136, 0.05);

    --shadow-color: rgba(0, 255, 136, 0.2);
    --shadow-subtle: rgba(0, 255, 136, 0.05);
}

body {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 255, 136, 0.03),
            transparent 50%
        ),
        #0a0a0a;
}

.avatar {
    border-color: var(--accent-color);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%,
    100% {
        box-shadow:
            0 0 0 8px var(--bg-terminal),
            0 0 30px rgba(0, 255, 136, 0.4),
            0 0 60px rgba(0, 255, 136, 0.2);
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        box-shadow:
            0 0 0 8px var(--bg-terminal),
            0 0 50px rgba(0, 255, 136, 0.6),
            0 0 100px rgba(0, 255, 136, 0.3);
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

.control-btn {
    background: rgba(20, 20, 20, 0.95);
    box-shadow:
        0 4px 12px rgba(0, 255, 136, 0.1),
        inset 0 1px 1px rgba(0, 255, 136, 0.05);
}

.control-btn:hover {
    box-shadow:
        0 8px 24px rgba(0, 255, 136, 0.3),
        inset 0 1px 1px rgba(0, 255, 136, 0.1);
}

.skill-item:hover {
    box-shadow:
        0 4px 15px rgba(0, 255, 136, 0.3),
        0 0 30px rgba(0, 255, 136, 0.2);
}

.project-card:hover {
    box-shadow:
        0 25px 60px rgba(0, 255, 136, 0.25),
        0 0 0 1px rgba(0, 255, 136, 0.5);
}

.contact-link:hover {
    box-shadow:
        0 15px 50px rgba(0, 255, 136, 0.3),
        0 0 0 2px rgba(0, 255, 136, 0.3);
}

.feature-tag:hover {
    box-shadow:
        0 10px 30px rgba(0, 255, 136, 0.3),
        0 0 40px rgba(0, 255, 136, 0.2);
}

.grid-overlay {
    opacity: 0.03;
}

.grain-overlay {
    opacity: 0.04;
}

* {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.cursor,
.avatar,
.typed-text,
.particle-canvas {
    transition: none;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-secondary);
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-secondary);
}

::selection {
    background: var(--accent-color);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--bg-primary);
}
