:root {
    --terminal-bg: #0d1117;
    --terminal-text: #58a6ff;
    --terminal-green: #3fb950;
    --terminal-red: #f85149;
    --terminal-yellow: #e3b341;
    --accent-color: #58a6ff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--terminal-bg);
    color: #e6edf3;
    position: relative;
    overflow-x: hidden;
}

.terminal-font {
    font-family: 'Fira Code', monospace;
}

.terminal-bg {
    background-color: rgba(13, 17, 23, 0.85);
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background-color: #161b22;
    border-bottom: 1px solid #30363d;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.terminal-red { background-color: var(--terminal-red); }
.terminal-yellow { background-color: var(--terminal-yellow); }
.terminal-green { background-color: var(--terminal-green); }

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: var(--terminal-text);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 4px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typed-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--terminal-text);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--terminal-text) }
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.07;
}

.skill-bar {
    height: 8px;
    background-color: #30363d;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px;
}

.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.active::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4589d1;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(88, 166, 255, 0.1);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #30363d, transparent);
    margin: 4rem 0;
}

/* Matrix animation */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-card {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s;
    will-change: transform, opacity;
    opacity: 0.7;
}

.parallax-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
} 