@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

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

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ffff00, #ff00ff, #00ffff);
    background-size: 400% 400%;
    animation: rainbow-bg 2s ease infinite;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><text y="16" font-size="16">🎵</text></svg>'), auto;
}

@keyframes rainbow-bg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.chaos-container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
}

.spinning-title {
    text-align: center;
    margin: 20px 0;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow:
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 30px #ff0000,
        0 0 40px #ff0000;
    animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.video-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    animation: shake 0.5s ease-in-out infinite alternate;
}

@keyframes shake {
    0% {
        transform: translateX(0px);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(3px);
    }
}

#henk-video {
    width: 80%;
    max-width: 800px;
    height: 450px;
    border: 5px solid #ff00ff;
    border-radius: 20px;
    box-shadow: 0 0 50px #ff00ff;
}

.floating-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.floating-text span {
    position: absolute;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
}

.float-1 {
    top: 10%;
    left: 10%;
    animation: float1 4s ease-in-out infinite;
}

.float-2 {
    top: 20%;
    right: 10%;
    animation: float2 3s ease-in-out infinite;
}

.float-3 {
    bottom: 30%;
    left: 20%;
    animation: float3 5s ease-in-out infinite;
}

.float-4 {
    bottom: 10%;
    right: 20%;
    animation: float4 3.5s ease-in-out infinite;
}

.float-5 {
    top: 50%;
    left: 5%;
    animation: float5 2s ease-in-out infinite;
}

.float-6 {
    top: 60%;
    right: 5%;
    animation: float6 2.5s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateX(0px) scale(1);
    }

    50% {
        transform: translateX(-50px) scale(1.5);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(360deg) scale(0.5);
    }
}

@keyframes float4 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-20px) translateX(20px);
    }

    75% {
        transform: translateY(20px) translateX(-20px);
    }
}

@keyframes float5 {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(2) rotate(180deg);
    }
}

@keyframes float6 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-40px);
    }
}

.cursed-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.image-spin,
.image-bounce,
.image-shake {
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" x="50" text-anchor="middle" font-size="60">😱</text></svg>');
    background-size: contain;
}

.image-spin {
    top: 20%;
    left: 80%;
    animation: spin 2s linear infinite;
}

.image-bounce {
    bottom: 20%;
    left: 10%;
    animation: bounce 1s ease-in-out infinite;
}

.image-shake {
    top: 70%;
    right: 15%;
    animation: shake 0.3s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-50px);
    }
}

.rainbow-text {
    text-align: center;
    margin: 40px 0;
}

.rainbow-text h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-bg 1s ease infinite;
}

.button-chaos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.chaos-btn {
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: #fff;
    cursor: pointer;
    animation: button-pulse 1s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.chaos-btn:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 30px #ff00ff;
}

@keyframes button-pulse {
    from {
        box-shadow: 0 0 10px #ff00ff;
    }

    to {
        box-shadow: 0 0 30px #00ffff;
    }
}

.scrolling-text {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    z-index: 20;
}

marquee {
    color: #ffff00;
    text-shadow: 2px 2px 4px #000;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    #henk-video {
        width: 95%;
        height: 250px;
    }

    .floating-text span {
        font-size: 2rem;
    }

    .rainbow-text h2 {
        font-size: 1.8rem;
    }

    .chaos-btn {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
}