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

body {
    background: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 2rem;
}

.glitch-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.glitch {
    position: relative;
}

.glitch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    filter: brightness(1.2) contrast(1.2);
}

.glitch::before,
.glitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('warhol.jpg') no-repeat center center/cover;
}

.glitch::before {
    left: 2px;
    background-color: #ff0000;
    mix-blend-mode: multiply;
    transform: translate3d(-10px, 0, 0);
    animation: glitch-anim 2s infinite linear alternate;
}

.glitch::after {
    left: -2px;
    background-color: #00ffff;
    mix-blend-mode: multiply;
    transform: translate3d(10px, 0, 0);
    animation: glitch-anim 4s infinite linear alternate;
}

.content {
    margin-top: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

p {
    font-size: 1.5rem;
    color: #ff00ff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

@keyframes glitch-anim {
    0% {
        clip-path: inset(80% 0 0 0);
    }
    100% {
        clip-path: inset(0 0 80% 0);
    }
}

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