/* ========================================
   GALACTIC SPACE INVADERS THEME
   ======================================== */

/* 1. DEEP SPACE BACKGROUND */
body,
html {
    background-color: #0a0e17 !important;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* 2. STARFIELD - FORCE VISIBILITY */
/* 2. STARFIELD & GAME CANVAS - GPU ACCELERATION */
#global-starfield,
#canvas {
    opacity: 1 !important;
    z-index: 1 !important;
    mix-blend-mode: screen !important;
    pointer-events: none !important;
    will-change: transform;
    transform: translateZ(0);
    /* Force GPU Layer */
}

.fixed.inset-0.-z-50 {
    background-color: #000 !important;
    z-index: 0 !important;
}

/* HIDE bg-ambient that blocks starfield */
.bg-ambient {
    display: none !important;
}

/* Remove any blocking backgrounds */
section,
main {
    background: transparent !important;
}

.bg-obsidian,
.bg-surface {
    background-color: transparent !important;
}

/* 3. NEON GREEN THEME (Space Invaders) */
:root {
    --neon-green: #4ade80;
    --neon-cyan: #22d3ee;
    --deep-space: #0a0e17;
}

/* 4. HERO NAME - OPTIMIZED & LIGHTER */
/* 4. HERO NAME - SPACE INVADERS GREEN & LIGHT */
.hero-name {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.8em !important;
    /* Slightly adjusted size */
    text-transform: uppercase;
    color: var(--neon-green) !important;
    /* Solid Green */
    background: none !important;
    -webkit-text-fill-color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: neon-pulse 3s ease-in-out infinite alternate;
    letter-spacing: 0.15em;
    display: inline-block;
}

@keyframes neon-pulse {
    0% {
        text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
        opacity: 0.9;
    }

    100% {
        text-shadow: 0 0 20px rgba(74, 222, 128, 0.9),
            0 0 40px rgba(74, 222, 128, 0.3);
        opacity: 1;
    }
}

/* Removed old heavy gradient animations */

/* 5. EPIC CW LOGO STYLE */
.w-10.h-10.bg-gradient-to-br {
    position: relative;
    background: linear-gradient(135deg,
            var(--neon-green) 0%,
            var(--neon-cyan) 50%,
            var(--neon-green) 100%) !important;
    border: 2px solid var(--neon-green) !important;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.6),
        0 0 40px rgba(74, 222, 128, 0.3),
        inset 0 0 20px rgba(74, 222, 128, 0.2) !important;
    animation: logo-pulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.w-10.h-10.bg-gradient-to-br:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.8),
        0 0 60px rgba(74, 222, 128, 0.5),
        inset 0 0 30px rgba(74, 222, 128, 0.3) !important;
}

@keyframes logo-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.6),
            0 0 40px rgba(74, 222, 128, 0.3),
            inset 0 0 20px rgba(74, 222, 128, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(74, 222, 128, 0.8),
            0 0 60px rgba(74, 222, 128, 0.5),
            0 0 90px rgba(34, 211, 238, 0.3),
            inset 0 0 30px rgba(74, 222, 128, 0.3);
    }
}

/* Logo text */
.w-10.h-10.bg-gradient-to-br.font-cyber {
    color: #000 !important;
    font-weight: 900 !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* 6. MINIMAL NAVBAR - CLEAN SPACE INVADERS */
/* 6. CREATIVE NAVBAR - LASER BORDER */
.glass-nav {
    background: rgba(5, 8, 15, 0.9) !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    backdrop-filter: blur(15px) !important;
    position: relative;
    overflow: hidden;
}

/* Laser Bottom Border */
.glass-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--neon-green) 50%,
            transparent 100%);
    box-shadow: 0 0 10px var(--neon-green);
    opacity: 0.8;
}

/* Custom classes for Logo */
.from-neon-green {
    --tw-gradient-from: #4ade80;
}

.to-neon-cyan {
    --tw-gradient-to: #22d3ee;
}

.via-emerald-400 {
    --tw-gradient-stops: var(--tw-gradient-from), #34d399, var(--tw-gradient-to);
}

.text-neon-cyan {
    color: #22d3ee !important;
}

.border-neon-green\/50 {
    border-color: rgba(74, 222, 128, 0.5);
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.animate-shine {
    animation: shine 4s infinite linear;
}

/* Logo .com with glow */
.text-brand-cyan {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px var(--neon-green),
        0 0 20px rgba(74, 222, 128, 0.5),
        0 0 30px rgba(74, 222, 128, 0.3);
    animation: logo-glow 2s ease-in-out infinite;
}

@keyframes logo-glow {

    0%,
    100% {
        text-shadow: 0 0 10px var(--neon-green),
            0 0 20px rgba(74, 222, 128, 0.5),
            0 0 30px rgba(74, 222, 128, 0.3);
    }

    50% {
        text-shadow: 0 0 15px var(--neon-green),
            0 0 30px rgba(74, 222, 128, 0.7),
            0 0 45px rgba(74, 222, 128, 0.5);
    }
}

/* Nav Pills */
.nav-pill {
    font-family: 'Orbitron', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(74, 222, 128, 0.2) !important;
    transition: all 0.3s ease !important;
}

.nav-pill:hover {
    color: var(--neon-green) !important;
    border-color: var(--neon-green) !important;
    background: rgba(74, 222, 128, 0.1) !important;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4),
        inset 0 0 15px rgba(74, 222, 128, 0.1) !important;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
    transform: translateY(-2px);
}

/* Contact Button */
.btn-cyber {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(74, 222, 128, 0.2) 50%,
            transparent 100%) !important;
    border: 2px solid var(--neon-green) !important;
    color: var(--neon-green) !important;
    font-family: 'Orbitron', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3),
        inset 0 0 20px rgba(74, 222, 128, 0.05);
    transition: all 0.3s ease;
}

.btn-cyber:hover {
    background: var(--neon-green) !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.8),
        0 0 50px rgba(74, 222, 128, 0.4);
    text-shadow: none;
}

/* 6. ACCENT COLORS */
.text-brand-cyan,
.text-cyan-400,
.text-cyan-500 {
    color: var(--neon-cyan) !important;
}

.text-brand-violet,
.text-blue-500 {
    color: var(--neon-green) !important;
}

/* Borders */
.border-white\/5,
.border-white\/10,
.border-white\/20 {
    border-color: rgba(74, 222, 128, 0.2) !important;
}

/* 7. GLASS CARDS WITH NEON */
.glass-card,
.tech-card,
.service-card {
    background: rgba(10, 14, 23, 0.6) !important;
    border: 1px solid rgba(74, 222, 128, 0.2) !important;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover,
.tech-card:hover,
.service-card:hover {
    border-color: rgba(74, 222, 128, 0.5) !important;
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.3);
    transform: translateY(-5px);
}

/* 8. TEXT READABILITY */
section p,
section li,
section span {
    color: #cbd5e1 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #f1f5f9 !important;
}

/* 9. BUTTONS */
.btn-primary,
button {
    border-color: var(--neon-green) !important;
}

.btn-primary:hover,
button:hover {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

/* 10. DISTINCT FOOTER - DARKER & CLEANER */
footer {
    background: #05080f !important;
    /* Solid dark, no glass */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Subtle white border, not green */
    box-shadow: none !important;
}

/* Simplify footer text */
footer p,
footer span,
footer a {
    color: #64748b !important;
    /* Darker slate */
    font-size: 0.85rem !important;
}

footer a:hover {
    color: var(--neon-cyan) !important;
    /* Cyan hover instead of green */
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

/* FIX: BRAND COLORS & GLOWS */
.text-brand-cyan {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.6),
        0 0 20px rgba(34, 211, 238, 0.4);
}

.text-brand-purple {
    color: #d946ef !important;
    text-shadow: 0 0 10px rgba(217, 70, 239, 0.6),
        0 0 20px rgba(217, 70, 239, 0.4);
}

.text-brand-orange {
    color: #f97316 !important;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.6),
        0 0 20px rgba(249, 115, 22, 0.4);
}

/* FIX: Lucide Icons Visibility */
.lucide {
    display: inline-block;
    vertical-align: middle;
}