/* === THE VOID CONSUMES ALL === */

:root {
    --void-black: #0a0a0a;
    --blood-red: #8b0000;
    --neon-red: #ff0044;
    --sick-green: #00ff41;
    --void-purple: #4a0066;
    --decay-yellow: #ffff00;
    --ghost-white: #f0f0f0;
    --glitch-cyan: #00ffff;
    --corruption-pink: #ff00ff;
}

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

html {
    scroll-behavior: auto;
    cursor: crosshair;
}

body {
    background-color: var(--void-black);
    color: var(--ghost-white);
    font-family: 'VT323', monospace;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

::selection {
    background: var(--neon-red);
    color: var(--void-black);
}

/* === AUDIO GATE === */
#audio-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--void-black);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: gate-pulse 3s ease-in-out infinite;
}

#audio-gate.hidden {
    display: none;
}

@keyframes gate-pulse {
    0%, 100% { background: var(--void-black); }
    50% { background: #0f0008; }
}

.gate-content {
    text-align: center;
    animation: gate-shake 0.1s infinite;
}

@keyframes gate-shake {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
}

.gate-warning {
    font-family: 'Nosifer', cursive;
    font-size: 3rem;
    color: var(--neon-red);
    animation: warning-blink 0.5s infinite;
}

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

.gate-text {
    font-size: 2rem;
    margin: 20px 0;
    letter-spacing: 5px;
}

.gate-text-small {
    font-size: 1rem;
    opacity: 0.6;
    font-style: italic;
}

#enter-void {
    margin-top: 40px;
    padding: 20px 60px;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    background: transparent;
    border: 2px solid var(--blood-red);
    color: var(--blood-red);
    cursor: pointer;
    transition: all 0.3s;
    animation: button-glitch 2s infinite;
}

#enter-void:hover {
    background: var(--blood-red);
    color: var(--void-black);
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--neon-red);
}

@keyframes button-glitch {
    0%, 100% { transform: translate(0); }
    92% { transform: translate(0); }
    93% { transform: translate(-5px, 2px); }
    94% { transform: translate(5px, -2px); }
    95% { transform: translate(-3px, 0); }
    96% { transform: translate(0); }
}

.gate-whisper {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.3;
    font-style: italic;
}

/* === CURSOR FOLLOWER === */
#cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    mix-blend-mode: difference;
}

#spawn-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

/* === VOID CONTAINER === */
#void-container {
    display: none;
}

#void-container.active {
    display: block;
}

/* === FLOATING BACKGROUND CHAOS === */
.bg-chaos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-text {
    position: absolute;
    font-family: 'Special Elite', cursive;
    font-size: 2rem;
    opacity: 0.1;
    white-space: nowrap;
}

.ft1 { top: 10%; left: -10%; animation: float-across 30s linear infinite; color: var(--blood-red); }
.ft2 { top: 25%; left: -20%; animation: float-across 25s linear infinite 5s; color: var(--sick-green); }
.ft3 { top: 40%; left: -15%; animation: float-across 35s linear infinite 2s; color: var(--corruption-pink); }
.ft4 { top: 55%; left: -25%; animation: float-across 28s linear infinite 8s; color: var(--decay-yellow); }
.ft5 { top: 70%; left: -10%; animation: float-across 32s linear infinite 12s; color: var(--glitch-cyan); }
.ft6 { top: 85%; left: -30%; animation: float-across 40s linear infinite 3s; color: var(--blood-red); }
.ft7 { top: 15%; left: -5%; animation: float-across 22s linear infinite 15s; color: var(--void-purple); }
.ft8 { top: 60%; left: -18%; animation: float-across 38s linear infinite 7s; color: var(--ghost-white); }

@keyframes float-across {
    0% { transform: translateX(0) rotate(-5deg); }
    100% { transform: translateX(120vw) rotate(5deg); }
}

/* === HEADER MADNESS === */
.header-madness {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    overflow: hidden;
}

.main-title {
    font-family: 'Nosifer', cursive;
    font-size: 6vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.title-fragment {
    display: inline-block;
    animation: fragment-chaos 0.5s infinite;
    text-shadow:
        0 0 10px var(--neon-red),
        0 0 20px var(--blood-red),
        0 0 40px var(--void-purple);
}

.t1 { animation-delay: 0.0s; color: var(--neon-red); }
.t2 { animation-delay: 0.05s; color: var(--ghost-white); }
.t3 { animation-delay: 0.1s; color: var(--neon-red); }
.t4 { animation-delay: 0.15s; color: var(--ghost-white); }
.t5 { animation-delay: 0.2s; color: var(--neon-red); transform: rotate(180deg); }
.t6 { animation-delay: 0.25s; color: var(--ghost-white); }
.t7 { animation-delay: 0.3s; color: var(--neon-red); }
.t8 { animation-delay: 0.35s; color: var(--ghost-white); }
.t9 { animation-delay: 0.4s; color: var(--neon-red); }
.t10 { animation-delay: 0.45s; color: var(--ghost-white); transform: scaleX(-1); }
.t11 { animation-delay: 0.5s; color: var(--neon-red); }
.t12 { animation-delay: 0.55s; color: var(--ghost-white); }
.t13 { animation-delay: 0.6s; color: var(--neon-red); }
.t14 { animation-delay: 0.65s; color: var(--ghost-white); }
.t15 { animation-delay: 0.7s; color: var(--neon-red); }
.t16 { animation-delay: 0.75s; color: var(--sick-green); }
.t17 { animation-delay: 0.8s; color: var(--glitch-cyan); }

.title-break {
    flex-basis: 100%;
    height: 0;
}

@keyframes fragment-chaos {
    0%, 100% { transform: translate(0) rotate(0); opacity: 1; }
    25% { transform: translate(-2px, 1px) rotate(-1deg); }
    50% { transform: translate(2px, -1px) rotate(1deg); opacity: 0.8; }
    75% { transform: translate(-1px, -2px) rotate(-0.5deg); }
}

.subtitle-chaos {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sub1 {
    font-size: 1.5rem;
    letter-spacing: 10px;
    animation: sub-fade 3s ease-in-out infinite;
}

.sub2 {
    font-size: 1.2rem;
    letter-spacing: 8px;
    animation: sub-fade 3s ease-in-out infinite 1s;
    opacity: 0.7;
}

.sub3 {
    font-size: 1rem;
    letter-spacing: 15px;
    animation: sub-fade 3s ease-in-out infinite 2s;
    opacity: 0.5;
    font-family: 'Rubik Glitch', cursive;
}

@keyframes sub-fade {
    0%, 100% { opacity: 0.3; transform: translateX(-10px); }
    50% { opacity: 1; transform: translateX(10px); }
}

/* === THE EYE === */
.the-eye-container {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    z-index: 100;
    text-align: center;
}

.eye-outer {
    width: 120px;
    height: 120px;
    background: var(--ghost-white);
    border-radius: 50% 0 50% 0;
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 30px var(--blood-red),
        inset 0 0 20px rgba(139, 0, 0, 0.5);
    animation: eye-pulse 2s ease-in-out infinite;
}

@keyframes eye-pulse {
    0%, 100% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.1); }
}

.eye-inner {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--blood-red) 0%, var(--void-black) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-45deg);
}

.eye-pupil {
    width: 20px;
    height: 20px;
    background: var(--void-black);
    border-radius: 50%;
    transition: transform 0.1s ease-out;
}

.eye-text {
    margin-top: 20px;
    font-family: 'Special Elite', cursive;
    font-size: 0.8rem;
    letter-spacing: 3px;
    animation: eye-text-flicker 0.1s infinite;
    color: var(--blood-red);
}

.eye-text-2 {
    font-size: 0.6rem;
    opacity: 0.5;
    font-style: italic;
}

@keyframes eye-text-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* === PROPHECY ZONE === */
.prophecy-zone {
    position: relative;
    padding: 100px 0;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 0, 102, 0.2) 50%, transparent 100%);
}

.prophecy-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    font-family: 'Lacquer', cursive;
    font-size: 2rem;
}

.marquee-1 {
    color: var(--blood-red);
    animation: marquee-scroll 15s linear infinite;
}

.marquee-2 {
    color: var(--sick-green);
    animation: marquee-scroll 20s linear infinite reverse;
}

.marquee-1 span, .marquee-2 span {
    display: inline-block;
    padding-left: 100%;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.prophecy-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.prophecy-block {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--blood-red);
    padding: 30px;
    position: relative;
    transition: all 0.3s;
}

.prophecy-block:hover {
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 0 0 30px var(--neon-red);
}

.prophecy-block h2 {
    font-family: 'Creepster', cursive;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--neon-red);
}

.prophecy-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.prophecy-date {
    font-family: 'VT323', monospace;
    color: var(--sick-green);
    font-size: 0.9rem;
    animation: date-glitch 0.3s infinite;
}

@keyframes date-glitch {
    0%, 100% { opacity: 1; transform: translateX(0); }
    33% { opacity: 0.8; transform: translateX(-2px); color: var(--neon-red); }
    66% { opacity: 0.9; transform: translateX(2px); color: var(--glitch-cyan); }
}

.p1 { transform: rotate(-3deg); }
.p2 { transform: rotate(2deg) translateY(20px); }
.p3 { transform: rotate(-1deg) translateY(-10px); }

/* === DECAY ZONE === */
.decay-zone {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 50%, transparent 100%);
}

.decay-glitch {
    margin-bottom: 50px;
}

.decay-code {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--sick-green);
    text-shadow: 0 0 10px var(--sick-green);
    animation: code-flicker 0.1s infinite;
    white-space: pre;
}

@keyframes code-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; text-shadow: 0 0 20px var(--sick-green), 0 0 40px var(--neon-red); }
}

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

.decay-main {
    font-family: 'Nosifer', cursive;
    font-size: 3rem;
    color: var(--neon-red);
    text-shadow:
        3px 3px 0 var(--void-purple),
        -3px -3px 0 var(--glitch-cyan);
    animation: decay-shake 0.05s infinite;
}

@keyframes decay-shake {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, 2px); }
}

.decay-sub {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.7;
    font-style: italic;
}

.decay-sub2 {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.5;
}

#binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.binary-column {
    position: absolute;
    top: -100%;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--sick-green);
    opacity: 0.3;
    animation: rain-fall linear infinite;
    white-space: nowrap;
    writing-mode: vertical-rl;
}

@keyframes rain-fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(200vh); }
}

/* === CONFESSION ZONE === */
.confession-zone {
    position: relative;
    padding: 100px 50px;
    z-index: 10;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 50px,
        rgba(139, 0, 0, 0.03) 50px,
        rgba(139, 0, 0, 0.03) 51px
    );
}

.confession-title {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--corruption-pink);
    text-shadow: 0 0 30px var(--corruption-pink);
}

.confession-scroll {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--corruption-pink);
    background: rgba(10, 10, 10, 0.8);
    position: relative;
}

.confession-scroll::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--glitch-cyan);
    animation: border-glitch 0.5s infinite;
}

@keyframes border-glitch {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, 2px); }
}

.confession-text p {
    font-family: 'Special Elite', cursive;
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 20px;
    text-indent: 50px;
}

.confession-text p:nth-child(odd) {
    animation: text-drift-left 10s ease-in-out infinite;
}

.confession-text p:nth-child(even) {
    animation: text-drift-right 10s ease-in-out infinite;
}

@keyframes text-drift-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

@keyframes text-drift-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

.confession-final {
    font-family: 'Nosifer', cursive;
    font-size: 1.5rem;
    color: var(--neon-red);
    text-align: center;
    margin-top: 40px;
    text-indent: 0 !important;
}

/* === VOID ZONE === */
.void-zone {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: radial-gradient(circle at center, var(--void-purple) 0%, var(--void-black) 70%);
}

.void-center {
    position: relative;
    text-align: center;
}

.void-spiral {
    width: 300px;
    height: 300px;
    margin: 0 auto 50px;
    background: conic-gradient(
        from 0deg,
        var(--void-black),
        var(--void-purple),
        var(--blood-red),
        var(--void-black),
        var(--void-purple),
        var(--blood-red),
        var(--void-black)
    );
    border-radius: 50%;
    animation: spiral-spin 10s linear infinite;
    box-shadow:
        0 0 50px var(--void-purple),
        0 0 100px var(--blood-red);
}

@keyframes spiral-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.void-text {
    font-family: 'Lacquer', cursive;
    font-size: 2rem;
    margin: 10px 0;
    animation: void-text-appear 5s ease-in-out infinite;
}

.v1 { animation-delay: 0s; color: var(--ghost-white); }
.v2 { animation-delay: 1.5s; color: var(--decay-yellow); opacity: 0.8; }
.v3 { animation-delay: 3s; color: var(--glitch-cyan); opacity: 0.6; }

@keyframes void-text-appear {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.void-stats {
    display: flex;
    gap: 80px;
    margin-top: 80px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Nosifer', cursive;
    font-size: 4rem;
    color: var(--neon-red);
    text-shadow: 0 0 30px var(--neon-red);
}

.stat-label {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-top: 10px;
    display: block;
}

/* === CURSE ZONE === */
.curse-zone {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 50px;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(139, 0, 0, 0.1) 2px,
            rgba(139, 0, 0, 0.1) 4px
        );
}

.curse-border {
    border: 3px solid var(--blood-red);
    padding: 60px;
    max-width: 900px;
    text-align: center;
    position: relative;
    background: rgba(10, 10, 10, 0.95);
    animation: curse-pulse 2s ease-in-out infinite;
}

@keyframes curse-pulse {
    0%, 100% { box-shadow: 0 0 30px var(--blood-red); }
    50% { box-shadow: 0 0 80px var(--neon-red), 0 0 120px var(--void-purple); }
}

.curse-border::before,
.curse-border::after {
    content: '⛧';
    position: absolute;
    font-size: 3rem;
    color: var(--blood-red);
    animation: symbol-spin 5s linear infinite;
}

.curse-border::before { top: -30px; left: -30px; }
.curse-border::after { bottom: -30px; right: -30px; animation-direction: reverse; }

@keyframes symbol-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.curse-title {
    font-family: 'Nosifer', cursive;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--blood-red);
    text-shadow: 0 0 20px var(--neon-red);
}

.curse-line {
    font-family: 'Special Elite', cursive;
    font-size: 1.5rem;
    margin: 15px 0;
    opacity: 0;
    animation: curse-reveal 1s ease-out forwards;
}

.c1 { animation-delay: 0.2s; font-size: 3rem; font-family: 'Nosifer', cursive; color: var(--neon-red); }
.c2 { animation-delay: 0.5s; }
.c3 { animation-delay: 0.8s; color: var(--sick-green); }
.c4 { animation-delay: 1.1s; font-style: italic; opacity: 0.7; }
.c5 { animation-delay: 1.4s; font-style: italic; opacity: 0.7; }
.c6 { animation-delay: 1.7s; font-style: italic; opacity: 0.7; }
.c7 { animation-delay: 2s; }
.c8 { animation-delay: 2.3s; color: var(--corruption-pink); }
.c9 { animation-delay: 2.6s; font-style: italic; opacity: 0.8; }
.c10 { animation-delay: 2.9s; font-style: italic; opacity: 0.8; }

@keyframes curse-reveal {
    0% { opacity: 0; transform: translateY(20px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.curse-final {
    font-family: 'Nosifer', cursive;
    font-size: 2.5rem;
    margin-top: 50px;
    color: var(--neon-red);
    animation: final-curse 0.1s infinite, curse-reveal 1s ease-out forwards 3.2s;
    text-shadow:
        3px 0 var(--glitch-cyan),
        -3px 0 var(--corruption-pink);
}

@keyframes final-curse {
    0%, 100% { text-shadow: 3px 0 var(--glitch-cyan), -3px 0 var(--corruption-pink); }
    50% { text-shadow: -3px 0 var(--glitch-cyan), 3px 0 var(--corruption-pink); }
}

/* === HIDDEN ELEMENTS === */
.hidden-message {
    position: fixed;
    font-family: 'Special Elite', cursive;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 500;
}

.h1 { top: 5%; left: 3%; transform: rotate(-15deg); color: var(--blood-red); }
.h2 { top: 30%; right: 2%; transform: rotate(10deg); color: var(--decay-yellow); }
.h3 { bottom: 40%; left: 5%; transform: rotate(-5deg); color: var(--sick-green); }
.h4 { bottom: 10%; right: 10%; transform: rotate(8deg); color: var(--corruption-pink); }

.hidden-message:hover,
body:hover .hidden-message {
    opacity: 0.1;
}

.hidden-symbol {
    position: fixed;
    font-size: 5rem;
    opacity: 0;
    pointer-events: none;
    z-index: 500;
    animation: symbol-appear 20s ease-in-out infinite;
}

.s1 { top: 20%; left: 10%; animation-delay: 5s; color: var(--blood-red); }
.s2 { top: 60%; right: 15%; animation-delay: 10s; color: var(--ghost-white); }
.s3 { bottom: 30%; left: 20%; animation-delay: 15s; color: var(--void-purple); }
.s4 { top: 40%; right: 25%; animation-delay: 2s; color: var(--sick-green); }

@keyframes symbol-appear {
    0%, 95%, 100% { opacity: 0; }
    97% { opacity: 0.3; }
}

/* === POPUP TEXTS === */
.popup-text {
    position: fixed;
    font-family: 'Nosifer', cursive;
    font-size: 3rem;
    pointer-events: none;
    opacity: 0;
    z-index: 9000;
    text-shadow: 0 0 30px var(--neon-red);
    color: var(--neon-red);
}

.popup-text.active {
    animation: popup-flash 0.5s ease-out forwards;
}

@keyframes popup-flash {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1) translateY(-50px); }
}

/* === FOOTER MADNESS === */
.footer-madness {
    position: relative;
    padding: 50px;
    text-align: center;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 0, 0, 0.1) 100%);
    border-top: 1px solid var(--blood-red);
}

.footer-date {
    font-family: 'VT323', monospace;
    color: var(--sick-green);
    margin-bottom: 10px;
}

.footer-author {
    font-family: 'VT323', monospace;
    color: var(--glitch-cyan);
    margin-bottom: 20px;
    animation: author-glitch 0.2s infinite;
}

@keyframes author-glitch {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; content: 'AUTOR: [BŁĄD]'; }
}

.footer-warning {
    font-family: 'Special Elite', cursive;
    font-size: 1.5rem;
    color: var(--neon-red);
    margin-bottom: 30px;
    animation: warning-pulse 1s infinite;
}

@keyframes warning-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.footer-corrupt {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    color: var(--sick-green);
    opacity: 0.5;
}

/* === SPAWNED CHAOS ELEMENTS === */
.spawn-element {
    position: absolute;
    pointer-events: none;
    animation: spawn-fade 2s ease-out forwards;
    font-family: 'Nosifer', cursive;
    z-index: 9997;
}

@keyframes spawn-fade {
    0% { opacity: 1; transform: scale(1) rotate(0deg); }
    100% { opacity: 0; transform: scale(2) rotate(360deg) translateY(-100px); }
}

/* === SCREEN GLITCH EFFECT === */
.screen-glitch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
}

.screen-glitch.active {
    animation: screen-tear 0.1s;
}

@keyframes screen-tear {
    0% { background: transparent; }
    20% { background: rgba(255, 0, 68, 0.1); transform: translateX(-5px); }
    40% { background: rgba(0, 255, 255, 0.1); transform: translateX(5px); }
    60% { background: transparent; transform: translateX(-3px); }
    80% { background: rgba(255, 0, 255, 0.1); transform: translateX(3px); }
    100% { background: transparent; transform: translateX(0); }
}

/* === RESPONSIVE CHAOS === */
@media (max-width: 1024px) {
    .prophecy-content {
        grid-template-columns: 1fr;
    }

    .the-eye-container {
        display: none;
    }

    .main-title {
        font-size: 8vw;
    }

    .void-stats {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .curse-border {
        padding: 30px;
    }

    .decay-main {
        font-size: 2rem;
    }

    .gate-warning {
        font-size: 2rem;
    }
}

/* === SPECIAL SCROLL EFFECTS === */
body.scrolling .floating-text {
    animation-duration: 15s;
}

body.scrolling .main-title .title-fragment {
    animation-duration: 0.2s;
}

/* === INVERT MODE === */
body.inverted {
    filter: invert(1) hue-rotate(180deg);
}

body.inverted .the-eye-container {
    filter: invert(1) hue-rotate(180deg);
}

/* ============================================
   PSYCHOLOGICAL HORROR ESCALATION
   ============================================ */

/* === FAKE CURSORS === */
#fake-cursors-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9990;
}

.fake-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-red);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: difference;
    transition: all 0.3s ease-out;
}

.fake-cursor:nth-child(odd) {
    border-color: var(--glitch-cyan);
}

.fake-cursor:nth-child(3n) {
    border-color: var(--corruption-pink);
}

#cursor-count-message {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Special Elite', cursive;
    font-size: 1.2rem;
    color: var(--neon-red);
    opacity: 0;
    z-index: 9991;
    text-shadow: 0 0 20px var(--neon-red);
    transition: opacity 0.5s;
}

#cursor-count-message.visible {
    opacity: 1;
}

/* === STATIC OVERLAY === */
#static-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9980;
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    transition: opacity 2s;
}

/* === VHS LINES === */
#vhs-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9979;
    opacity: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.3) 2px,
        rgba(0, 0, 0, 0.3) 4px
    );
}

#vhs-lines.active {
    animation: vhs-flicker 0.1s infinite;
}

@keyframes vhs-flicker {
    0%, 100% { opacity: 0.1; transform: translateY(0); }
    50% { opacity: 0.2; transform: translateY(2px); }
}

/* === WATCHER TEXT === */
.watcher-text {
    position: fixed;
    font-family: 'Special Elite', cursive;
    font-size: 1rem;
    pointer-events: none;
    z-index: 500;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.wt1 { top: 20px; left: 20px; color: var(--blood-red); transform: rotate(-5deg); }
.wt2 { top: 20px; right: 20px; color: var(--decay-yellow); transform: rotate(5deg); }
.wt3 { bottom: 20px; left: 20px; color: var(--sick-green); transform: rotate(3deg); }
.wt4 { bottom: 20px; right: 20px; color: var(--corruption-pink); transform: rotate(-3deg); }

.watcher-text.visible {
    opacity: 0.15;
}

/* === THE TERMINAL === */
#terminal-container {
    position: fixed;
    bottom: 100px;
    left: 50px;
    width: 400px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--sick-green);
    font-family: 'VT323', monospace;
    z-index: 9000;
    display: none;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

#terminal-container.active {
    display: block;
    animation: terminal-appear 0.5s ease-out;
}

@keyframes terminal-appear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.terminal-header {
    background: var(--sick-green);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--void-black);
}

.terminal-title {
    margin-left: 10px;
    color: var(--void-black);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

#terminal-content {
    padding: 15px;
    color: var(--sick-green);
    font-size: 1rem;
    line-height: 1.6;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

#terminal-content .terminal-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: line-appear 0.3s forwards;
}

@keyframes line-appear {
    to { opacity: 1; }
}

#terminal-cursor {
    color: var(--sick-green);
    animation: cursor-blink 0.5s infinite;
    padding-left: 15px;
    padding-bottom: 10px;
    display: block;
}

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

/* === COUNTDOWN === */
#countdown-container {
    position: fixed;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 9000;
    display: none;
}

#countdown-container.active {
    display: block;
}

.countdown-label {
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    color: var(--blood-red);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

#countdown-timer {
    font-family: 'Nosifer', cursive;
    font-size: 2rem;
    color: var(--neon-red);
    text-shadow: 0 0 20px var(--neon-red);
    animation: countdown-pulse 1s infinite;
}

@keyframes countdown-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* === PERSONALIZATION INFO === */
#personalization-container {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 8000;
    display: none;
}

#personalization-container.active {
    display: block;
}

.personal-info {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: var(--sick-green);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-20px);
    animation: info-slide-in 0.5s forwards;
}

.personal-info:nth-child(1) { animation-delay: 0.5s; }
.personal-info:nth-child(2) { animation-delay: 1s; }
.personal-info:nth-child(3) { animation-delay: 1.5s; }
.personal-info:nth-child(4) { animation-delay: 2s; }
.personal-info:nth-child(5) { animation-delay: 2.5s; }

@keyframes info-slide-in {
    to { opacity: 1; transform: translateX(0); }
}

/* === DISTORTED CLOCK === */
#distorted-clock {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 7000;
    display: none;
    text-align: center;
}

#distorted-clock.active {
    display: block;
}

#clock-time {
    font-family: 'Nosifer', cursive;
    font-size: 1.5rem;
    color: var(--decay-yellow);
    display: block;
    animation: clock-distort 2s infinite;
}

@keyframes clock-distort {
    0%, 100% { transform: skewX(0deg); }
    25% { transform: skewX(2deg); }
    75% { transform: skewX(-2deg); }
}

.clock-label {
    font-family: 'Special Elite', cursive;
    font-size: 0.7rem;
    color: var(--ghost-white);
    opacity: 0.5;
    display: block;
    margin-top: 5px;
}

/* === EXIT INTENT MESSAGE === */
#exit-intent-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Nosifer', cursive;
    font-size: 5rem;
    color: var(--neon-red);
    text-shadow: 0 0 50px var(--neon-red);
    z-index: 10001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

#exit-intent-message.active {
    opacity: 1;
}

/* === SELECTION REVEAL TEXT === */
.selection-reveal {
    position: fixed;
    color: transparent;
    font-family: 'Special Elite', cursive;
    font-size: 1rem;
    pointer-events: none;
    z-index: 100;
    user-select: all;
}

.selection-reveal::selection {
    background: var(--neon-red);
    color: var(--void-black);
}

.sr1 { top: 15%; left: 45%; }
.sr2 { top: 35%; right: 30%; }
.sr3 { top: 55%; left: 25%; }
.sr4 { top: 75%; right: 40%; }
.sr5 { top: 45%; left: 60%; }

/* === BLACKOUT SCREEN === */
#blackout-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--void-black);
    z-index: 20000;
    display: none;
    justify-content: center;
    align-items: center;
}

#blackout-screen.active {
    display: flex;
    animation: blackout-fade-in 2s ease-in;
}

@keyframes blackout-fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.blackout-text {
    font-family: 'Nosifer', cursive;
    font-size: 5rem;
    color: var(--neon-red);
    opacity: 0;
    animation: blackout-text-appear 1s ease-out 2s forwards;
}

@keyframes blackout-text-appear {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* === PROGRESSIVE CORRUPTION MODES === */
body.corruption-1 {
    filter: hue-rotate(10deg);
}

body.corruption-2 {
    filter: hue-rotate(20deg) saturate(1.2);
}

body.corruption-3 {
    filter: hue-rotate(30deg) saturate(1.4);
    animation: subtle-shake 0.5s infinite;
}

body.corruption-4 {
    filter: hue-rotate(40deg) saturate(1.6) contrast(1.1);
    animation: subtle-shake 0.3s infinite;
}

body.corruption-5 {
    filter: hue-rotate(50deg) saturate(2) contrast(1.2);
    animation: corruption-shake 0.2s infinite;
}

@keyframes subtle-shake {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(1px, 0); }
    75% { transform: translate(-1px, 0); }
}

@keyframes corruption-shake {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
}

/* === 3AM MODE === */
body.three-am-mode {
    --blood-red: #ff0000;
    --neon-red: #ff0022;
    background: #050000 !important;
}

body.three-am-mode::before {
    content: 'TO JEST TA GODZINA';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Nosifer', cursive;
    font-size: 4rem;
    color: var(--neon-red);
    text-shadow: 0 0 50px var(--neon-red);
    z-index: 5;
    pointer-events: none;
    opacity: 0.3;
    animation: three-am-pulse 2s infinite;
}

@keyframes three-am-pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

/* === PAGE BREATHE EFFECT === */
body.breathing {
    animation: page-breathe 4s ease-in-out infinite;
}

@keyframes page-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.005); }
}

/* === PAGE TILT EFFECT === */
body.tilting {
    transition: transform 0.3s ease-out;
}

/* === ABERRATION EFFECT === */
.aberration {
    text-shadow:
        2px 0 var(--glitch-cyan),
        -2px 0 var(--neon-red) !important;
}
