/* Reset and Base Styles */
:root {
    --primary-cyan: #00ffff;
    --primary-purple: #ff00ff;
    --accent-green: #00ff41;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-gray: #888888;
    --border-glow: #00ffff33;
    --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.3);
}

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

body {
    font-family: 'IBM Plex Mono', 'Courier Prime', monospace;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Terminal Loading Screen */
.terminal-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeOut 1s ease-in-out 4s forwards;
}

.terminal-container {
    width: 80%;
    max-width: 800px;
    background: #111;
    border-radius: 8px;
    border: 1px solid var(--primary-cyan);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-glow);
}

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

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

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27ca3f; }

.terminal-title {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-left: auto;
}

.terminal-body {
    padding: 20px;
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    min-height: 300px;
}

.ascii-art {
    color: var(--primary-cyan);
    font-size: 0.6rem;
    line-height: 1;
    margin-bottom: 20px;
    animation: asciiGlow 2s ease-in-out infinite alternate;
}

@keyframes asciiGlow {
    0% { text-shadow: 0 0 5px var(--primary-cyan); }
    100% { text-shadow: 0 0 15px var(--primary-cyan), 0 0 25px var(--primary-cyan); }
}

.loading-lines {
    margin-bottom: 20px;
}

.loading-lines .line {
    color: var(--accent-green);
    margin-bottom: 8px;
    opacity: 0;
    animation: typeLine 0.5s ease-in-out forwards;
}

.line:nth-child(1) { animation-delay: 1s; }
.line:nth-child(2) { animation-delay: 1.5s; }
.line:nth-child(3) { animation-delay: 2s; }
.line:nth-child(4) { animation-delay: 2.5s; }
.line:nth-child(5) { animation-delay: 3s; }

.success {
    color: var(--accent-green);
    font-weight: bold;
    animation: successBlink 0.5s ease-in-out 3 alternate;
}

@keyframes typeLine {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes successBlink {
    0% { opacity: 1; }
    100% { opacity: 0.3; }
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar-terminal {
    flex: 1;
    height: 20px;
    background: #333;
    border: 1px solid var(--primary-cyan);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--accent-green));
    width: 0;
    animation: progressFill 3s ease-in-out 1s forwards;
}

.progress-text {
    color: var(--primary-cyan);
    min-width: 40px;
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* Neon Grid Background */
.neon-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 255, 255, 0.03) 50%,
        transparent 100%
    );
    background-size: 100% 4px;
    z-index: -1;
    animation: scanlineMove 0.1s linear infinite;
    pointer-events: none;
}

@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* Digital Rain Effect */
.digital-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.rain-column {
    position: absolute;
    top: -100%;
    width: 2px;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-cyan),
        transparent
    );
    animation: rainFall 8s linear infinite;
}

.rain-column:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.rain-column:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
}

.rain-column:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
}

.rain-column:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
}

.rain-column:nth-child(5) {
    left: 90%;
    animation-delay: 1s;
}

@keyframes rainFall {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.95);
    box-shadow: var(--shadow-glow);
}

.nav-logo .glitch {
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-decoration: none;
    position: relative;
    animation: logoGlitch 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--primary-purple);
    z-index: -1;
}

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

@keyframes logoGlitch {
    0%, 90% { transform: translate(0); }
    10% { transform: translate(-2px, 1px); }
    20% { transform: translate(2px, -1px); }
    30% { transform: translate(-1px, 2px); }
    40% { transform: translate(1px, -2px); }
    50% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, 1px); }
    70% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 2px); }
}

@keyframes glitch-1 {
    0%, 90% { transform: translate(0); }
    10% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
    0%, 90% { transform: translate(0); }
    30% { transform: translate(1px, 1px); }
    70% { transform: translate(-1px, -1px); }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-cyan);
    border-color: var(--border-glow);
    background: rgba(0, 255, 255, 0.05);
    text-shadow: 0 0 10px var(--primary-cyan);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-text {
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: bold;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    z-index: 2;
}

.typing-container {
    margin-bottom: 2rem;
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    color: var(--accent-green);
}

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

.typing-text {
    color: var(--text-light);
    margin-left: 0.5rem;
}

.cursor-blink {
    animation: cursorBlink 1s infinite;
    color: var(--primary-cyan);
}

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

.hero-title {
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    color: var(--accent-green);
    font-weight: 500;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px var(--primary-cyan)); }
    100% { filter: drop-shadow(0 0 30px var(--primary-cyan)); }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.cta-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'IBM Plex Mono', 'Courier Prime', monospace;
}

.cta-button.primary {
    background: rgba(0, 255, 255, 0.1);
}

.cta-button.secondary {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: rgba(0, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

.button-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-green);
    animation: scanButton 2s ease-in-out infinite;
}

@keyframes scanButton {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(48px); opacity: 1; }
}

/* Hologram Avatar */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hologram-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-glow {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.2) 0%,
        rgba(255, 0, 255, 0.1) 50%,
        transparent 70%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    animation: avatarPulse 4s ease-in-out infinite;
}

.avatar-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    border: 2px solid var(--primary-cyan);
    position: relative;
    overflow: hidden;
}

.avatar-image::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: avatarScan 3s ease-in-out infinite;
}

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

@keyframes avatarScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hologram-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hologram-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-cyan);
    animation: hologramScan 2s ease-in-out infinite;
}

@keyframes hologramScan {
    0%, 100% { transform: translateY(-150px); opacity: 0; }
    50% { transform: translateY(150px); opacity: 1; }
}

/* Advertisement Banner */
.ad-banner {
    margin: 6rem 0;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple), var(--accent-green), var(--primary-cyan));
    background-size: 200% 100%;
    padding: 1rem 0;
    overflow: hidden;
    animation: gradientShift 3s ease-in-out infinite;
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
}

.ad-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scrollBanner 20s linear infinite;
    gap: 4rem;
}

.ad-content span {
    font-weight: bold;
    color: var(--bg-dark);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    position: relative;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.title-glitch {
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-cyan);
    position: relative;
    display: inline-block;
    animation: titleGlitch 2s infinite;
}

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

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

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

@keyframes titleGlitch {
    0%, 90% { transform: translate(0); }
    10% { transform: translate(-2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, -2px); }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.code-block {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.code-header {
    background: rgba(26, 26, 26, 0.9);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glow);
}

.code-lang {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-gray);
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27ca3f; }

.code-content {
    padding: 20px;
    font-family: 'IBM Plex Mono', 'Courier Prime', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    display: block;
    margin-bottom: 4px;
}

.code-keyword { color: var(--primary-purple); }
.code-variable { color: var(--primary-cyan); }
.code-property { color: var(--accent-green); }
.code-string { color: #ffa500; }

/* Skills Radar */
.skills-radar {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.1) 0%,
        rgba(255, 0, 255, 0.05) 50%,
        transparent 70%
    );
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-center {
    width: 60px;
    height: 60px;
    background: var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-dark);
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}

.radar-ring {
    position: absolute;
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    animation: radarPulse 3s ease-in-out infinite;
}

.radar-ring:nth-child(2) {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.radar-ring:nth-child(3) {
    width: 180px;
    height: 180px;
    animation-delay: 1s;
}

.radar-ring:nth-child(4) {
    width: 240px;
    height: 240px;
    animation-delay: 2s;
}

@keyframes radarPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.radar-sweep {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, var(--primary-cyan), transparent);
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translate(-50%, -100%);
    animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
    0% { transform: translate(-50%, -100%) rotate(0deg); }
    100% { transform: translate(-50%, -100%) rotate(360deg); }
}

.skill-dots {
    position: relative;
    width: 100%;
    height: 100%;
}

.skill-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    animation: skillDotPulse 2s ease-in-out infinite;
}

.skill-dot {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-100px) rotate(var(--angle));
    transform-origin: 0 100px;
}

@keyframes skillDotPulse {
    0%, 100% { box-shadow: 0 0 5px var(--accent-green); }
    50% { box-shadow: 0 0 15px var(--accent-green), 0 0 25px var(--accent-green); }
}

/* Tech Stack Section */
.tech-stack {
    padding: 6rem 2rem;
    position: relative;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.tech-category {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary-cyan),
        transparent
    );
    animation: categoryRotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-category:hover::before {
    opacity: 0.1;
}

@keyframes categoryRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tech-category h3 {
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--primary-cyan);
    text-align: center;
    position: relative;
    z-index: 2;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.tech-icon {
    font-size: 2rem;
    min-width: 40px;
}

.tech-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
}

.tech-level {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 255, 65, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-glow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-tech {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Projects Section */
.projects {
    padding: 6rem 2rem;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.project-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.active {
    background: var(--accent-green);
}

.status-dot.completed {
    background: var(--primary-cyan);
}

.status-dot.development {
    background: var(--primary-purple);
}

.project-type {
    font-size: 0.7rem;
    color: var(--text-gray);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
}

.project-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.project-tech span {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid var(--border-glow);
}

.project-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 255, 0.05),
        transparent,
        rgba(255, 0, 255, 0.05),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover .project-glow {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.contact-details h4 {
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
    font-family: 'Major Mono Display', monospace;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
}

.status-available {
    color: var(--accent-green);
    font-weight: bold;
}

/* Terminal Window */
.terminal-window {
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.terminal-window .terminal-header {
    background: rgba(26, 26, 26, 0.9);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-glow);
}

.terminal-window .terminal-body {
    padding: 20px;
    font-family: 'Share Tech Mono', monospace;
    min-height: 200px;
}

.terminal-output {
    color: var(--accent-green);
    line-height: 1.6;
}

.output-line {
    margin-bottom: 8px;
    animation: terminalType 0.5s ease-in-out;
}

.output-line:nth-child(1) { animation-delay: 0s; }
.output-line:nth-child(2) { animation-delay: 0.5s; }
.output-line:nth-child(3) { animation-delay: 1s; }

@keyframes terminalType {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

.input-line {
    margin-top: 20px;
    color: var(--primary-cyan);
}

.terminal-cursor {
    animation: cursorBlink 1s infinite;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    transition: left 0.3s ease;
}

.nav-menu-mobile.active {
    left: 0;
}

.nav-menu-mobile .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu-mobile .nav-link:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 1000px;
        gap: 3rem;
    }
    
    .title-main {
        font-size: 3.5rem;
    }
    
    .hologram-container {
        width: 250px;
        height: 250px;
    }
    
    .avatar-glow {
        width: 170px;
        height: 170px;
    }
    
    .avatar-image {
        width: 130px;
        height: 130px;
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .nav {
        padding: 1rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hologram-container {
        width: 200px;
        height: 200px;
    }
    
    .avatar-glow {
        width: 140px;
        height: 140px;
    }
    
    .avatar-image {
        width: 110px;
        height: 110px;
        font-size: 3rem;
    }
    
    .tech-categories {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-status {
        display: none;
    }
    
    .hero {
        padding: 0 1rem;
        margin-top: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .typing-container {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 1rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hologram-container {
        width: 180px;
        height: 180px;
    }
    
    .avatar-glow {
        width: 120px;
        height: 120px;
    }
    
    .avatar-image {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }
    
    .ad-banner {
        margin: 3rem 0;
    }
    
    .ad-content span {
        font-size: 0.9rem;
        margin-right: 2rem;
    }
    
    .about,
    .tech-stack,
    .services,
    .projects,
    .contact {
        padding: 4rem 1rem;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .title-glitch {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .code-block {
        margin-bottom: 2rem;
    }
    
    .code-content {
        font-size: 0.8rem;
        padding: 15px;
    }
    
    .skills-radar {
        width: 250px;
        height: 250px;
    }
    
    .radar-center {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }
    
    .radar-ring:nth-child(2) {
        width: 100px;
        height: 100px;
    }
    
    .radar-ring:nth-child(3) {
        width: 150px;
        height: 150px;
    }
    
    .radar-ring:nth-child(4) {
        width: 200px;
        height: 200px;
    }
    
    .radar-sweep {
        height: 125px;
    }
    
    .skill-dot {
        transform: translate(-50%, -50%) translateY(-80px) rotate(var(--angle));
        transform-origin: 0 80px;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-category {
        padding: 1.5rem;
    }
    
    .tech-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .tech-icon {
        font-size: 1.5rem;
        min-width: 35px;
    }
    
    .tech-name {
        font-size: 1rem;
    }
    
    .tech-level {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-tech {
        font-size: 0.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .project-status {
        font-size: 0.7rem;
    }
    
    .project-type {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .project-tech {
        gap: 0.4rem;
    }
    
    .project-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        font-size: 1.8rem;
        min-width: auto;
    }
    
    .contact-details h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-details a {
        font-size: 0.9rem;
    }
    
    .terminal-window .terminal-body {
        padding: 15px;
        min-height: 150px;
    }
    
    .terminal-container {
        width: 95%;
    }
    
    .ascii-art {
        font-size: 0.4rem;
    }
    
    .terminal-body {
        padding: 15px;
        min-height: 250px;
    }
    
    .loading-lines .line {
        font-size: 0.9rem;
    }
    
    .progress-container {
        gap: 10px;
    }
    
    .progress-text {
        min-width: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .nav {
        padding: 0.8rem;
    }
    
    .nav-logo .glitch {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 0 0.5rem;
    }
    
    .typing-container {
        font-size: 0.8rem;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .hologram-container {
        width: 150px;
        height: 150px;
    }
    
    .avatar-glow {
        width: 100px;
        height: 100px;
    }
    
    .avatar-image {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .ad-content span {
        font-size: 0.8rem;
        margin-right: 1.5rem;
    }
    
    .about,
    .tech-stack,
    .services,
    .projects,
    .contact {
        padding: 3rem 0.5rem;
    }
    
    .title-glitch {
        font-size: 2rem;
    }
    
    .code-content {
        font-size: 0.7rem;
        padding: 12px;
    }
    
    .skills-radar {
        width: 200px;
        height: 200px;
    }
    
    .radar-center {
        width: 40px;
        height: 40px;
        font-size: 0.6rem;
    }
    
    .radar-ring:nth-child(2) {
        width: 80px;
        height: 80px;
    }
    
    .radar-ring:nth-child(3) {
        width: 120px;
        height: 120px;
    }
    
    .radar-ring:nth-child(4) {
        width: 160px;
        height: 160px;
    }
    
    .radar-sweep {
        height: 100px;
    }
    
    .skill-dot {
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%) translateY(-65px) rotate(var(--angle));
        transform-origin: 0 65px;
    }
    
    .tech-category {
        padding: 1rem;
    }
    
    .tech-category h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .tech-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .tech-icon {
        font-size: 1.3rem;
        min-width: 30px;
    }
    
    .tech-name {
        font-size: 0.9rem;
    }
    
    .tech-level {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    .service-tech {
        font-size: 0.7rem;
    }
    
    .project-header {
        padding: 0.8rem;
    }
    
    .project-content {
        padding: 0.8rem;
    }
    
    .project-content h3 {
        font-size: 1rem;
    }
    
    .project-content p {
        font-size: 0.8rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-details h4 {
        font-size: 0.9rem;
    }
    
    .contact-details a {
        font-size: 0.8rem;
    }
    
    .terminal-container {
        width: 98%;
    }
    
    .ascii-art {
        font-size: 0.35rem;
    }
    
    .terminal-body {
        padding: 12px;
        min-height: 200px;
    }
    
    .loading-lines .line {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .title-main {
        font-size: 1.8rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hologram-container {
        width: 120px;
        height: 120px;
    }
    
    .avatar-glow {
        width: 80px;
        height: 80px;
    }
    
    .avatar-image {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .title-glitch {
        font-size: 1.8rem;
    }
    
    .skills-radar {
        width: 180px;
        height: 180px;
    }
    
    .ascii-art {
        font-size: 0.3rem;
    }
}

/* Performance Optimizations */
* {
    will-change: auto;
}

.terminal-loader,
.neon-grid,
.scanlines,
.digital-rain {
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 