:root {
    /* Colors - Tactical Dark Palette */
    --bg-deep: #0a0a0a;
    --bg-main: #121212;
    --bg-panel: #1a1a1a;
    --bg-surface: #242424;
    
    --accent-primary: #d44d4d; /* Faded Red */
    --accent-secondary: #e6b800; /* Amber/Yellow */
    --accent-success: #27ae60;
    --accent-info: #3498db;
    
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-muted: #8c8c8c;
    --text-on-accent: #ffffff;
    
    --border-dim: #333333;
    --border-main: #444444;
    --border-accent: var(--accent-primary);
    
    /* Effects */
    --shadow-md: 0 4px 12px rgba(0,0,0,0.7);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.9);
    --glow-red: 0 0 15px rgba(212, 77, 77, 0.3);
    
    /* Typography */
    --font-header: 'Russo One', sans-serif;
    --font-tech: 'Share Tech Mono', monospace;
    --font-paper: 'Special Elite', cursive;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    /* Borders */
    --radius-sm: 2px;
    --radius-md: 4px;
}

/* Base Reset & Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-tech);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* CRT Scanline Effect */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.1) 50%
    ), linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.03), 
        rgba(0, 255, 0, 0.01), 
        rgba(0, 0, 255, 0.03)
    );
    z-index: 9999;
    background-size: 100% 3px, 4px 100%;
    pointer-events: none;
    opacity: 0.4;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.blink-text {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}
