/* Base variables for cyber/cloud theme */
:root {
    /* Colors */
    --bg-dark: #050510;
    --bg-surface: rgba(15, 15, 30, 0.7);
    --neon-cyan: #00f0ff;
    --neon-cyan-glow: rgba(0, 240, 255, 0.5);
    --terminal-green: #00ff41;
    --terminal-green-glow: rgba(0, 255, 65, 0.5);
    --text-primary: #e0e0f0;
    --text-secondary: #8a8a9e;
    --glass-border: rgba(0, 240, 255, 0.1);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='6' fill='none' stroke='%2300f0ff' stroke-width='1' opacity='0.7'/%3E%3Ccircle cx='16' cy='16' r='12' fill='none' stroke='%2300f0ff' stroke-width='0.5' opacity='0.3' stroke-dasharray='3 3'/%3E%3Cline x1='16' y1='3' x2='16' y2='10' stroke='%2300f0ff' stroke-width='0.7' opacity='0.5'/%3E%3Cline x1='16' y1='22' x2='16' y2='29' stroke='%2300f0ff' stroke-width='0.7' opacity='0.5'/%3E%3Cline x1='3' y1='16' x2='10' y2='16' stroke='%2300f0ff' stroke-width='0.7' opacity='0.5'/%3E%3Cline x1='22' y1='16' x2='29' y2='16' stroke='%2300f0ff' stroke-width='0.7' opacity='0.5'/%3E%3Ccircle cx='16' cy='16' r='1.5' fill='%2300f0ff' opacity='0.9'/%3E%3C/svg%3E") 16 16, crosshair;
}

/* Custom cursor overrides for clickable elements */
a,
button,
.cyber-btn,
.nav-linkedin,
.social-icon {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='8' fill='none' stroke='%2300ff41' stroke-width='1.5' opacity='0.8'/%3E%3Ccircle cx='16' cy='16' r='2' fill='%2300ff41' opacity='1'/%3E%3Cline x1='16' y1='4' x2='16' y2='10' stroke='%2300ff41' stroke-width='1' opacity='0.6'/%3E%3Cline x1='16' y1='22' x2='16' y2='28' stroke='%2300ff41' stroke-width='1' opacity='0.6'/%3E%3Cline x1='4' y1='16' x2='10' y2='16' stroke='%2300ff41' stroke-width='1' opacity='0.6'/%3E%3Cline x1='22' y1='16' x2='28' y2='16' stroke='%2300ff41' stroke-width='1' opacity='0.6'/%3E%3C/svg%3E") 16 16, pointer;
}

/* Background Effects */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
    pointer-events: none;
}

.cyber-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    /* Add smooth mouse tracking */
}

.cyber-glow-1 {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    /* Center on cursor */
    background: var(--neon-cyan);
}

.cyber-glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--terminal-green);
}

/* Binary Rain Background */
.binary-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.binary-col {
    position: absolute;
    top: -100%;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(0, 255, 65, 0.12);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 3px;
    animation: binaryFall linear infinite;
    white-space: nowrap;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.15);
}

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

    100% {
        transform: translateY(calc(100vh + 100%));
    }
}

/* CRT Scanlines Overlay */
.scanlines-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
    opacity: 0.4;
}

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

/* Typography styles */
.section-title {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--neon-cyan);
    margin-right: 0.5rem;
}

/* Base styles for placeholders - to be expanded */
section {
    padding: 100px 0;
    min-height: 80vh;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-brand {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-brand .root {
    color: var(--terminal-green);
}

.nav-brand .domain {
    color: var(--text-primary);
}

.nav-brand .blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

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

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

.sys-msg {
    font-family: var(--font-mono);
    color: var(--terminal-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.cyber-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
}

.cyber-btn.primary {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
}

.cyber-btn.primary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 15px rgba(0, 240, 255, 0.2);
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.cyber-btn.secondary:hover {
    border-color: var(--text-primary);
}

/* Graphic */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========== 3D Orbital Cybersecurity Visualization ========== */
.orbital-system {
    width: 420px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 800px;
}

/* Central Core */
.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.core-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.25), rgba(0, 240, 255, 0.05) 60%, transparent 70%);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    animation: coreGlow 3s ease-in-out infinite;
}

@keyframes coreGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), inset 0 0 15px rgba(0, 240, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 240, 255, 0.5), inset 0 0 30px rgba(0, 240, 255, 0.25);
    }
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.3);
    animation: corePulseExpand 3s ease-out infinite;
}

.core-pulse.delay {
    animation-delay: 1.5s;
}

@keyframes corePulseExpand {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.core-icon {
    position: relative;
    z-index: 2;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px var(--neon-cyan-glow));
}

/* Orbital Rings */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.orbit-1 {
    width: 220px;
    height: 220px;
    margin-left: -110px;
    margin-top: -110px;
    transform: rotateX(70deg) rotateZ(0deg);
    animation: orbitSpin1 12s linear infinite;
    border-color: rgba(0, 240, 255, 0.15);
}

.orbit-2 {
    width: 300px;
    height: 300px;
    margin-left: -150px;
    margin-top: -150px;
    transform: rotateX(55deg) rotateZ(60deg);
    animation: orbitSpin2 18s linear infinite;
    border-color: rgba(0, 255, 65, 0.1);
}

.orbit-3 {
    width: 380px;
    height: 380px;
    margin-left: -190px;
    margin-top: -190px;
    transform: rotateX(45deg) rotateZ(120deg);
    animation: orbitSpin3 25s linear infinite;
    border-color: rgba(0, 240, 255, 0.08);
    border-style: dashed;
}

@keyframes orbitSpin1 {
    0% {
        transform: rotateX(70deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes orbitSpin2 {
    0% {
        transform: rotateX(55deg) rotateZ(60deg);
    }

    100% {
        transform: rotateX(55deg) rotateZ(420deg);
    }
}

@keyframes orbitSpin3 {
    0% {
        transform: rotateX(45deg) rotateZ(120deg);
    }

    100% {
        transform: rotateX(45deg) rotateZ(480deg);
    }
}

/* Data Packets */
.data-packet {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan), 0 0 25px rgba(0, 240, 255, 0.4);
}

.packet-1 {
    top: -5px;
    left: 50%;
    animation: packetGlow 2s ease-in-out infinite;
}

.packet-2 {
    bottom: -5px;
    right: 20%;
    animation: packetGlow 2s ease-in-out infinite 1s;
}

.packet-3 {
    top: 10%;
    left: -5px;
    background: var(--terminal-green);
    box-shadow: 0 0 12px var(--terminal-green), 0 0 25px rgba(0, 255, 65, 0.4);
    animation: packetGlow 2.5s ease-in-out infinite 0.5s;
}

.packet-4 {
    bottom: 15%;
    right: -5px;
    background: var(--terminal-green);
    box-shadow: 0 0 12px var(--terminal-green), 0 0 25px rgba(0, 255, 65, 0.4);
    animation: packetGlow 2.5s ease-in-out infinite 1.5s;
}

.packet-5 {
    top: -5px;
    right: 30%;
    width: 8px;
    height: 8px;
    animation: packetGlow 3s ease-in-out infinite 0.7s;
}

@keyframes packetGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.8);
        opacity: 1;
    }
}

/* Floating Hex Code Fragments */
.hex-fragment {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(0, 240, 255, 0.55);
    letter-spacing: 1.5px;
    pointer-events: none;
    animation: hexFloat 8s ease-in-out infinite;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.3);
}

.hex-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.hex-2 {
    top: 15%;
    right: 5%;
    animation-delay: 1.3s;
    color: rgba(0, 255, 65, 0.45);
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.25);
}

.hex-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2.6s;
}

.hex-4 {
    top: 50%;
    right: 0%;
    animation-delay: 3.9s;
    color: rgba(0, 255, 65, 0.45);
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.25);
}

.hex-5 {
    bottom: 5%;
    right: 15%;
    animation-delay: 5.2s;
}

.hex-6 {
    bottom: 10%;
    left: 20%;
    animation-delay: 6.5s;
    color: rgba(0, 255, 65, 0.45);
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.25);
}

@keyframes hexFloat {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.4;
    }

    25% {
        opacity: 0.85;
    }

    50% {
        transform: translateY(-15px);
        opacity: 0.6;
    }

    75% {
        opacity: 0.85;
    }
}

/* Scanner Sweep Line */
.scan-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
    transform-origin: left center;
    animation: scanSweep 6s linear infinite;
    opacity: 0.6;
}

@keyframes scanSweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-graphic {
        display: none;
    }

    .nav-links {
        display: none;
        /* Add mobile menu later */
    }
}

/* Cursor blink for typing effect */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--neon-cyan);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

/* About & Skills Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 1.5rem;
}

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

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan));
    transition: left 0.5s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

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

.skill-icon {
    margin-bottom: 1.5rem;
    color: var(--terminal-green);
    filter: drop-shadow(0 0 5px var(--terminal-green-glow));
}

.glass-card h3 {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.glass-card ul {
    list-style: none;
    color: var(--text-secondary);
}

.glass-card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.glass-card ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.terminal-card {
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.terminal-card:hover {
    transform: translateY(-5px);
    border-color: var(--terminal-green);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.terminal-header {
    background: #1a1a24;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 1rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.terminal-body {
    padding: 2rem;
}

.project-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tech-stack span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.cyber-link {
    font-family: var(--font-mono);
    color: var(--terminal-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: text-shadow 0.3s ease;
}

.cyber-link:hover {
    text-shadow: 0 0 8px var(--terminal-green-glow);
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-terminal {
    max-width: 800px;
    margin: 0 auto;
}

.contact-body {
    padding: 3rem;
}

.crypto-text {
    font-family: var(--font-mono);
    color: var(--terminal-green);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

.cyber-form input,
.cyber-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    border-radius: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.cyber-form input:focus,
.cyber-form textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.cyber-form button {
    align-self: flex-start;
    margin-top: 1rem;
    background: rgba(0, 240, 255, 0.05);
}

/* Footer */
.cyber-footer {
    border-top: 1px solid #1a1a24;
    padding: 2rem 0;
    margin-top: 4rem;
    background: #030308;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    pointer-events: none;
}

/* Floating Social Sidebar */
.floating-social {
    position: fixed;
    left: 2rem;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    z-index: 999;
}

.floating-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.floating-social .social-icon:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px) scale(1.15);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.floating-social .social-icon.linkedin:hover {
    color: #0A66C2;
    text-shadow: 0 0 12px rgba(10, 102, 194, 0.6);
    border-color: rgba(10, 102, 194, 0.4);
    background: rgba(10, 102, 194, 0.08);
}

.floating-social .social-icon.github:hover {
    color: #e0e0f0;
    text-shadow: 0 0 12px rgba(224, 224, 240, 0.4);
}

.floating-social .social-icon.email:hover {
    color: var(--terminal-green);
    text-shadow: 0 0 12px var(--terminal-green-glow);
}

.floating-social .social-icon.instagram:hover {
    color: #E4405F;
    text-shadow: 0 0 12px rgba(228, 64, 95, 0.6);
}

.floating-social .social-icon.facebook:hover {
    color: #1877F2;
    text-shadow: 0 0 12px rgba(24, 119, 242, 0.6);
}

.social-line {
    width: 1px;
    height: 90px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    margin-top: 0.5rem;
}

/* 3D Tilt effect on glass cards */
.glass-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card.tilt-active {
    transition: none !important;
}

/* Magnetic cursor effect for buttons */
.cyber-btn {
    position: relative;
    overflow: hidden;
}

.cyber-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0, 240, 255, 0.15), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-btn:hover::after {
    opacity: 1;
}

/* Navbar LinkedIn quick-access button */
.nav-linkedin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #0A66C2;
    border-radius: 6px;
    color: #0A66C2;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: rgba(10, 102, 194, 0.05);
}

.nav-linkedin:hover {
    background: rgba(10, 102, 194, 0.15);
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.3);
    transform: translateY(-1px);
}

.nav-linkedin i {
    font-size: 1rem;
}

@media (max-width: 900px) {
    .floating-social {
        display: none;
    }
}

/* ========== Hacker Terminal Easter Egg ========== */
.hacker-terminal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 11, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hacker-terminal.hidden {
    opacity: 0;
    pointer-events: none;
}

.hacker-terminal.hidden .terminal-window {
    transform: translateY(20px) scale(0.95);
}

.hacker-terminal .terminal-window {
    width: 90%;
    max-width: 800px;
    height: 60vh;
    background: rgba(2, 6, 12, 0.95);
    border: 1px solid var(--terminal-green);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hacker-terminal .terminal-top {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.hacker-terminal .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='8' fill='none' stroke='%23ff003c' stroke-width='1.5' opacity='0.8'/%3E%3Ccircle cx='16' cy='16' r='2' fill='%23ff003c' opacity='1'/%3E%3C/svg%3E") 16 16, pointer;
}

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

.hacker-terminal .terminal-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    font-family: var(--font-mono);
    color: var(--terminal-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    font-size: 1rem;
    line-height: 1.8;
}

.hacker-terminal .term-line {
    margin-bottom: 0.5rem;
}

.hacker-terminal .error-text {
    color: #ff003c;
    text-shadow: 0 0 5px rgba(255, 0, 60, 0.5);
}

.hacker-terminal .terminal-input-line {
    display: flex;
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-family: var(--font-mono);
    color: var(--terminal-green);
}

.hacker-terminal .prompt {
    margin-right: 0.8rem;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.hacker-terminal input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}