.glitch-card, .glitch-card-v2 {
    position: relative;
    z-index: 1;
    background: rgba(11, 10, 18, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 40px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 60px rgba(168, 85, 247, 0.05);
    text-align: center;
    animation: fadeIn 0.6s ease-out;
    overflow: hidden;
}

/* Сканирующая линия сверху */
.glitch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a855f7, #06b6d4, #f472b6, transparent);
    background-size: 200% 100%;
    animation: scanline 2s linear infinite;
}

/* Глитч-эффект (сетка) */
.glitch-card::after, .glitch-card-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
            0deg, transparent, transparent 2px,
            rgba(168, 85, 247, 0.03) 2px,
            rgba(168, 85, 247, 0.03) 4px
    );
    border-radius: 20px;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scanline {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
