/* Neon Hacker Theme - Green/Black/Grey */

:root {
    --neon-green: #00ff41;
    --dark-green: #00cc33;
    --lime-green: #39ff14;
    --bg-black: #0a0e0a;
    --bg-dark: #121612;
    --grey-dark: #1a1f1a;
    --grey-medium: #2a332a;
    --grey-light: #4a5a4a;
    --text-grey: #8fa68f;
    --glow-green: rgba(0, 255, 65, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-black);
    color: var(--neon-green);
    overflow-x: hidden;
    position: relative;
}

/* Scanline effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 65, 0.03),
        rgba(0, 255, 65, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
    animation: scanline-flicker 0.15s infinite;
}

@keyframes scanline-flicker {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* Noise effect */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
    animation: noise-anim 0.2s infinite;
}

@keyframes noise-anim {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Terminal header */
.terminal-header {
    background: var(--grey-dark);
    border: 2px solid var(--neon-green);
    border-bottom: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 20px var(--glow-green);
    border-radius: 8px 8px 0 0;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.control-dot.red {
    background: #ff5f56;
    box-shadow: 0 0 5px #ff5f56;
}

.control-dot.yellow {
    background: #ffbd2e;
    box-shadow: 0 0 5px #ffbd2e;
}

.control-dot.green {
    background: var(--lime-green);
    box-shadow: 0 0 5px var(--lime-green);
}

.terminal-title {
    color: var(--neon-green);
    font-weight: bold;
    text-shadow: 0 0 10px var(--glow-green);
}

/* Terminal body */
.terminal-body {
    background: var(--bg-dark);
    border: 2px solid var(--neon-green);
    border-top: none;
    padding: 30px;
    min-height: 600px;
    box-shadow: 0 0 20px var(--glow-green);
    border-radius: 0 0 8px 8px;
    position: relative;
}

/* ASCII Art */
.ascii-art {
    text-align: center;
    margin-bottom: 30px;
    animation: glow-pulse 2s ease-in-out infinite;
}

.ascii-art pre {
    color: var(--neon-green);
    font-size: 10px;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--glow-green);
}

@keyframes glow-pulse {
    0%, 100% { 
        text-shadow: 0 0 10px var(--glow-green);
        filter: brightness(1);
    }
    50% { 
        text-shadow: 0 0 20px var(--glow-green), 0 0 30px var(--glow-green);
        filter: brightness(1.2);
    }
}

/* Command line */
.command-line {
    margin: 20px 0;
    font-size: 16px;
    color: var(--text-grey);
}

.prompt {
    color: var(--dark-green);
    font-weight: bold;
}

.command {
    color: var(--neon-green);
    margin-left: 10px;
}

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: var(--lime-green);
    font-weight: bold;
}

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

/* Content sections */
.content-section {
    margin: 40px 0;
    padding: 20px;
    border-left: 3px solid var(--grey-medium);
    animation: slide-in 0.5s ease-out;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-title {
    color: var(--lime-green);
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-green);
    letter-spacing: 2px;
}

/* Info block */
.info-block {
    padding: 15px 0;
}

.glitch {
    font-size: 28px;
    font-weight: bold;
    color: var(--neon-green);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 10px var(--glow-green);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
}

.bio-text {
    color: var(--text-grey);
    line-height: 1.8;
    font-size: 14px;
}

.highlight {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--glow-green);
    font-weight: bold;
}

/* Skills grid */
.skills-grid {
    display: grid;
    gap: 20px;
}

.skill-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: center;
    padding: 15px;
    background: var(--grey-dark);
    border: 1px solid var(--grey-medium);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--glow-green);
    transform: translateX(5px);
}

.skill-icon {
    font-size: 20px;
    text-align: center;
}

.skill-name {
    grid-column: 2;
    color: var(--neon-green);
    font-weight: bold;
}

.skill-bar {
    grid-column: 2;
    height: 8px;
    background: var(--grey-medium);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--dark-green), var(--neon-green), var(--lime-green));
    box-shadow: 0 0 10px var(--glow-green);
    animation: progress-load 1.5s ease-out;
}

@keyframes progress-load {
    from { width: 0 !important; }
}

/* File system */
.file-system {
    display: grid;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--grey-dark);
    border: 1px solid var(--grey-medium);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--glow-green);
    transform: translateX(5px);
}

.file-icon {
    font-size: 20px;
}

.file-name {
    flex: 1;
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
}

.file-status {
    color: var(--text-grey);
    font-size: 12px;
}

/* Contact grid */
.contact-grid {
    display: grid;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--grey-dark);
    border: 1px solid var(--grey-medium);
    border-radius: 4px;
    color: var(--neon-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--glow-green);
    transform: translateX(5px);
    background: var(--grey-medium);
}

.contact-icon {
    font-size: 24px;
}

/* Footer command */
.footer-cmd {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--grey-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
    }
    
    .terminal-body {
        padding: 20px;
    }
    
    .ascii-art pre {
        font-size: 8px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

/* Matrix background effect */
.matrix-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
}
