:root {
    --cyber-yellow: #FFD700;
    --cyber-red: #FF0033;
    --cyber-orange: #FF6B00;
}

.member-frame {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    clip-path: polygon(
        20px 0, 
        calc(100% - 20px) 0, 
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%,
        0 calc(100% - 20px),
        0 20px
    );
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyber-yellow);
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--cyber-red),
        transparent
    );
    animation: scan 2s linear infinite;
    box-shadow: 0 0 10px var(--cyber-red);
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.social-link {
    position: relative;
    padding: 0.5rem;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 51, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

@keyframes socialPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.social-link:hover i {
    animation: socialPulse 0.3s ease-in-out;
}

/* Add these glitch effect styles to your existing CSS */
.glitch {
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                 0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
                     -0.04em -0.025em 0 #fffc00;
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(15px, 9999px, 37px, 0);
    }
    5% {
        clip: rect(99px, 9999px, 78px, 0);
    }
    10% {
        clip: rect(96px, 9999px, 11px, 0);
    }
    15% {
        clip: rect(79px, 9999px, 98px, 0);
    }
    20% {
        clip: rect(66px, 9999px, 86px, 0);
    }
    25% {
        clip: rect(11px, 9999px, 46px, 0);
    }
    30% {
        clip: rect(38px, 9999px, 27px, 0);
    }
    35% {
        clip: rect(82px, 9999px, 31px, 0);
    }
    40% {
        clip: rect(67px, 9999px, 93px, 0);
    }
    45% {
        clip: rect(25px, 9999px, 15px, 0);
    }
    50% {
        clip: rect(51px, 9999px, 62px, 0);
    }
    55% {
        clip: rect(5px, 9999px, 54px, 0);
    }
    60% {
        clip: rect(89px, 9999px, 71px, 0);
    }
    65% {
        clip: rect(93px, 9999px, 86px, 0);
    }
    70% {
        clip: rect(11px, 9999px, 77px, 0);
    }
    75% {
        clip: rect(99px, 9999px, 86px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(15px, 9999px, 37px, 0);
    }
    5% {
        clip: rect(99px, 9999px, 78px, 0);
    }
    10% {
        clip: rect(96px, 9999px, 11px, 0);
    }
    15% {
        clip: rect(79px, 9999px, 98px, 0);
    }
    20% {
        clip: rect(66px, 9999px, 86px, 0);
    }
    25% {
        clip: rect(11px, 9999px, 46px, 0);
    }
    30% {
        clip: rect(38px, 9999px, 27px, 0);
    }
    35% {
        clip: rect(82px, 9999px, 31px, 0);
    }
    40% {
        clip: rect(67px, 9999px, 93px, 0);
    }
    45% {
        clip: rect(25px, 9999px, 15px, 0);
    }
    50% {
        clip: rect(51px, 9999px, 62px, 0);
    }
    55% {
        clip: rect(5px, 9999px, 54px, 0);
    }
    60% {
        clip: rect(89px, 9999px, 71px, 0);
    }
    65% {
        clip: rect(93px, 9999px, 86px, 0);
    }
    70% {
        clip: rect(11px, 9999px, 77px, 0);
    }
    75% {
        clip: rect(99px, 9999px, 86px, 0);
    }
}