:root {
    --space-bg: #0a0a2a;
    --accent-cyan: #00f5ff;
    --accent-purple: #9d4edd;
    --text-light: #e0f8ff;
}

body {
    background: linear-gradient(to bottom, #0a0a2a, #000428);
    color: var(--text-light);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow-x: hidden;
    position: relative;
}

    /* Twinkling Stars + Shooting Stars */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22 viewBox=%220 0 100 100%22%3E%3Ccircle cx=%2210%22 cy=%2210%22 r=%221%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2230%22 cy=%2270%22 r=%221%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2280%22 cy=%2220%22 r=%221%22 fill=%22%23fff%22/%3E%3C/svg%27') repeat;
        animation: twinkle 8s infinite linear;
        pointer-events: none;
        z-index: -1;
        opacity: 0.7;
    }

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* Shooting Star */
body::after {
    content: '';
    position: fixed;
    top: 15%;
    left: -100px;
    width: 4px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f5ff);
    box-shadow: 0 0 12px #00f5ff;
    animation: shoot 12s linear infinite;
    z-index: -1;
    opacity: 0;
}

@keyframes shoot {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(2000px);
        opacity: 0;
    }
}

/* Glassmorphism Navbar */
.navbar {
    background: rgba(10, 10, 42, 0.92) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.4);
}

/* Glowing Title */
h1, h2, h3 {
    text-shadow: 0 0 20px var(--accent-cyan);
}

/* Glowing Cards */
.card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 245, 255, 0.3);
        border-color: var(--accent-cyan);
    }

/* Neon Buttons */
.btn-primary, .btn-outline-light {
    transition: all 0.3s;
}

    .btn-primary:hover, .btn-outline-light:hover {
        box-shadow: 0 0 30px var(--accent-cyan);
        transform: scale(1.05);
    }

/* Project Tags */
.badge-space {
    background: linear-gradient(90deg, #00f5ff, #9d4edd);
    color: #000;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
}

/* Footer */
footer {
    background: rgba(10, 10, 42, 0.95);
    border-top: 1px solid rgba(157, 78, 221, 0.4);
}

/* ====================== NEON BUTTONS ====================== */
.btn-primary {
    background: linear-gradient(90deg, #00f5ff, #9d4edd) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 0 20px #00f5ff;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        box-shadow: 0 0 35px #00f5ff;
        transform: translateY(-3px) scale(1.05);
    }

.btn-outline-light {
    border: 2px solid #00f5ff;
    color: #e0f8ff;
    box-shadow: 0 0 15px #00f5ff;
}

    .btn-outline-light:hover {
        background: rgba(0, 245, 255, 0.15);
        box-shadow: 0 0 30px #00f5ff;
        transform: scale(1.05);
    }

/* ====================== ALIEN SPACESHIP VIEWPORT ====================== */
.spaceship-viewport {
    position: relative;
    overflow: hidden;
}

    .spaceship-viewport::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center, transparent 60%, rgba(10,15,35,0.6) 100%);
        pointer-events: none;
        z-index: 2;
        border-radius: 18px;
    }

    /* Subtle HUD corner brackets */
    .spaceship-viewport::after {
        content: '';
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border: 2px solid transparent;
        border-image: linear-gradient(90deg, #00f5ff, #9d4edd) 1;
        opacity: 0.15;
        pointer-events: none;
        z-index: 3;
        border-radius: 12px;
    }

/* Alien HUD Result Panel */
.alien-result {
    background: #001a0f !important;
    border: 2px solid #00ff9d;
    color: #00ff9d;
    font-family: 'Courier New', 'Lucida Console', monospace;
    text-shadow: 0 0 12px #00ff9d;
    box-shadow: 0 0 25px #00ff9d;
    padding: 18px 22px;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
}
/* ====================== HOMEPAGE ORBITAL PARTICLES ====================== */
.homepage-hero {
    position: relative;
    overflow: hidden;
}

    .homepage-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(0, 245, 255, 0.15) 0%, transparent 50%);
        pointer-events: none;
        z-index: -1;
        animation: constellationDrift 120s linear infinite;
    }

/* Floating Orbital Particles */
.orbital-particle {
    position: absolute;
    background: #00f5ff;
    border-radius: 50%;
    box-shadow: 0 0 12px #00f5ff;
    animation: orbit 25s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

    .orbital-particle:nth-child(2) {
        width: 4px;
        height: 4px;
        top: 25%;
        left: 15%;
        animation-duration: 35s;
    }

    .orbital-particle:nth-child(3) {
        width: 6px;
        height: 6px;
        top: 65%;
        left: 80%;
        animation-duration: 42s;
        background: #9d4edd;
    }

    .orbital-particle:nth-child(4) {
        width: 3px;
        height: 3px;
        top: 40%;
        left: 70%;
        animation-duration: 28s;
    }

    .orbital-particle:nth-child(5) {
        width: 5px;
        height: 5px;
        top: 80%;
        left: 25%;
        animation-duration: 55s;
        background: #00f5ff;
    }

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
    }
}