@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 5px #00FFFF; }
    50% { box-shadow: 0 0 20px #00FFFF, 0 0 30px #00FFFF; }
}

@keyframes matrix-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.blink { animation: blink 1s infinite; }
.pulse { animation: pulse 2s infinite; }
.fade-in-up { animation: fadeInUp 0.8s ease-out; }
.glitch { animation: glitch 0.3s infinite; }
.progress-glow { animation: progressGlow 2s infinite; }

.scanline {
    background: linear-gradient(transparent 50%, rgba(0, 255, 255, 0.03) 50%);
    background-size: 100% 4px;
}

.boot-line {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
    margin-bottom: 2px;
    font-size: 0.75rem;
}

.splash-title {
    letter-spacing: 3px;
}

.loading-dots::after {
    content: '';
    animation: typewriter 1.5s infinite;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    animation: matrix-scroll 20s linear infinite;
    pointer-events: none;
}

.menu-hover-effect {
    position: relative;
    transition: all 0.3s ease;
}

.menu-hover-effect::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #00FFFF;
    transition: width 0.3s ease;
}

.menu-hover-effect:hover::before,
.menu-hover-effect.selected::before {
    width: 6px;
}

.content-panel {
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    border: 2px solid #C0C0C0;
    border-radius: 0;
    box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.1), inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

.retro-button {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 50%, #404040 100%);
    border: 2px outset #C0C0C0;
    color: black;
    transition: all 0.1s ease;
}

.retro-button:hover {
    background: linear-gradient(135deg, #E0E0E0 0%, #A0A0A0 50%, #606060 100%);
}

.retro-button:active {
    border-style: inset;
    background: linear-gradient(135deg, #A0A0A0 0%, #808080 50%, #404040 100%);
}

.terminal-window {
    background: #000;
    border: 2px outset #C0C0C0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.window-header {
    background: linear-gradient(90deg, #0000FF 0%, #000080 100%);
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    border-bottom: 1px solid #C0C0C0;
}

.project-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 128, 0.1) 100%);
    border: 2px inset #C0C0C0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FFFF, transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: #00FFFF;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.skill-logo-item {
    cursor: pointer;
    position: relative;
}
