/* Glitch Animation */
@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, -1px);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 1px);
    }

    100% {
        clip-path: inset(30% 0 10% 0);
        transform: translate(1px, -1px);
    }
}

.glitch-text::before,
.glitch-text::after,
.glitch-active::before,
.glitch-active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch-text::before,
.glitch-active::before {
    left: 2px;
    text-shadow: -1px 0 var(--neon-cyan);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
    clip-path: inset(0 0 0 0);
    display: none;
}

.glitch-text::after,
.glitch-active::after {
    left: -2px;
    text-shadow: 1px 0 var(--neon-purple);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
    clip-path: inset(0 0 0 0);
    display: none;
}

.glitch-active::before,
.glitch-active::after {
    display: block;
}

/* Mobile Specific Fixes */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .countdown {
        font-size: 1.5rem !important;
    }

    .accordion-header {
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }
}