/* Undying Order - Global Styles */
/* Industrial Metal Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --accent: #ff3300;
    --accent-light: #ff6633;
    --metal: #2a2a2a;
    --glow: #ff4400;
    --text: #e0e0e0;
    --text-muted: #999999;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a0a0a 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Industrial background texture - scanlines and glowing grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.4) 0px,
            rgba(0, 0, 0, 0.4) 2px,
            transparent 2px,
            transparent 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 51, 0, 0.05) 80px,
            rgba(255, 51, 0, 0.05) 100px
        ),
        radial-gradient(circle at 10% 20%, rgba(255, 51, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 51, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Diagonal crosshatch pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(0, 0, 0, 0.2) 40px,
            rgba(0, 0, 0, 0.2) 80px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(0, 0, 0, 0.15) 40px,
            rgba(0, 0, 0, 0.15) 80px
        );
    pointer-events: none;
    z-index: 0;
}

#app {
    position: relative;
    z-index: 2;
}

/* Ensure all content appears above background */
section, main, nav, header, footer {
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-light);
    text-shadow: 0 0 10px var(--glow);
}

/* Buttons Base */
button {
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Inputs Base */
input, select, textarea {
    font-family: 'Share Tech Mono', monospace;
    background: var(--secondary);
    border: 1px solid var(--metal);
    color: var(--text);
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 51, 0, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--metal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.glow {
    text-shadow: 0 0 20px var(--glow);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .container { padding: 0 1rem; }
}
