.scanline-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 100;
}

.grain-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
    z-index: 101;
    background-image: url("../images/stardust.png");
}

.neon-flicker:hover {
    animation: flicker 0.3s infinite;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

@keyframes flicker {
    0% { opacity: 1; }
    20% { opacity: 0.8; }
    40% { opacity: 1; }
    60% { opacity: 0.9; }
    80% { opacity: 1; }
    100% { opacity: 0.7; }
}

.page-background {
    position: fixed;
    inset: 0;
    background-color: #051424;
    background-image: url("../../footer.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: -20;
}

body.app-loading {
    overflow: hidden;
}

.app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 2, 1, 1);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.app-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-loader__content {
    width: min(320px, 80vw);
}

.app-loader__bar {
    height: 2px;
    background: #273647;
    overflow: hidden;
}

.app-loader__bar-fill {
    height: 100%;
    width: 0%;
    background: #d4f000;
    box-shadow: 0 0 12px rgba(212, 240, 0, 0.6);
    transition: width 0.25s ease;
}

.app-loader__scanline {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 240, 0, 0.35), transparent);
    animation: loader-scan 2s linear infinite;
    pointer-events: none;
}

@keyframes loader-scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
