
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .hud-border {
        @apply border border-outline-variant;
        position: relative;
    }
    
    .hud-border::before, .hud-border::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 4px;
        background: var(--color-primary, #00ff41);
        z-index: 10;
    }
    .hud-border::before { top: -1px; left: -1px; }
    .hud-border::after { bottom: -1px; right: -1px; }

    .panel-glow {
        box-shadow: 0 0 15px rgba(var(--color-primary-rgb, 0, 255, 65), 0.05);
    }
    .hud-glow {
        box-shadow: 0 0 10px rgba(var(--color-primary-rgb, 0, 255, 65), 0.2);
    }
    .hud-scanline {
        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;
    }
}
