/* ===== BASE ENGINE ===== */

@font-face {
    font-family: "fontcustom";
    src: url("../fonts/Corptic\ DEMO.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "fontcustom2";
    src: url("/assets/fonts/EmotionEngine.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
margin:0;
background:radial-gradient(circle at center,#0d1528 0%,#070a15 100%);
color:#d4e8ff;
text-align:center;
overflow-x:hidden;
animation:flicker 3s infinite;
position: relative;
}

/* Starfield background */
body::before {
content: "";
position: fixed;
inset: 0;
background-image: 
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px),
    radial-gradient(circle, rgba(180,220,255,0.5) 1px, transparent 1px);
background-size: 
    300px 300px,
    450px 450px,
    600px 600px;
background-position: 
    0 0,
    40px 60px,
    130px 270px;
z-index: 0;
pointer-events: none;
opacity: 0.6;
animation: starTwinkle 8s ease-in-out infinite;
}

@keyframes starTwinkle {
0%, 100% { opacity: 0.6; }
50% { opacity: 0.8; }
}

@keyframes flicker {
0% { opacity:0.98; }
50% { opacity:1; }
100% { opacity:0.99; }
}