/* GLOBAL */
html,body{
    margin:0;height:100%;overflow:hidden;
    background:#020202;color:#dffbff;
    font-family:"Orbitron",sans-serif;
}

/* COLORS */
:root{
    --accent:#00eaff;
    --accent-glow:0 0 12px rgba(0,234,255,0.8);
}

/* NAVBAR */
.nav{
    z-index: 10;
    position:absolute;top:0;width:100%;height:60px;
    background:rgba(0,255,255,0.05);
    border-bottom:1px solid rgba(0,255,255,0.2);
    display:flex;align-items:center;justify-content:flex-start;
    padding:0 30px;backdrop-filter:blur(8px);
    box-shadow: 0 0 20px rgba(0,255,255,0.1);
}
.brand{
    color:var(--accent);font-size:1.3rem;font-weight:700;
    text-shadow:var(--accent-glow);
}

/* HERO */
.hero{
    height:100vh;display:flex;justify-content:center;
    align-items:center;position:relative;
}

/* HOLOGRAM GRID */
.overlay-grid{
    position:absolute;top:0;left:0;width:100%;height:100%;
    background-image:
        linear-gradient(rgba(0,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.05) 1px, transparent 1px);
    background-size:40px 40px;
    pointer-events:none;
}

/* HUD FRAME */
.hud-frame {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85vw;
    height: 85vh;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0,255,255,0.25);
    box-shadow: 0 0 20px rgba(0,255,255,0.15);
    pointer-events: none;
    z-index: 5;
    transition: transform 0.15s ease-out;
}

/* CENTER HOLOGRAM CORE */
.holo-core {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0,255,255,0.35) 0%,
        rgba(0,255,255,0.15) 40%,
        rgba(0,255,255,0.05) 70%,
        rgba(0,255,255,0) 100%
    );
    box-shadow:
        0 0 25px rgba(0,255,255,0.4),
        0 0 60px rgba(0,255,255,0.25),
        inset 0 0 20px rgba(0,255,255,0.3);
    animation: corePulse 3s ease-in-out infinite,
               coreRotate 12s linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* Pulsing glow */
@keyframes corePulse {
    0%   { transform: scale(0.9); opacity: 0.6; }
    50%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Slow hologram rotation */
@keyframes coreRotate {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* FLOATING ORBITING PARTICLES */
.particle-field {
    position: absolute;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 3;
}

.particle-field span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,255,255,0.8);
    animation: orbit 6s linear infinite;
    opacity: 0.8;
}

/* Random particle positions */
.particle-field span:nth-child(1)  { top: 10%; left: 50%; animation-duration: 7s; }
.particle-field span:nth-child(2)  { top: 20%; left: 70%; animation-duration: 9s; }
.particle-field span:nth-child(3)  { top: 40%; left: 85%; animation-duration: 8s; }
.particle-field span:nth-child(4)  { top: 60%; left: 90%; animation-duration: 10s; }
.particle-field span:nth-child(5)  { top: 80%; left: 75%; animation-duration: 7s; }
.particle-field span:nth-child(6)  { top: 90%; left: 50%; animation-duration: 11s; }
.particle-field span:nth-child(7)  { top: 80%; left: 25%; animation-duration: 8s; }
.particle-field span:nth-child(8)  { top: 60%; left: 10%; animation-duration: 9s; }
.particle-field span:nth-child(9)  { top: 40%; left: 5%;  animation-duration: 12s; }
.particle-field span:nth-child(10) { top: 20%; left: 20%; animation-duration: 7s; }

/* Orbit animation */
@keyframes orbit {
    0%   { transform: rotate(0deg)   translateX(40px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}
/* HOLOGRAPHIC FOG LAYER */
.fog-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle,
        rgba(0,255,255,0.08) 0%,
        rgba(0,255,255,0.03) 40%,
        rgba(0,255,255,0) 70%
    );
    filter: blur(40px);
    animation: fogMove 18s ease-in-out infinite alternate;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

@keyframes fogMove {
    0%   { transform: translate(0px, 0px) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.2); }
    100% { transform: translate(-30px, 20px) scale(1.1); }
}
