:root {
    --cyber-cyan: #00f3ff;
    --cyber-pink: #ff0099;
    --cyber-purple: #bd00ff;
    --dark-bg: #0b0b15;
    --glass: rgba(18, 4, 88, 0.4);
    --border: rgba(0, 243, 255, 0.5);
}

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

body {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: 'Fira Code', monospace;
    overflow-x: hidden;
    position: relative;
}

/* CRT MONITOR SCANLINES */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 100;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* RETRO GRID BACKGROUND */
.cyber-grid {
    position: fixed;
    bottom: -30%;
    left: -50%;
    width: 200%;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(189, 0, 255, 0.6) 2px, transparent 2px),
        linear-gradient(90deg, rgba(189, 0, 255, 0.6) 2px, transparent 2px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 5s linear infinite;
    z-index: -2;
    box-shadow: 0 0 100px rgba(189, 0, 255, 0.4);
}

.cyber-overlay {
    position: fixed;
    bottom: 0; left: 0; width: 100%; height: 60vh;
    background: radial-gradient(circle at bottom center, rgba(255, 0, 153, 0.4) 0%, transparent 70%);
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* NAVIGATION */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--cyber-cyan);
    text-shadow: 0 0 10px var(--cyber-cyan);
    font-weight: 900;
    border: 1px solid var(--cyber-cyan);
    padding: 5px 15px;
    background: rgba(0, 243, 255, 0.1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--cyber-pink);
    text-shadow: 0 0 8px var(--cyber-pink);
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 90vh;
}

.profile-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 40px;
}

.profile-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 4px solid var(--cyber-pink);
    box-shadow: 0 0 30px var(--cyber-pink);
}

.profile-frame img {
    width: 100%; height: 100%; object-fit: cover;
}

.ring-one {
    position: absolute; top: -15px; left: -15px; right: -15px; bottom: -15px;
    border-radius: 50%; 
    border-top: 4px solid var(--cyber-cyan);
    border-right: 4px solid transparent;
    animation: spin 3s linear infinite;
}

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

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px var(--cyber-pink);
    letter-spacing: 2px;
}

.console-box {
    background: rgba(0,0,0,0.8);
    padding: 15px 30px;
    border: 1px solid var(--cyber-cyan);
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    font-size: 1.2rem;
    min-width: 300px;
    text-align: left;
}

.prompt { color: #0aff0a; margin-right: 15px; font-weight: bold; }
#typing-text { color: var(--cyber-cyan); text-shadow: 0 0 5px var(--cyber-cyan); }
.cursor { color: var(--cyber-pink); animation: blink 0.8s infinite; }

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

/* BUTTONS */
.cta-group { display: flex; gap: 20px; justify-content: center; }

.cyber-btn {
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.cyber-btn.primary {
    background: var(--cyber-pink);
    color: #fff;
    border: 2px solid var(--cyber-pink);
    box-shadow: 0 0 15px var(--cyber-pink);
}

.cyber-btn.primary:hover {
    background: transparent;
    text-shadow: 0 0 10px #fff;
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--cyber-cyan);
    border: 2px solid var(--cyber-cyan);
    box-shadow: 0 0 15px var(--cyber-cyan);
}

.cyber-btn.secondary:hover {
    background: var(--cyber-cyan);
    color: #000;
}

/* SECTIONS & CARDS */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px var(--cyber-purple);
    margin-bottom: 50px;
    border-bottom: 2px solid var(--cyber-purple);
    display: inline-block;
    padding-bottom: 10px;
}

.dashboard-grid, .logs-section { margin-bottom: 100px; }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(5px);
    border: 1px solid var(--cyber-cyan);
    padding: 30px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    transition: transform 0.3s;
}

.glass:hover { transform: translateY(-5px); box-shadow: 0 0 40px rgba(0, 243, 255, 0.3); }

.glass h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyber-cyan);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* LOGS */
.log-entry { display: flex; margin-bottom: 40px; }
.timestamp {
    min-width: 140px;
    color: var(--cyber-pink);
    font-weight: bold;
    font-size: 1.1rem;
    padding-top: 25px;
    border-right: 3px solid var(--cyber-purple);
    text-align: right;
    padding-right: 20px;
}
.log-content { margin-left: 30px; flex: 1; }
.bullet { margin-bottom: 10px; font-size: 1rem; color: #e0e0e0; line-height: 1.6; }
.bullet strong { color: var(--cyber-cyan); }

/* PROGRESS & TAGS */
.skill-bar { margin-bottom: 15px; }
.progress { background: #000; height: 10px; width: 100%; margin-top: 5px; border: 1px solid #333; }
.fill { height: 100%; background: var(--cyber-pink); box-shadow: 0 0 15px var(--cyber-pink); }

.tags .tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 4px;
    border: 1px solid var(--cyber-purple);
    background: rgba(189, 0, 255, 0.1);
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* FOOTER */
.footer { text-align: center; margin-top: 80px; padding-bottom: 40px; }
.contact-grid { display: flex; justify-content: center; gap: 40px; margin: 30px 0; }
.contact-item { font-size: 1.2rem; color: var(--cyber-cyan); }
.contact-item i { color: var(--cyber-pink); margin-right: 10px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .log-entry { flex-direction: column; }
    .timestamp { text-align: left; border: none; margin-bottom: 10px; }
    .log-content { margin-left: 0; }
}