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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --terminal-bg: #000000;
    --primary-red: #ff003c;
    --secondary-red: #cc0030;
    --glow-red: #ff003c;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --text-muted: #008800;
    --border-color: #333333;
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff003c;
    --info: #00aaff;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff3366;
    text-shadow: 0 0 10px var(--glow-red);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden { display: none; }
.full-width { grid-column: 1 / -1; }

/* === FIX: CLICKABLE NAVBAR & UI === */

/* Background effects must not block clicks */
.matrix-bg,
.scan-line {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Header & navigation must stay above effects */
.glitch-header {
    position: relative;
    z-index: 5;
}

.terminal-nav {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Ensure all main UI is above background */
main,
footer {
    position: relative;
    z-index: 5;
}