/*
Theme Name: ANS Digital Ultimate
Theme URI: https://ans.digital
Description: High-End Futuristic Theme matching your design mockups.
Version: 4.0
Author: ANS Digital
*/

/* --- Base & Scrollbar --- */
body {
    background-color: #020205;
    color: #e2e8f0;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020205; }
::-webkit-scrollbar-thumb { background: #00f0ff; border-radius: 4px; }

/* --- CRT Overlay --- */
.scanlines {
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999; pointer-events: none; opacity: 0.3;
}

/* --- Glitch Text --- */
.glitch-text { position: relative; display: inline-block; }
.glitch-text::before, .glitch-text::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #020205;
}
.glitch-text::before {
    left: 2px; text-shadow: -1px 0 #ff003c; animation: glitch-1 2s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px; text-shadow: -1px 0 #00f0ff; animation: glitch-2 3s infinite linear alternate-reverse;
}
@keyframes glitch-1 { 0% { clip-path: inset(20% 0 80% 0); } 100% { clip-path: inset(80% 0 5% 0); } }
@keyframes glitch-2 { 0% { clip-path: inset(10% 0 60% 0); } 100% { clip-path: inset(0% 0 80% 0); } }

/* --- Scroll Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- HUD Card Hover Effects --- */
.hud-card { transition: all 0.3s ease; }
.hud-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1); }
.hud-card:hover .hud-icon { color: #00f0ff; text-shadow: 0 0 10px #00f0ff; }
.hud-card:hover .hud-border { border-color: #00f0ff; box-shadow: 0 0 15px rgba(0,240,255,0.3); }

/* --- Neon Button --- */
.btn-neon {
    position: relative; overflow: hidden; transition: 0.3s;
}
.btn-neon:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
}