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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #080808;
    color: #f1f1f1;
    font-family: "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    cursor: crosshair;
}

/* Düsterer animierter Hintergrund mit stärkerer roter Drift */
body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(
            circle at 25% 30%,
            rgba(255, 255, 255, 0.03),
            transparent 40%
        ),
        radial-gradient(
            circle at 75% 70%,
            rgba(139, 0, 0, 0.15),
            transparent 50%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(80, 0, 0, 0.08),
            transparent 60%
        );
    animation:
        moveBackground 35s ease-in-out infinite alternate,
        bloodPulse 4s ease-in-out infinite;
    z-index: 0;
    filter: blur(80px) contrast(1.3);
}

@keyframes moveBackground {
    0% {
        transform: translate(0%, 0%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-15%, -10%) scale(1.15) rotate(2deg);
    }
    100% {
        transform: translate(15%, 10%) scale(1.1) rotate(-2deg);
    }
}

@keyframes bloodPulse {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.85;
    }
}

/* Film grain / noise overlay */
body::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 0, 0, 0.15) 3px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.15) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 0, 0, 0.15) 3px
        );
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    animation: filmGrain 0.3s steps(3) infinite;
}

@keyframes filmGrain {
    0%,
    100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-1px, 1px);
    }
    66% {
        transform: translate(1px, -1px);
    }
}

/* Blood spatter overlay */
.blood-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(139, 0, 0, 0.35) 0%,
            rgba(100, 0, 0, 0.15) 5%,
            transparent 12%
        ),
        radial-gradient(
            ellipse at 85% 75%,
            rgba(120, 0, 0, 0.3) 0%,
            rgba(80, 0, 0, 0.12) 6%,
            transparent 15%
        ),
        radial-gradient(
            ellipse at 50% 10%,
            rgba(100, 0, 0, 0.25) 0%,
            rgba(60, 0, 0, 0.1) 4%,
            transparent 10%
        ),
        radial-gradient(
            ellipse at 70% 40%,
            rgba(80, 0, 0, 0.2) 0%,
            transparent 8%
        ),
        radial-gradient(
            ellipse at 30% 85%,
            rgba(70, 0, 0, 0.18) 0%,
            transparent 9%
        );
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    animation: bloodFade 12s ease-in-out infinite;
}

@keyframes bloodFade {
    0%,
    100% {
        opacity: 0.25;
    }
    50% {
        opacity: 0.5;
    }
}

/* Vignette mit Flackern */
.vignette {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow:
        inset 0 0 250px rgba(0, 0, 0, 0.95),
        inset 0 0 150px rgba(80, 0, 0, 0.5);
    pointer-events: none;
    z-index: 3;
    animation: vignetteFlicker 7s ease-in-out infinite;
}

@keyframes vignetteFlicker {
    0%,
    100% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    55% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    93% {
        opacity: 0.85;
    }
    96% {
        opacity: 1;
    }
}

/* Scanlines */
.scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.35) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.35) 3px
    );
    pointer-events: none;
    z-index: 4;
    opacity: 0.6;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

.container {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 60px;
    text-align: center;
    filter: contrast(1.15) brightness(0.95);
}

/* Breathing Effect - Container atmet */
.container.breathing {
    animation: breathe 6s ease-in-out infinite;
}

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

/* Glitch Text Effect für H1 */
h1 {
    font-size: 3rem;
    letter-spacing: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    animation: pulse 4s ease-in-out infinite;
    position: relative;
    font-family: "Creepster", cursive;
    font-weight: 400;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(139, 0, 0, 0.6),
        0 0 30px rgba(80, 0, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

h1.glitch-text {
    position: relative;
}

h1.glitch-text::before,
h1.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

h1.glitch-text::before {
    animation: glitchTop 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    text-shadow: -3px 0 rgba(255, 0, 0, 0.8);
}

h1.glitch-text::after {
    animation: glitchBottom 2.5s infinite reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    text-shadow: 3px 0 rgba(0, 255, 255, 0.7);
}

@keyframes glitchTop {
    0%,
    92%,
    100% {
        transform: translate(0);
        opacity: 0;
    }
    93% {
        transform: translate(-4px, -2px);
        opacity: 0.8;
    }
    95% {
        transform: translate(3px, 1px);
        opacity: 0.8;
    }
    97% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes glitchBottom {
    0%,
    90%,
    100% {
        transform: translate(0);
        opacity: 0;
    }
    91% {
        transform: translate(5px, 3px);
        opacity: 0.7;
    }
    94% {
        transform: translate(-3px, -2px);
        opacity: 0.7;
    }
    96% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.75;
        filter: blur(0px) hue-rotate(0deg);
    }
    50% {
        opacity: 1;
        filter: blur(0.3px) hue-rotate(-5deg);
    }
}

/* Jitter Animation für H2 */
h2 {
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 8px;
    color: #666;
    margin-bottom: 50px;
    position: relative;
    font-family: "Creepster", cursive;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

h2.jitter {
    animation: jitter 0.3s infinite;
}

@keyframes jitter {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-0.5px, 0.5px);
    }
    50% {
        transform: translate(0.5px, -0.3px);
    }
    75% {
        transform: translate(-0.3px, -0.5px);
    }
}

h2:hover {
    animation:
        violentShake 0.15s infinite,
        colorShift 2s ease-in-out infinite;
    color: #8b0000;
}

@keyframes violentShake {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(-2px, 1px) rotate(-1deg);
    }
    40% {
        transform: translate(2px, -2px) rotate(1deg);
    }
    60% {
        transform: translate(-1px, 2px) rotate(-0.5deg);
    }
    80% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }
}

@keyframes colorShift {
    0%,
    100% {
        color: #8b0000;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.8);
    }
    50% {
        color: #ff0000;
        text-shadow: 0 0 20px rgba(255, 0, 0, 1);
    }
}

/* Autorbild Wrapper */
.author-image-wrapper {
    text-align: center;
    /* zentriert auf Desktop */
    margin: 20px 0;
}

/* Bild Styling  */
.author-image {
    width: 180px;
    /* Desktop-Größe */
    max-width: 80%;
    /* niemals breiter als Container */
    height: auto;
    border-radius: 12px;
    /* sanfte Ecken */
    border: 2px solid rgba(139, 0, 0, 0.8);
    /* Blut-Touch */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    /* düsterer Glow */
    filter: brightness(0.85) contrast(1.1);
    /* leicht gedämpft */
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

/* Optional: kleiner Hover Effekt auf Desktop */
.author-image:hover {
    transform: scale(1.05);
    filter: brightness(0.9) contrast(1.15);
}

.divider {
    width: 80px;
    height: 1px;
    background: #333;
    margin: 30px auto 50px auto;
    animation: dividerPulse 3s ease-in-out infinite;
    box-shadow: 0 0 5px rgba(139, 0, 0, 0.5);
}

@keyframes dividerPulse {
    0%,
    100% {
        background: #333;
        box-shadow: 0 0 5px rgba(139, 0, 0, 0.3);
    }
    50% {
        background: #8b0000;
        box-shadow: 0 0 15px rgba(139, 0, 0, 0.8);
    }
}

/* Beunruhigende Typografie für Claim */
.claim-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.claim {
    flex: 0 0 auto;
    font-family: "Special Elite", monospace;
    letter-spacing: 2px;
    font-size: 1.6rem;
    font-style: italic;
    word-break: normal;
    hyphens: auto;
    position: relative;
    display: inline-block;
    animation: glitch 8s infinite;
    transition: all 0.3s ease;
    font-weight: 700;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(139, 0, 0, 0.5);
}

/* Typing Effect - wird beim Laden getippt */
.claim.typing-effect {
    overflow: hidden;
    border-right: 3px solid rgba(139, 0, 0, 0.8);
    white-space: nowrap;
    display: inline-block;
    width: 0;
    max-width: max-content;
    animation:
        typingPixel 5s steps(60) 0.5s forwards,
        blink 0.75s step-end infinite,
        glitch 8s infinite 26s;
}

@keyframes typingPixel {
    from {
        width: 0;
    }
    to {
        width: 100vw;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Hidden Message - Reverse Text */
.hidden-message {
    margin-top: 20px;
    font-family: "Special Elite", monospace;
    font-size: 0.9rem;
    color: transparent;
    text-shadow: none;
    transition: all 0.5s ease;
    letter-spacing: 1px;
    cursor: help;
}

.hidden-message:hover {
    color: #8b0000;
    text-shadow:
        0 0 10px rgba(139, 0, 0, 0.8),
        0 0 20px rgba(139, 0, 0, 0.5);
    transform: scaleX(-1);
    filter: blur(0.5px);
}

/* Genre Tags */
.genre-tags {
    margin-bottom: 40px;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #333;
    margin: 0 5px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.tag:hover {
    border-color: #8b0000;
    color: #8b0000;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    transform: translateY(-2px);
}

.tag-separator {
    color: #444;
    margin: 0 5px;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 60px;
    padding: 40px 30px;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.newsletter-section:hover {
    border-color: #555;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.2);
}

.newsletter-intro {
    font-family: "Special Elite", monospace;
    font-size: 1rem;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 0 0 auto;
    min-width: 350px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #444;
    color: #f1f1f1;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-input:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.8);
}

.newsletter-button {
    padding: 12px 30px;
    background: rgba(139, 0, 0, 0.3);
    border: 1px solid #8b0000;
    color: #f1f1f1;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: crosshair;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: rgba(139, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.7);
    transform: translateY(-2px);
    animation: intenseTremor 0.2s infinite;
}

.newsletter-note {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #777;
    font-family: "Courier New", monospace;
    letter-spacing: 0.5px;
}

.claim.distorted {
    filter: contrast(1.2);
}

.claim:hover {
    animation:
        distortText 0.5s infinite,
        glitch 8s infinite;
    filter: blur(0.5px) contrast(1.5) hue-rotate(-10deg);
    color: #ff6b6b;
    cursor: help;
}

@keyframes distortText {
    0%,
    100% {
        transform: scaleX(1) scaleY(1) skew(0deg);
    }
    25% {
        transform: scaleX(1.02) scaleY(0.98) skew(0.5deg);
    }
    50% {
        transform: scaleX(0.98) scaleY(1.02) skew(-0.5deg);
    }
    75% {
        transform: scaleX(1.01) scaleY(0.99) skew(0.3deg);
    }
}

@keyframes glitch {
    0%,
    94%,
    100% {
        text-shadow: 0 0 0 rgba(160, 0, 0, 0);
        transform: translate(0);
    }
    95% {
        text-shadow:
            -3px 0 rgba(160, 0, 0, 0.8),
            3px 0 rgba(0, 160, 160, 0.6);
        transform: translate(-2px, 1px);
    }
    96% {
        text-shadow:
            3px 0 rgba(160, 0, 0, 0.8),
            -3px 0 rgba(0, 160, 160, 0.6);
        transform: translate(2px, -1px);
    }
    97% {
        text-shadow:
            -2px 0 rgba(160, 0, 0, 0.6),
            2px 0 rgba(0, 160, 160, 0.4);
        transform: translate(0);
    }
}

p {
    margin-top: 40px;
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: "Courier New", monospace;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.info-text {
    animation: subtleFlicker 5s ease-in-out infinite;
}

@keyframes subtleFlicker {
    0%,
    100% {
        opacity: 1;
    }
    48% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    52% {
        opacity: 1;
    }
}

.info-text:hover {
    color: #bbb;
    filter: blur(0.3px);
    animation: textWaver 1s ease-in-out infinite;
}

@keyframes textWaver {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1px);
    }
}

/* Tremor Effect für Footer */
.footer {
    margin-top: 70px;
    font-size: 0.75rem;
    color: #777;
    letter-spacing: 2px;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.footer.tremor {
    animation: tremor 0.5s infinite;
}

@keyframes tremor {
    0%,
    100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-0.3px, 0.3px);
    }
    20% {
        transform: translate(0.3px, -0.3px);
    }
    30% {
        transform: translate(-0.3px, 0.2px);
    }
    40% {
        transform: translate(0.2px, -0.2px);
    }
    50% {
        transform: translate(-0.2px, 0.3px);
    }
    60% {
        transform: translate(0.3px, -0.2px);
    }
    70% {
        transform: translate(-0.2px, 0.2px);
    }
    80% {
        transform: translate(0.2px, -0.3px);
    }
    90% {
        transform: translate(-0.3px, 0.3px);
    }
}

.footer:hover {
    animation:
        intenseTremor 0.1s infinite,
        fadeToRed 1s ease-in-out forwards;
}

@keyframes intenseTremor {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-1px, 1px) rotate(-0.5deg);
    }
    50% {
        transform: translate(1px, -1px) rotate(0.5deg);
    }
    75% {
        transform: translate(-1px, -1px) rotate(-0.3deg);
    }
}

@keyframes fadeToRed {
    0% {
        color: #444;
    }
    100% {
        color: #8b0000;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.8);
    }
}

/* Container Hover Effect */
.container:hover {
    filter: contrast(1.25) brightness(0.9) saturate(0.8);
}

@media (max-width: 600px) {
    body {
        display: block;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        align-items: flex-start;
        padding-top: 60px;
        padding-bottom: 60px;

        /* Scrollbar verstecken */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/EDGE */
    }

    body::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .container {
        padding: 60px 20px;
        text-align: center;
    }

    h1,
    h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin: 0 0 20px 0;
        line-height: 1.2;
    }

    .author-image {
        width: 140px;
        /* etwas kleiner auf Handy */
        border-radius: 10px;
    }

    .claim {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .claim.typing-effect {
        width: 0;
    }

    .genre-tags {
        font-size: 0.75rem;
    }

    .tag {
        padding: 4px 8px;
        margin: 3px;
    }

    .newsletter-section {
        padding: 30px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
        min-width: auto;
    }

    .newsletter-button {
        width: 100%;
    }

    .claim {
        font-size: 1.15rem;
        letter-spacing: 1px;
        line-height: 1.4;
        padding: 0 10px;
    }

    .claim.typing-effect {
        animation: none;
        border-right: none;
        white-space: normal;
        overflow: visible;
        width: auto;
        max-width: 100%;
        opacity: 0;
        transform: translateY(5px);
        animation: mobileFadeIn 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s
            forwards;
    }

    @keyframes mobileFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
            filter: blur(4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }
}
