@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght:400;700&display=swap');

* {
    font-family: 'Courier Prime', 'Courier New', monospace;
}

body {
    background: #000000;
    color: #00FF00;
    overflow-x: hidden;
    image-rendering: pixelated;
    margin: 0;
    padding: 0;
}

.crt-container {
    position: relative;
    background: #000;
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
    box-shadow:
        inset 0 0 50px rgba(0, 255, 0, 0.1),
        0 0 100px rgba(0, 255, 0, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.crt-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 0, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.03) 2px, rgba(0, 255, 0, 0.03) 4px);
    pointer-events: none;
    border-radius: 20px;
    z-index: 1;
}

.main-content {
    position: relative;
    z-index: 2;
}

.terminal-text {
    text-shadow: 0 0 5px #00FF00, 0 0 10px #00FF00, 0 0 15px #00FF00;
    letter-spacing: 1px;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 0, 0.1);
    animation: scanline 2s linear infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}

.power-led {
    width: 8px;
    height: 8px;
    background: #FFB000;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFB000;
    animation: glow 2s ease-in-out infinite alternate;
    z-index: 20;
}

@keyframes glow {
    from { box-shadow: 0 0 5px #FFB000; }
    to { box-shadow: 0 0 15px #FFB000, 0 0 25px #FFB000; }
}

.ascii-art {
    font-family: 'Courier New', monospace;
    line-height: 1;
    white-space: pre;
    color: #00FF00;
}

.command-prompt {
    background: transparent;
    border: none;
    color: #00FF00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    width: 100%;
}

.nav-button {
    border: 1px solid #00FF00;
    background: transparent;
    color: #00FF00;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00FF00;
    text-decoration: none;
    display: inline-block;
}

.nav-button:hover {
    background: #00FF00;
    color: #000000;
    box-shadow: 0 0 15px #00FF00;
    text-shadow: none;
}

.nav-icon {
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.nav-icon:hover {
    color: #FFB000;
    text-shadow: 0 0 10px #FFB000;
}

.timeline-item {
    border-left: 2px solid #00FF00;
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #00FF00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF00;
}

.skill-bar {
    background: #008000;
    height: 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-bar {
    background: #008000;
    height: 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.project-card, .hobby-card {
    border: 1px solid #00FF00;
    background: rgba(0, 255, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover, .hobby-card:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.tech-tag {
    background: #008000;
    color: #000000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    display: inline-block;
    margin: 2px;
    font-weight: bold;
}

.filter-button {
    background: transparent;
    border: 1px solid #008000;
    color: #008000;
    padding: 4px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.filter-button.active,
.filter-button:hover {
    background: #008000;
    color: #000000;
    border-color: #00FF00;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .crt-container {
        padding: 20px;
        margin: 10px;
    }

    .ascii-art {
        font-size: 8px;
    }

    .terminal-text {
        font-size: 14px;
    }
}

/* Error and success text colors */
.error-text {
    color: #FF4444;
    text-shadow: 0 0 5px #FF4444;
}

.success-text {
    color: #44FF44;
    text-shadow: 0 0 5px #44FF44;
}
