/*
Theme Name: GOQUEER
Theme URI: https://goqueer.de
Description: Ein modernes WordPress-Theme für die queere Infotainment-Sendung GOQUEER aus Magdeburg mit VHS/CRT-TV-Glitch-Effekten
Author: GOQUEER Team
Author URI: https://goqueer.de
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goqueer
Tags: entertainment, community, modern, colorful, custom-menu
*/

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

/* ========== SCANLINE EFFECT - BACKGROUND ========== */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -10;
    background: linear-gradient(to bottom, transparent 50%, rgba(97,255,112,0.03) 50%);
    background-size: 100% 4px;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ========== VHS NOISE OVERLAY - BACKGROUND ========== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -9;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: noise 0.3s infinite, brightness-flicker 5s infinite;
}

@keyframes brightness-flicker {
    0%, 100% { opacity: 0.15; }
    10% { opacity: 0.18; }
    20% { opacity: 0.14; }
    30% { opacity: 0.17; }
    40% { opacity: 0.15; }
    50% { opacity: 0.19; }
    60% { opacity: 0.13; }
    70% { opacity: 0.16; }
    80% { opacity: 0.15; }
    90% { opacity: 0.17; }
}

@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-3%, -3%); }
    20% { transform: translate(-6%, 3%); }
    30% { transform: translate(3%, -6%); }
    40% { transform: translate(-3%, 9%); }
    50% { transform: translate(-6%, 3%); }
    60% { transform: translate(9%, 0); }
    70% { transform: translate(0, 6%); }
    80% { transform: translate(-9%, 0); }
    90% { transform: translate(6%, 3%); }
}

/* ========== VHS TRACKING ERRORS - SOFTER ========== */
.vhs-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(97, 255, 112, 0.3) 20%,
        rgba(97, 255, 112, 0.6) 50%,
        rgba(255, 20, 147, 0.6) 50%,
        rgba(255, 20, 147, 0.3) 80%,
        transparent 100%);
    pointer-events: none;
    z-index: -8;
    animation: vhs-line 3s linear infinite;
    filter: blur(4px);
    box-shadow: 0 0 15px rgba(97, 255, 112, 0.4);
}

@keyframes vhs-line {
    0% { top: 0%; opacity: 0; height: 2px; }
    5% { opacity: 0.8; height: 8px; }
    10% { opacity: 0; height: 2px; }
    50% { top: 50%; opacity: 0.9; height: 15px; }
    55% { opacity: 0; height: 2px; }
    100% { top: 100%; opacity: 0; height: 2px; }
}

body {
    font-family: 'Work Sans', sans-serif;
    background: #6962FE;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ========== CRT SCREEN VIGNETTE & GLOW ========== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -7;
    background:
        radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0,0,0,0.5) 100%),
        radial-gradient(circle at 50% 50%, rgba(97, 255, 112, 0.03) 0%, transparent 30%);
    box-shadow:
        inset 0 0 200px rgba(0,0,0,0.7),
        inset 0 0 50px rgba(0,0,0,0.9),
        inset 0 0 100px rgba(97, 255, 112, 0.05);
    animation: phosphorGlow 4s ease-in-out infinite alternate;
}

@keyframes phosphorGlow {
    0%, 100% {
        opacity: 1;
        box-shadow:
            inset 0 0 200px rgba(0,0,0,0.7),
            inset 0 0 50px rgba(0,0,0,0.9),
            inset 0 0 100px rgba(97, 255, 112, 0.03);
    }
    50% {
        opacity: 0.95;
        box-shadow:
            inset 0 0 200px rgba(0,0,0,0.7),
            inset 0 0 50px rgba(0,0,0,0.9),
            inset 0 0 100px rgba(97, 255, 112, 0.08);
    }
}

/* ========== TV SCREEN CURVATURE DISTORTION ========== */
/* Disabled for performance
body {
    animation: tvBulge 6s ease-in-out infinite;
}
*/

/* Disable body transform when modal is open (fixes position:fixed) */
body.gqrc-modal-open,
body:has(.gqrc-modal-overlay.active) {
    animation: none !important;
    transform: none !important;
}

@keyframes tvBulge {
    0%, 100% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.002, 0.998);
    }
}

/* ========== TV STATIC INTERFERENCE ========== */
.glitch-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='static'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23static)'/%3E%3C/svg%3E");
    opacity: 0.25;
    animation: staticNoise 0.2s infinite;
    mix-blend-mode: overlay;
}

@keyframes staticNoise {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.3; }
}

/* ========== RGB CHROMATIC ABERRATION ========== */
/* Animation entfernt für transparenten Container */

@keyframes chromaticShift {
    0%, 100% {
        filter: none;
    }
    25% {
        filter:
            drop-shadow(2px 0 0 rgba(255, 0, 0, 0.05))
            drop-shadow(-2px 0 0 rgba(0, 255, 255, 0.05));
    }
    50% {
        filter: none;
    }
    75% {
        filter:
            drop-shadow(-2px 0 0 rgba(255, 0, 0, 0.05))
            drop-shadow(2px 0 0 rgba(0, 255, 255, 0.05));
    }
}

h1, h2, h3, h4, h5, h6, .heading {
    font-family: 'Arvo', serif;
}

/* ========== GLITCH GRID BACKGROUND ========== */
.glitch-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -11;
    opacity: 0.35;
    background:
        linear-gradient(90deg, transparent 48%, #61FF70 48%, #61FF70 52%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.4) 48%, rgba(255,255,255,0.4) 52%, transparent 52%);
    background-size: 40px 40px;
    animation: gridMove 12s linear infinite, gridFlicker 0.08s infinite, gridGlitch 3s infinite;
}

.glitch-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: inherit;
    animation: glitchClone1 2s infinite;
    opacity: 0;
}

.glitch-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: inherit;
    animation: glitchClone2 2.5s infinite;
    opacity: 0;
}

@keyframes gridFlicker {
    0%, 85%, 100% { opacity: 0.25; }
    86% { opacity: 0.5; }
    88% { opacity: 0.1; }
    90% { opacity: 0.6; }
    92% { opacity: 0.15; }
    94% { opacity: 0.45; }
    96% { opacity: 0.2; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

@keyframes gridGlitch {
    0%, 90%, 100% {
        transform: translate(0, 0) skew(0deg) scaleX(1);
        filter: none;
        clip-path: none;
    }
    91% {
        transform: translate(-8px, 3px) skew(-4deg) scaleX(1.02);
        filter: hue-rotate(90deg) saturate(2);
        clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
    }
    92% {
        transform: translate(10px, -2px) skew(3deg) scaleX(0.98);
        filter: hue-rotate(-60deg) brightness(1.3);
        clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
    }
    93% {
        transform: translate(-5px, 5px) skew(-2deg) scaleX(1.03);
        filter: hue-rotate(180deg) contrast(1.2);
        clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%);
    }
    94% {
        transform: translate(7px, -4px) skew(5deg) scaleX(0.97);
        filter: hue-rotate(-120deg) saturate(1.5);
        clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
    }
    95% {
        transform: translate(-3px, 2px) skew(-1deg);
        filter: none;
        clip-path: none;
    }
}

@keyframes glitchClone1 {
    0%, 85%, 100% {
        opacity: 0;
        transform: translate(0, 0);
    }
    86% {
        opacity: 0.4;
        transform: translate(-5px, 0);
        filter: hue-rotate(90deg);
    }
    88% {
        opacity: 0.3;
        transform: translate(5px, 2px);
        filter: hue-rotate(-90deg);
    }
    90% {
        opacity: 0;
        transform: translate(0, 0);
    }
}

@keyframes glitchClone2 {
    0%, 80%, 100% {
        opacity: 0;
        transform: translate(0, 0);
    }
    82% {
        opacity: 0.3;
        transform: translate(4px, -2px);
        filter: hue-rotate(180deg);
    }
    84% {
        opacity: 0.5;
        transform: translate(-6px, 3px);
        filter: hue-rotate(-45deg);
    }
    86% {
        opacity: 0;
        transform: translate(0, 0);
    }
}

/* ========== HEAVY SCANLINES - REALISTIC VHS ========== */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -10;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2) 1px,
            transparent 1px,
            transparent 2px
        );
    animation: scanlineFlicker 0.03s infinite, scanlineWave 8s ease-in-out infinite;
}

@keyframes scanlineFlicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.92; }
    50% { opacity: 0.78; }
    75% { opacity: 0.95; }
}

@keyframes scanlineWave {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 0 1px; }
}

/* ========== FINE CRT TUBE LINES ========== */
.scanline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px,
            transparent 2px
        );
    animation: crtLines 0.05s infinite;
}

@keyframes crtLines {
    0%, 100% { opacity: 1; }
    20% { opacity: 0.85; }
    40% { opacity: 0.95; }
    60% { opacity: 0.8; }
    80% { opacity: 0.92; }
}

.scanline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(97, 255, 112, 0.08) 20%,
        rgba(97, 255, 112, 0.18) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(97, 255, 112, 0.18) 55%,
        rgba(97, 255, 112, 0.08) 80%,
        transparent 100%
    );
    animation: scanbeam 2.5s linear infinite;
    filter: blur(4px);
}

@keyframes scanbeam {
    0% { transform: translateY(-400px); }
    100% { transform: translateY(calc(100vh + 400px)); }
}

/* ========== VHS TRACKING LINES ========== */
.vhs-tracking {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -9;
    overflow: hidden;
}

.vhs-tracking::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 60%,
        rgba(255, 255, 255, 0.05) 80%,
        transparent
    );
    animation: vhsTrackingLine 4s linear infinite;
    filter: blur(1px);
}

.vhs-tracking::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 20, 147, 0.1) 30%,
        rgba(255, 20, 147, 0.25) 50%,
        rgba(255, 20, 147, 0.1) 70%,
        transparent
    );
    animation: vhsTrackingLine2 3s linear infinite;
    animation-delay: 1.5s;
}

@keyframes vhsTrackingLine {
    0% { top: -25px; opacity: 0; }
    3% { opacity: 1; }
    97% { opacity: 1; }
    100% { top: 100vh; opacity: 0; }
}

@keyframes vhsTrackingLine2 {
    0% { top: -12px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100vh; opacity: 0; }
}

/* ========== VHS NOISE OVERLAY ========== */
.glitch-bars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -8;
    overflow: hidden;
    animation: noiseShift 0.1s steps(3) infinite;
}

@keyframes noiseShift {
    0% { filter: contrast(1); }
    50% { filter: contrast(1.02); }
    100% { filter: contrast(0.98); }
}

.glitch-bars::before {
    content: '';
    position: absolute;
    width: 120%;
    left: -10%;
    height: 8px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(97, 255, 112, 0.4) 15%,
        rgba(255, 255, 255, 0.3) 30%,
        transparent 45%,
        transparent 55%,
        rgba(255, 20, 147, 0.4) 70%,
        rgba(255, 255, 255, 0.2) 85%,
        transparent 100%
    );
    animation: glitchBar1 4s infinite;
    opacity: 0;
    filter: blur(1px);
}

.glitch-bars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        rgba(255, 20, 147, 0.5) 0%,
        rgba(255, 255, 255, 0.3) 20%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.3) 80%,
        rgba(97, 255, 112, 0.5) 100%
    );
    animation: glitchBar2 6s infinite;
    opacity: 0;
}

@keyframes glitchBar1 {
    0%, 88%, 100% { opacity: 0; top: 50%; transform: scaleX(1); }
    89% { opacity: 0.9; top: 15%; transform: scaleX(1.3) skewX(-2deg); }
    90% { opacity: 0.7; top: 65%; transform: scaleX(0.9) skewX(3deg); }
    91% { opacity: 1; top: 30%; transform: scaleX(1.5) skewX(-1deg); }
    92% { opacity: 0.8; top: 80%; transform: scaleX(0.7) skewX(2deg); }
    93% { opacity: 0.6; top: 45%; transform: scaleX(1.1); }
    94% { opacity: 0; top: 50%; }
}

@keyframes glitchBar2 {
    0%, 85%, 100% { opacity: 0; top: 30%; transform: scaleX(1); }
    86% { opacity: 0.8; top: 55%; transform: scaleX(1.8) skewX(2deg); }
    87% { opacity: 0.6; top: 20%; transform: scaleX(0.6) skewX(-3deg); }
    88% { opacity: 0.9; top: 75%; transform: scaleX(1.4) skewX(1deg); }
    89% { opacity: 0.5; top: 40%; transform: scaleX(2) skewX(-2deg); }
    90% { opacity: 0; top: 30%; }
}

/* ========== VHS COLOR BLEED ========== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 20, 147, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(97, 255, 112, 0.03) 0%, transparent 50%);
    animation: colorBleed 10s ease-in-out infinite alternate;
}

@keyframes colorBleed {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* ========== TV STATIC NOISE ========== */
.tv-noise {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 0;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,0.08) 0px, transparent 1px),
        repeating-radial-gradient(circle at 83% 67%, rgba(255,255,255,0.06) 0px, transparent 1px),
        repeating-radial-gradient(circle at 45% 12%, rgba(255,255,255,0.07) 0px, transparent 1px),
        repeating-radial-gradient(circle at 67% 89%, rgba(255,255,255,0.05) 0px, transparent 1px),
        repeating-radial-gradient(circle at 23% 78%, rgba(255,255,255,0.08) 0px, transparent 1px),
        repeating-radial-gradient(circle at 91% 34%, rgba(255,255,255,0.06) 0px, transparent 1px);
    background-size: 3px 3px, 4px 4px, 2px 2px, 5px 5px, 3px 3px, 4px 4px;
    animation: tvNoise 0.15s steps(8) infinite;
    opacity: 0.4;
}

.tv-noise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 2px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 2px
        );
    background-size: 2px 2px;
    animation: staticFlicker 0.08s steps(4) infinite;
}

.tv-noise::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.15) 100%);
    animation: staticPulse 0.5s ease-in-out infinite alternate;
}

@keyframes tvNoise {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -3%); }
    20% { transform: translate(3%, 1%); }
    30% { transform: translate(-1%, 2%); }
    40% { transform: translate(2%, -2%); }
    50% { transform: translate(-3%, 3%); }
    60% { transform: translate(1%, -1%); }
    70% { transform: translate(-2%, 2%); }
    80% { transform: translate(3%, -3%); }
    90% { transform: translate(-1%, 1%); }
    100% { transform: translate(0, 0); }
}

@keyframes staticFlicker {
    0%, 100% { opacity: 0.8; }
    25% { opacity: 0.6; }
    50% { opacity: 0.9; }
    75% { opacity: 0.5; }
}

@keyframes staticPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.5; }
}

/* ========== DISTORTION GLITCH EFFECTS ========== */

/* DISTORTION VARIANT 1 - Stretch & Skew (quick effect at start, then 30s pause) */
.glitch {
    display: inline-block;
    animation: distortion-1 30s infinite;
    text-transform: lowercase;
}

@keyframes distortion-1 {
    0%, 3%, 100% {
        transform: skew(0deg) scaleX(1) scaleY(1);
        filter: blur(0);
    }
    0.5% {
        transform: skew(-5deg) scaleX(1.1) scaleY(0.95);
        filter: blur(1px);
    }
    1% {
        transform: skew(5deg) scaleX(0.9) scaleY(1.1);
        filter: blur(0);
    }
    1.5% {
        transform: skew(-3deg) scaleX(1.05) scaleY(0.98);
        filter: blur(1px);
    }
    2% {
        transform: skew(0deg) scaleX(1) scaleY(1);
        filter: blur(0);
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch::before {
    color: #61FF70;
    animation: distortion-layer-1 30s infinite;
}

.glitch::after {
    color: #FF1493;
    animation: distortion-layer-2 30s infinite 0.05s;
}

@keyframes distortion-layer-1 {
    0%, 3%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleY(1);
        opacity: 0;
    }
    0.5% {
        clip-path: inset(25% 0 35% 0);
        transform: translateX(-15px) scaleY(1.3);
        opacity: 0.8;
    }
    1% {
        clip-path: inset(60% 0 10% 0);
        transform: translateX(10px) scaleY(0.7);
        opacity: 0.9;
    }
    1.5% {
        clip-path: inset(40% 0 45% 0);
        transform: translateX(-8px) scaleY(1.1);
        opacity: 0.7;
    }
}

@keyframes distortion-layer-2 {
    0%, 3%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleY(1);
        opacity: 0;
    }
    0.5% {
        clip-path: inset(15% 0 55% 0);
        transform: translateX(12px) scaleY(0.8);
        opacity: 0.7;
    }
    1% {
        clip-path: inset(70% 0 5% 0);
        transform: translateX(-14px) scaleY(1.4);
        opacity: 0.8;
    }
    1.5% {
        clip-path: inset(35% 0 50% 0);
        transform: translateX(9px) scaleY(0.9);
        opacity: 0.6;
    }
}

/* DISTORTION VARIANT 2 - Fast Wobble */
.glitch-fast {
    position: relative;
    display: inline-block;
    animation: distortion-2 2s infinite;
}

@keyframes distortion-2 {
    0%, 85%, 100% {
        transform: skew(0deg) scaleX(1);
    }
    87% {
        transform: skew(-8deg) scaleX(1.15);
    }
    89% {
        transform: skew(8deg) scaleX(0.85);
    }
    91% {
        transform: skew(-4deg) scaleX(1.08);
    }
}

.glitch-fast::before,
.glitch-fast::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-fast::before {
    color: #00FFFF;
    animation: distortion-fast-1 2s infinite;
}

.glitch-fast::after {
    color: #FFFF00;
    animation: distortion-fast-2 2s infinite 0.1s;
}

@keyframes distortion-fast-1 {
    0%, 85%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateY(0);
        opacity: 0;
    }
    87% {
        clip-path: inset(20% 0 60% 0);
        transform: translateY(-8px);
        opacity: 0.7;
    }
    89% {
        clip-path: inset(55% 0 25% 0);
        transform: translateY(8px);
        opacity: 0.8;
    }
}

@keyframes distortion-fast-2 {
    0%, 85%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateY(0);
        opacity: 0;
    }
    87% {
        clip-path: inset(30% 0 45% 0);
        transform: translateY(10px);
        opacity: 0.6;
    }
    89% {
        clip-path: inset(65% 0 15% 0);
        transform: translateY(-10px);
        opacity: 0.7;
    }
}

/* DISTORTION VARIANT 3 - Slow Wave (quick effect at start, then 64s pause) */
.glitch-slow {
    position: relative;
    display: inline-block;
    animation: distortion-3 64s infinite;
}

@keyframes distortion-3 {
    0%, 2.5%, 100% {
        transform: skew(0deg) scaleY(1);
        filter: blur(0);
    }
    0.4% {
        transform: skew(-6deg) scaleY(1.2);
        filter: blur(2px);
    }
    0.8% {
        transform: skew(6deg) scaleY(0.8);
        filter: blur(1px);
    }
    1.2% {
        transform: skew(-3deg) scaleY(1.1);
        filter: blur(2px);
    }
    1.6% {
        transform: skew(0deg) scaleY(1);
        filter: blur(0);
    }
}

.glitch-slow::before,
.glitch-slow::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-slow::before {
    color: #61FF70;
    animation: distortion-slow-1 64s infinite;
}

.glitch-slow::after {
    color: #9D00FF;
    animation: distortion-slow-2 64s infinite 0.05s;
}

/* 64s total, quick effect at start */
@keyframes distortion-slow-1 {
    0%, 2.5%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleX(1);
        opacity: 0;
    }
    0.4% {
        clip-path: inset(10% 0 70% 0);
        transform: translateX(-20px) scaleX(1.3);
        opacity: 0.9;
    }
    0.8% {
        clip-path: inset(50% 0 30% 0);
        transform: translateX(15px) scaleX(0.7);
        opacity: 0.8;
    }
    1.2% {
        clip-path: inset(25% 0 55% 0);
        transform: translateX(-10px) scaleX(1.15);
        opacity: 0.7;
    }
}

@keyframes distortion-slow-2 {
    0%, 2.5%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleX(1);
        opacity: 0;
    }
    0.4% {
        clip-path: inset(35% 0 45% 0);
        transform: translateX(18px) scaleX(0.8);
        opacity: 0.8;
    }
    0.8% {
        clip-path: inset(65% 0 15% 0);
        transform: translateX(-22px) scaleX(1.4);
        opacity: 0.9;
    }
    1.2% {
        clip-path: inset(40% 0 40% 0);
        transform: translateX(12px) scaleX(1.1);
        opacity: 0.7;
    }
}

/* DISTORTION VARIANT 4 - Subtle Shift */
.glitch-subtle {
    position: relative;
    display: inline-block;
    animation: distortion-4 5s infinite;
}

@keyframes distortion-4 {
    0%, 96%, 100% {
        transform: skew(0deg);
    }
    97% {
        transform: skew(-2deg) scaleX(1.03);
    }
    98% {
        transform: skew(2deg) scaleX(0.97);
    }
}

.glitch-subtle::before,
.glitch-subtle::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-subtle::before {
    color: #FF1493;
    animation: distortion-subtle-1 5s infinite;
}

.glitch-subtle::after {
    color: #00FFFF;
    animation: distortion-subtle-2 5s infinite 0.3s;
}

@keyframes distortion-subtle-1 {
    0%, 96%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0);
        opacity: 0;
    }
    97% {
        clip-path: inset(30% 0 50% 0);
        transform: translateX(-6px);
        opacity: 0.5;
    }
}

@keyframes distortion-subtle-2 {
    0%, 96%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0);
        opacity: 0;
    }
    97.5% {
        clip-path: inset(45% 0 35% 0);
        transform: translateX(6px);
        opacity: 0.4;
    }
}

/* Digital Glitch Bars (disabled)
h1::after, h2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #61FF70, #FF1493, transparent);
    opacity: 0;
    animation: glitch-bar 5s infinite;
}

@keyframes glitch-bar {
    0%, 96%, 100% { opacity: 0; transform: translateY(0) scaleX(0); }
    97% { opacity: 1; transform: translateY(-20px) scaleX(1.5); }
    98% { opacity: 1; transform: translateY(20px) scaleX(1.5); }
    99% { opacity: 0; transform: translateY(0) scaleX(0); }
}

h1, h2 {
    position: relative;
}
*/

/* ========== INTERLACING EFFECT (disabled) ==========
body {
    animation: interlace 0.1s infinite;
}

@keyframes interlace {
    0%, 50%, 100% {
        background-position: 0 0;
    }
    25%, 75% {
        background-position: 0 1px;
    }
}
*/

/* ========== COLOR BLEEDING - REMOVED ========== */
main {
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: transparent;
}

/* ========== SIGNAL INTERFERENCE BARS - SOFTER ========== */
.vhs-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    animation: interference 0.5s infinite;
    filter: blur(1px);
}

@keyframes interference {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* Animation delay variations - each element glitches at different times */
.glitch:nth-of-type(1) { animation-delay: 0s; }
.glitch:nth-of-type(2) { animation-delay: 0.8s; }
.glitch:nth-of-type(3) { animation-delay: 1.6s; }
.glitch:nth-of-type(4) { animation-delay: 2.4s; }
.glitch:nth-of-type(5) { animation-delay: 0.4s; }
.glitch:nth-of-type(6) { animation-delay: 1.2s; }
.glitch:nth-of-type(7) { animation-delay: 2s; }
.glitch:nth-of-type(8) { animation-delay: 2.8s; }

.glitch-fast:nth-of-type(1) { animation-delay: 0.3s; }
.glitch-fast:nth-of-type(2) { animation-delay: 0.9s; }
.glitch-fast:nth-of-type(3) { animation-delay: 1.5s; }
.glitch-fast:nth-of-type(4) { animation-delay: 0.6s; }
.glitch-fast:nth-of-type(5) { animation-delay: 1.2s; }
.glitch-fast:nth-of-type(6) { animation-delay: 1.8s; }

.glitch-slow:nth-of-type(1) { animation-delay: 0.5s; }
.glitch-slow:nth-of-type(2) { animation-delay: 2s; }
.glitch-slow:nth-of-type(3) { animation-delay: 3.5s; }

.glitch-subtle:nth-of-type(1) { animation-delay: 0.7s; }
.glitch-subtle:nth-of-type(2) { animation-delay: 1.9s; }
.glitch-subtle:nth-of-type(3) { animation-delay: 3.1s; }
.glitch-subtle:nth-of-type(4) { animation-delay: 4.3s; }
.glitch-subtle:nth-of-type(5) { animation-delay: 1.4s; }
.glitch-subtle:nth-of-type(6) { animation-delay: 2.6s; }
.glitch-subtle:nth-of-type(7) { animation-delay: 3.8s; }
.glitch-subtle:nth-of-type(8) { animation-delay: 0.9s; }

/* ========== CONTAINER & LAYOUT ========== */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(105, 98, 254, 0.9);
    border-bottom: 3px solid rgba(97, 255, 112, 0.6);
    box-shadow: 0 8px 32px rgba(97, 255, 112, 0.3), inset 0 -2px 20px rgba(97, 255, 112, 0.15);
}

.nav-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo img {
    transition: transform 0.3s, filter 0.3s;
    position: relative;
    z-index: 1;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(97, 255, 112, 0.6));
}

/* Glitch effect for logo image */
.logo.glitch-slow::before,
.logo.glitch-slow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://goqueer.net/wp-content/uploads/2024/04/goqueer-verein-logo-V24-slogan.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
}

.logo.glitch-slow::before {
    animation: logo-glitch-1 64s infinite;
}

.logo.glitch-slow::after {
    animation: logo-glitch-2 64s infinite 0.2s;
}

/* 64s total = 4s glitch + 60s pause. Glitch happens at 93.75%-100% (last 4s) */
@keyframes logo-glitch-1 {
    0%, 93.5%, 100% {
        opacity: 0;
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    94.5% {
        opacity: 0.7;
        transform: translateX(-5px);
        filter: hue-rotate(90deg);
    }
    96% {
        opacity: 0.6;
        transform: translateX(3px);
        filter: hue-rotate(120deg);
    }
}

@keyframes logo-glitch-2 {
    0%, 93.5%, 100% {
        opacity: 0;
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    94.5% {
        opacity: 0.6;
        transform: translateX(5px);
        filter: hue-rotate(-90deg);
    }
    96% {
        opacity: 0.5;
        transform: translateX(-3px);
        filter: hue-rotate(-120deg);
    }
}

.logo .rainbow {
    background: linear-gradient(90deg, #FF0000 0%, #FF7F00 16%, #FFFF00 33%, #00FF00 50%, #0000FF 66%, #8B00FF 83%, #FF0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-links a {
    padding: 12px 20px;
    background: rgba(97, 255, 112, 0.3);
    border: 2px solid rgba(97, 255, 112, 0.5);
    color: black;
    font-family: 'Arvo', serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 20px;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: block;
}

.nav-links a:hover {
    background: rgba(97, 255, 112, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 20px rgba(97, 255, 112, 0.5);
    border-color: rgba(97, 255, 112, 0.8);
}

.nav-links a.active,
.nav-links .current-menu-item a,
.nav-links .current_page_item a {
    background: linear-gradient(135deg, #61FF70 0%, #52EE61 100%);
    color: #6962FE;
    border-color: #61FF70;
    box-shadow: 0 5px 25px rgba(97, 255, 112, 0.5);
}

/* Nav Search Menu Item */
.menu-item-search a {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(97, 255, 112, 0.3);
    border: 2px solid rgba(97, 255, 112, 0.5);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(97, 255, 112, 0.5);
    border-color: rgba(97, 255, 112, 0.8);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: rgba(105, 98, 254, 0.85);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(97, 255, 112, 0.4);
    border-radius: 30px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 0 20px rgba(97, 255, 112, 0.15);
    transition: all 0.3s;
    overflow: hidden;
}

/* ========== NAV CARD - OLD TV EFFECT ========== */
.nav-card {
    position: relative;
    border: none;
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Header über Effekten */
.nav-card > div:last-child {
    position: relative;
    z-index: 20;
}

/* Remove overlay gradient */
.nav-card > div:first-child {
    background: none !important;
}

/* CRT Scanlines - stärker */
.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.3) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 10;
}

/* Vignette - dunkle Ecken */
.nav-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 11;
    border-radius: inherit;
}

.nav-card:hover {
    box-shadow:
        inset 0 0 60px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
    animation: nav-card-glitch 0.4s ease;
}

@keyframes nav-card-glitch {
    0%, 100% {
        transform: scale(1.02) translateX(0) skewX(0);
        filter: none;
    }
    15% {
        transform: scale(1.02) translateX(-4px) skewX(-1deg);
        filter: hue-rotate(20deg) saturate(1.3);
    }
    30% {
        transform: scale(1.02) translateX(4px) skewX(1deg);
        filter: hue-rotate(-20deg) brightness(1.2);
    }
    45% {
        transform: scale(1.02) translateX(-2px) skewX(-0.5deg);
        filter: saturate(1.5);
    }
    60% {
        transform: scale(1.02) translateX(2px) skewX(0.5deg);
        filter: brightness(1.3) contrast(1.1);
    }
    75% {
        transform: scale(1.02) translateX(-1px);
        filter: hue-rotate(10deg);
    }
}

/* Chromatic Aberration - stärker sichtbar */
.nav-card:hover::before {
    animation: nav-card-chromatic 1.5s infinite;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.3) 1px,
            transparent 1px,
            transparent 3px
        );
    box-shadow:
        -3px 0 0 rgba(255, 0, 0, 0.15),
        3px 0 0 rgba(0, 255, 255, 0.15);
}

@keyframes nav-card-chromatic {
    0%, 100% {
        box-shadow:
            -3px 0 0 rgba(255, 0, 0, 0.15),
            3px 0 0 rgba(0, 255, 255, 0.15);
    }
    25% {
        box-shadow:
            -5px 0 0 rgba(255, 0, 0, 0.25),
            5px 0 0 rgba(0, 255, 255, 0.25);
    }
    50% {
        box-shadow:
            -2px 0 0 rgba(255, 0, 0, 0.1),
            2px 0 0 rgba(0, 255, 255, 0.1);
    }
    75% {
        box-shadow:
            -4px 0 0 rgba(255, 0, 0, 0.2),
            4px 0 0 rgba(0, 255, 255, 0.2);
    }
}

/* ========== MAIN CONTENT ========== */
body main,
html body main,
main {
    padding-top: 140px !important;
    padding-bottom: 0px !important;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeInGlitch 0.8s;
}

@keyframes fadeInGlitch {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    10% {
        opacity: 0.3;
        transform: translateX(-3px);
    }
    20% {
        opacity: 0.6;
        transform: translateX(3px);
    }
    30% {
        opacity: 0.8;
        transform: translateX(-2px);
    }
    40% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========== CONSISTENT SIZING ========== */
h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #6962FE;
    border: 2px solid rgba(97, 255, 112, 0.5);
}

.btn-primary:hover {
    background: #61FF70;
    color: #6962FE;
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(97, 255, 112, 0.5);
}

.btn-secondary {
    background: #61FF70;
    color: #6962FE;
    border: 2px solid rgba(97, 255, 112, 0.8);
}

.btn-secondary:hover {
    background: #52EE61;
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 30px rgba(97, 255, 112, 0.6);
}

.btn:hover {
    box-shadow: 0 8px 24px rgba(97, 255, 112, 0.4);
}

/* ========== GRID LAYOUTS ========== */
.grid {
    display: grid;
    gap: 25px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    background: rgba(105, 98, 254, 0.75);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 35px;
    text-align: center;
    border: 2px solid rgba(97, 255, 112, 0.5);
    box-shadow: 0 8px 32px rgba(97, 255, 112, 0.3);
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px) rotate(-1deg) scale(1.05);
    box-shadow: 0 16px 48px rgba(97, 255, 112, 0.5), 0 0 50px rgba(97, 255, 112, 0.4);
    border-color: rgba(97, 255, 112, 0.8);
    background: rgba(105, 98, 254, 0.85);
}

.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(97, 255, 112, 0.6));
}

.feature-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(97, 255, 112, 0.8);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ========== EPISODE CARDS ========== */
.episode-card {
    background: rgba(105, 98, 254, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(97, 255, 112, 0.5);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(97, 255, 112, 0.3);
    transition: all 0.4s;
}

.episode-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 50px rgba(97, 255, 112, 0.5), 0 0 60px rgba(97, 255, 112, 0.3);
    border-color: rgba(97, 255, 112, 0.8);
}

.episode-thumbnail {
    background: #61FF70;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    filter: drop-shadow(0 4px 15px rgba(97, 255, 112, 0.3));
}

.episode-views {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #6962FE;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.episode-content {
    padding: 25px;
    background: rgba(105, 98, 254, 0.55);
}

.episode-date {
    color: #61FF70;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(97, 255, 112, 0.6);
}

.episode-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background: rgba(105, 98, 254, 0.7);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(97, 255, 112, 0.6);
    box-shadow: 0 4px 20px rgba(97, 255, 112, 0.3);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(97, 255, 112, 0.5);
    background: rgba(105, 98, 254, 0.85);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(97, 255, 112, 0.8);
}

.stat-label {
    font-size: 0.9rem;
    color: #000;
    font-weight: 600;
}

/* ========== FOOTER ========== */
footer {
    background: #61FF70;
    backdrop-filter: blur(20px);
    border-top: 3px solid rgba(0, 0, 0, 0.2);
    padding: 60px 0 30px;
    margin-top: 80px;
    color: #000;
    box-shadow: inset 0 2px 20px rgba(97, 255, 112, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo-img {
    max-width: 120px;
    height: auto;
}

.footer-address address {
    font-style: normal;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s;
}

.footer-links li:hover {
    opacity: 1;
}

.footer-links a {
    color: #000;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #6962FE;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    background: #000;
    color: #61FF70;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(97, 255, 112, 0.4);
    border: 2px solid rgba(97, 255, 112, 0.6);
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #6962FE;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(0,0,0,0.2);
    opacity: 0.8;
}

.footer-credits {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.6;
}

.footer-credits a {
    color: inherit;
    text-decoration: none;
}

.copyright-symbol {
    font-family: 'Arvo', serif;
    font-weight: 700;
    font-size: 1.5em;
    vertical-align: middle;
    line-height: 1;
}

.footer-legal-menu {
    margin-bottom: 20px;
}

.footer-legal-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-legal-links li {
    margin: 0;
}

.footer-legal-links a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    text-decoration: underline;
    color: #6962FE;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(105, 98, 254, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 15px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 3px solid rgba(97, 255, 112, 0.6);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 15px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* ========== PAGE TITLE OVERLAY ========== */
.page-title-overlay {
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    z-index: 100;
    text-shadow: 0 0 30px rgba(97, 255, 112, 0.8),
                 0 4px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* Glitch effect für page-title-overlay */
.glitch-slow.page-title-overlay {
    display: block;
}

.glitch-slow.page-title-overlay::before,
.glitch-slow.page-title-overlay::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-slow.page-title-overlay::before {
    color: #61FF70;
    animation: distortion-slow-1 64s infinite;
}

.glitch-slow.page-title-overlay::after {
    color: #9D00FF;
    animation: distortion-slow-2 64s infinite 0.05s;
}

/* ========== SEARCH OVERLAY ========== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-close {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(97, 255, 112, 0.2);
    border: 2px solid rgba(97, 255, 112, 0.5);
    border-radius: 50%;
    color: #61FF70;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay-close:hover {
    background: rgba(97, 255, 112, 0.4);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 30px rgba(97, 255, 112, 0.5);
}

#search-overlay-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

body.search-overlay-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .search-overlay-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ========== UTILITY CLASSES ========== */
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.text-white { color: white; }
.text-green { color: #61FF70; text-shadow: 0 0 10px rgba(97, 255, 112, 0.6); }
.text-purple { color: #61FF70; text-shadow: 0 0 15px rgba(97, 255, 112, 0.8); }
.text-gray { color: rgba(255, 255, 255, 0.9); }
.rainbow {
    background: linear-gradient(90deg, #FF0000 0%, #FF7F00 16%, #FFFF00 33%, #00FF00 50%, #0000FF 66%, #8B00FF 83%, #FF0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== WORDPRESS SPECIFIC ========== */
.wp-block-image {
    margin-bottom: 20px;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

.sticky {
    border-left: 4px solid #61FF70;
    padding-left: 20px;
}

.bypostauthor {
    font-weight: 700;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress Post Content */
.entry-content {
    margin-bottom: 40px;
}


.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    margin-bottom: 20px;
}

.entry-meta {
    color: #61FF70;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid rgba(97, 255, 112, 0.3);
}

.post-navigation {
    margin: 40px 0;
}

.nav-previous,
.nav-next {
    display: inline-block;
}

.nav-previous {
    float: left;
}

.nav-next {
    float: right;
}
