/* Global Styles — Omar The Creative */

:root {
    --bg: #050505;
    --vibrant-red: #C5002C; /* Updated for Large Text AA compliance (3.1:1) */
    --vibrant-red-hud: #FF0015; /* High-contrast for Small Text AA compliance (4.8:1) */
    --glow: rgba(255, 0, 51, 0.3);
    --text: #FFFFFF;
    --mono: 'auger-mono', monospace;
    --display: 'griffith-gothic-condensed', sans-serif;
    --serif: 'lust-display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
a, button { outline: none; }
a:focus, a:active, button:focus, button:active { outline: none; color: inherit; }
.menu-link:active, .menu-link:focus, .menu-link:focus-visible { outline: none; color: #FFFFFF; -webkit-tap-highlight-color: transparent; }

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--display);
    overflow-x: hidden;
    min-height: 100vh;
    background: #050505;
}

/* FILM GRAIN OVERLAY */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Grain.jpg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 100;
}

/* VIBRATION ANIMATION */
@keyframes vibrate {
    0% { transform: translate(0); text-shadow: 0 0 0 var(--glow); }
    20% { transform: translate(-1px, 1px); text-shadow: 2px 0 5px var(--vibrant-red); }
    40% { transform: translate(-1px, -1px); text-shadow: -2px 0 10px var(--vibrant-red); }
    60% { transform: translate(1px, 1px); text-shadow: 0 2px 5px var(--vibrant-red); }
    80% { transform: translate(1px, -1px); text-shadow: 0 -2px 10px var(--vibrant-red); }
    100% { transform: translate(0); text-shadow: 0 0 0 var(--glow); }
}

.animate-vibrate {
    animation: vibrate 0.2s infinite ease-in-out;
}

/* ZERO-FLASH NAME REVEAL */
.name-suffix { display: none; }
html.name-unlocked .name-last { display: none; }
html.name-unlocked .name-suffix { display: inline; }

/* GLOBAL COPYRIGHT TAG - SCROLLING BY DEFAULT */
.copyright-tag {
    width: 100%;
    text-align: center;
    opacity: 0.15;
    font-family: var(--mono);
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    padding: 4rem 0;
    text-transform: uppercase;
}

.copyright-tag.fixed {
    position: fixed;
    bottom: 0.8rem;
    padding: 0;
    pointer-events: none;
    z-index: 100;
}
