@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inter:wght@400;600&family=Dancing+Script:wght@700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: #e0e0e0;
}

h1, h2, h3, .cyber-font {
    font-family: 'Share Tech Mono', monospace;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-panel-hover:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.05);
}

/* Cyberpunk Glows */
.text-glow {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}
.text-glow-magenta {
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
}
.blink {
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0.3; }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 86px, 0); }
    20% { clip: rect(61px, 9999px, 88px, 0); }
    40% { clip: rect(74px, 9999px, 91px, 0); }
    60% { clip: rect(13px, 9999px, 81px, 0); }
    80% { clip: rect(9px, 9999px, 35px, 0); }
    100% { clip: rect(65px, 9999px, 98px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(2px, 9999px, 33px, 0); }
    40% { clip: rect(51px, 9999px, 17px, 0); }
    60% { clip: rect(93px, 9999px, 11px, 0); }
    80% { clip: rect(31px, 9999px, 2px, 0); }
    100% { clip: rect(23px, 9999px, 80px, 0); }
}

/* Splash Screen Setup */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out;
}
#splash-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Loading Wheel */
.cyber-loader {
    position: relative;
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: #00ffff;
    border-bottom-color: #ff00ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 40px;
    opacity: 0;
    transition: opacity 1s;
}
.cyber-loader::before {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 3px solid transparent;
    border-top-color: #ff00ff;
    border-bottom-color: #00ffff;
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Fade Ins */
.fade-in { opacity: 0; animation: fadeInAnim 2s forwards; }
.fade-in-delay-1 { opacity: 0; animation: fadeInAnim 2s 1.5s forwards; }
.fade-in-delay-2 { opacity: 0; animation: fadeInAnim 2s 2.5s forwards; }

@keyframes fadeInAnim { to { opacity: 1; } }

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.5); border-radius: 4px;}
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.3); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 255, 0.6); }
