/* SADHU_ROOT Cyberpunk Theme - Enhanced Visual Design */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

:root {
    --primary-color: #00ff41;
    --secondary-color: #00d4ff;
    --accent-color: #ff006e;
    --bg-color: #0a0a0a;
    --surface-color: #111111;
    --text-color: #e0e0e0;
    --border-color: #333;
    --glow-color: rgba(0, 255, 65, 0.8);
    --error-color: #ff0040;
    --warning-color: #ffb700;
    --purple-accent: #9945ff;
    --cyan-glow: rgba(0, 212, 255, 0.5);
}

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

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(ellipse at top, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 2px,
            rgba(0, 255, 65, 0.03) 4px
        ),
        url('/assets/images/bg-pattern.svg');
    background-size: 100% 100%, 100% 100%, 100% 100%, 100px 100px;
    background-position: center, center, center, 0 0;
    min-height: 100vh;
}

/* Matrix Background Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 2px,
            rgba(0, 255, 65, 0.03) 4px
        );
    animation: matrix-rain 20s linear infinite;
}

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

/* Scan Line Effect */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.8;
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 9999;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Glitch Effect */
.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    animation: glitch-skew 1s infinite linear alternate-reverse;
    text-shadow: 
        0 0 10px var(--glow-color),
        0 0 20px var(--glow-color),
        0 0 30px var(--glow-color),
        0 0 40px var(--glow-color);
    margin-bottom: 0;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--secondary-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--accent-color);
    z-index: -2;
}

@keyframes glitch-1 {
    0% {
        clip-path: inset(20% 0 30% 0);
        transform: translate(-2px, 2px);
    }
    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, -2px);
    }
    40% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(-2px, 2px);
    }
    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }
    80% {
        clip-path: inset(5% 0 60% 0);
        transform: translate(-2px, 2px);
    }
    100% {
        clip-path: inset(30% 0 30% 0);
        transform: translate(0);
    }
}

@keyframes glitch-2 {
    0% {
        clip-path: inset(65% 0 5% 0);
        transform: translate(2px, -2px);
    }
    20% {
        clip-path: inset(5% 0 65% 0);
        transform: translate(-2px, 2px);
    }
    40% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(2px, -2px);
    }
    60% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-2px, 2px);
    }
    80% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, -2px);
    }
    100% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(0);
    }
}

@keyframes glitch-skew {
    0% { transform: skew(2deg); }
    10% { transform: skew(-1deg); }
    20% { transform: skew(0deg); }
    30% { transform: skew(1deg); }
    40% { transform: skew(-2deg); }
    50% { transform: skew(0deg); }
    60% { transform: skew(1deg); }
    70% { transform: skew(-1deg); }
    80% { transform: skew(2deg); }
    90% { transform: skew(0deg); }
    100% { transform: skew(-1deg); }
}

/* Header Styles */
header {
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 255, 65, 0.1)),
        url('/assets/images/cyber-bg-1.jpg') center/cover;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.1) 2px,
            rgba(0, 255, 65, 0.1) 4px
        );
    animation: scan 8s linear infinite;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    opacity: 0;
    animation: fade-in 2s forwards 0.5s;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-shadow: 0 0 10px var(--cyan-glow);
}

/* Navigation */
.cyber-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 4px 30px rgba(0, 255, 65, 0.3),
        inset 0 1px 0 rgba(0, 255, 65, 0.2);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(0, 255, 65, 0.05);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 0 100%);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s;
    z-index: -1;
}

.nav-link:hover {
    color: var(--bg-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.nav-link:hover::before {
    left: 0;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Sections */
.cyber-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: 
        linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(0, 255, 65, 0.05) 100%),
        var(--surface-color);
    border: 1px solid var(--primary-color);
    position: relative;
    animation: fade-in 1s forwards;
    box-shadow: 
        0 0 50px rgba(0, 255, 65, 0.1),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    backdrop-filter: blur(5px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.cyber-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.cyber-section:hover::before {
    opacity: 0.2;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    padding-left: 1rem;
    text-shadow: 
        0 0 10px var(--glow-color),
        0 0 20px var(--glow-color);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.accent {
    color: var(--accent-color);
}

/* Terminal Window */
.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary-color);
    border-radius: 0;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: terminal-scan 3s linear infinite;
}

@keyframes terminal-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.terminal-header {
    background: #333;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27c93f; }

.terminal-content {
    padding: 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    line-height: 1.8;
    text-shadow: 0 0 5px currentColor;
}

.prompt {
    color: var(--primary-color);
}

.output {
    color: var(--text-color);
    margin-top: 0.5rem;
}

/* Bio Grid */
.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bio-card {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 255, 65, 0.1) 100%),
        rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.bio-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.bio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 10px 40px rgba(0, 255, 65, 0.4),
        0 0 60px rgba(0, 255, 65, 0.2);
    border-color: var(--secondary-color);
}

.bio-card:hover::before {
    opacity: 0.3;
}

.bio-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.3rem;
    text-shadow: 0 0 10px currentColor;
}

/* Skill Bars */
.skill-matrix {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.neon-text {
    text-shadow: 0 0 10px currentColor;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.skill-bar {
    background: rgba(0, 0, 0, 0.8);
    height: 12px;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(0, 255, 65, 0.3);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--purple-accent));
    animation: load-skill 2s ease-out;
    position: relative;
    box-shadow: 
        0 0 10px currentColor,
        inset 0 0 5px rgba(255, 255, 255, 0.3);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes load-skill {
    0% { width: 0; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tech Grid */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: 
        linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%),
        rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.tech-tag:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(0, 255, 65, 0.4),
        0 0 25px rgba(0, 255, 65, 0.2);
    border-color: var(--secondary-color);
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.project-card {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(153, 69, 255, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    border: 2px solid var(--purple-accent);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(153, 69, 255, 0.3),
        0 0 60px rgba(153, 69, 255, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    font-size: 1.4rem;
    text-shadow: 0 0 10px currentColor;
}

.project-status {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border: 2px solid;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.project-status.live {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 255, 65, 0.1);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px var(--glow-color); }
    50% { box-shadow: 0 0 20px var(--glow-color), 0 0 30px var(--glow-color); }
}

.project-tech {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* Research Timeline */
.research-timeline {
    position: relative;
    padding-left: 3rem;
    margin: 3rem 0;
}

.research-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px var(--glow-color);
}

.research-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.research-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border: 3px solid var(--bg-color);
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--glow-color),
        inset 0 0 5px var(--bg-color);
    animation: timeline-pulse 2s infinite;
}

@keyframes timeline-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.research-date {
    color: var(--accent-color);
    font-weight: bold;
    min-width: 60px;
}

.research-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px currentColor;
}

.cve-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0.5rem;
    border: 1px solid;
}

.cve-badge.critical {
    color: var(--error-color);
    border-color: var(--error-color);
}

.cve-badge.high {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.cve-badge.medium {
    color: var(--warning-color);
    border-color: var(--warning-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: 
        radial-gradient(ellipse at center, rgba(0, 255, 65, 0.1) 0%, transparent 70%),
        rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-card:hover {
    border-color: var(--secondary-color);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 255, 65, 0.3),
        0 0 80px rgba(0, 255, 65, 0.2);
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 
        0 0 20px currentColor,
        0 0 40px currentColor,
        0 0 60px currentColor;
    animation: stat-pulse 2s ease-in-out infinite;
}

@keyframes stat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-label {
    color: var(--text-color);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0.8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.contact-method {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 212, 255, 0.1) 100%),
        rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border: 2px solid var(--secondary-color);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.3),
        0 0 50px rgba(0, 212, 255, 0.1);
}

.contact-method h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px currentColor;
    font-size: 1.3rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 0.8rem;
}

.contact-type {
    color: var(--primary-color);
    display: inline-block;
    min-width: 100px;
}

.cyber-link {
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

.cyber-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.cyber-link:hover::after {
    width: 100%;
}

.encrypted {
    position: relative;
    display: inline-block;
}

.encrypted::before {
    content: '[ENCRYPTED]';
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.encrypted:hover::before {
    opacity: 1;
}

.warning {
    color: var(--error-color);
    font-weight: bold;
}

/* ASCII Art */
.ascii-art {
    text-align: center;
    margin: 4rem 0;
    color: var(--primary-color);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.2;
    text-shadow: 
        0 0 10px var(--glow-color),
        0 0 20px var(--glow-color);
    animation: ascii-flicker 5s infinite;
}

@keyframes ascii-flicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    95% { opacity: 0.9; }
    96% { opacity: 1; }
}

.ascii-art pre {
    display: inline-block;
    text-align: left;
}

/* Footer */
.cyber-footer {
    text-align: center;
    padding: 3rem 2rem;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 65, 0.1) 100%),
        var(--surface-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.cyber-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: footer-scan 4s linear infinite;
}

@keyframes footer-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-info {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Blinking Cursor */
.blink {
    animation: blink 1s infinite;
}

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

/* Typing Effect */
.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end);
}

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

/* Fade In Animation */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden Message */
.hidden-message {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }
    
    .cyber-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .bio-grid,
    .project-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .research-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .container {
        padding: 1rem;
    }
}