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

/* Change text selection color */
::selection {
    background-color: #5795e7;
    color: #121218;
}

body {
    background: radial-gradient(circle at center, rgba(15, 18, 22, 1) 0%, rgba(5, 5, 9, 1) 70%);
    font-family: 'Share Tech Mono', monospace;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(25, 35, 60, 0.0002) 0%,
        rgba(20, 25, 50, 0.00015) 40%,
        rgba(15, 20, 40, 0.0001) 70%,
        rgba(5, 5, 9, 0) 100%
    );
}

.container {
    text-align: center;
    position: relative;
    width: 100%;
}

.glitch-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glitch {
    color: #4482d3;
    font-size: 6rem;
    font-weight: 400;
    position: relative;
    letter-spacing: 3px;
    font-style: italic;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    font-style: italic;
}

.glitch::before {
    left: -2px;
    text-shadow: 2px 0 #ff0000;
    animation: glitch-1 5s infinite ease-in-out alternate-reverse;
}

.glitch::after {
    left: 2px;
    text-shadow: -2px 0 #00ffff;
    animation: glitch-2 7s infinite ease-in-out alternate-reverse;
}

@keyframes glitch-1 {
    0%, 80%, 100% {
        clip-path: inset(100% 0 100% 0);
    }
    84% {
        clip-path: inset(20% 0 40% 0);
    }
    88% {
        clip-path: inset(60% 0 10% 0);
    }
    92% {
        clip-path: inset(40% 0 40% 0);
    }
    96% {
        clip-path: inset(80% 0 5% 0);
    }
}

@keyframes glitch-2 {
    0%, 75%, 100% {
        clip-path: inset(100% 0 100% 0);
    }
    79% {
        clip-path: inset(40% 0 30% 0);
    }
    83% {
        clip-path: inset(20% 0 60% 0);
    }
    87% {
        clip-path: inset(60% 0 20% 0);
    }
    91% {
        clip-path: inset(10% 0 65% 0);
    }
    95% {
        clip-path: inset(30% 0 25% 0);
    }
}

.subtitle {
    text-align: center;
    margin-top: 10px;
    color: rgba(70, 70, 70, 0.6);
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 300;
    font-style: italic;
}

.subtitle span {
    transition: color 0.3s ease;
}

.back-link {
    position: absolute;
    bottom: 30px;
    text-align: center;
    width: 100%;
}

.back-link a {
    color: #4482d3;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.back-link a:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 480px) {
    .glitch {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

 