body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    font-family: 'Orbitron', sans-serif;
    color: #00ff00;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.card {
    background: rgba(0, 20, 0, 0.8);
    padding: 30px 40px;
    text-align: center;
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00, inset 0 0 10px #008000;
    max-width: 90%;
    width: 600px;
    animation: flicker 3s infinite alternate;
}

.glitch {
    font-size: 1.5em;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    position: relative;
    min-height: 1.5em;
}

.glitch:before, .glitch:after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    overflow: hidden;
}

.glitch:before {
    left: 2px;
    text-shadow: -1px 0 red;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch:after {
    left: -2px;
    text-shadow: -1px 0 blue;
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    color: #00ff00;
    font-size: 48px;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.social-icon:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00, inset 0 0 10px #008000;
    }
    20%, 24%, 55% {
        box-shadow: none;
    }
}

@keyframes glitch-anim-1 {
    0% { clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%); }
    10% { clip-path: polygon(0 45%, 100% 45%, 100% 48%, 0 48%); }
    20% { clip-path: polygon(0 90%, 100% 90%, 100% 93%, 0 93%); }
    30% { clip-path: polygon(0 25%, 100% 25%, 100% 28%, 0 28%); }
    40% { clip-path: polygon(0 65%, 100% 65%, 100% 68%, 0 68%); }
    50% { clip-path: polygon(0 80%, 100% 80%, 100% 83%, 0 83%); }
    60% { clip-path: polygon(0 10%, 100% 10%, 100% 13%, 0 13%); }
    70% { clip-path: polygon(0 55%, 100% 55%, 100% 58%, 0 58%); }
    80% { clip-path: polygon(0 33%, 100% 33%, 100% 36%, 0 36%); }
    90% { clip-path: polygon(0 75%, 100% 75%, 100% 78%, 0 78%); }
    100% { clip-path: polygon(0 40%, 100% 40%, 100% 43%, 0 43%); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: polygon(0 78%, 100% 78%, 100% 81%, 0 81%); }
    10% { clip-path: polygon(0 12%, 100% 12%, 100% 15%, 0 15%); }
    20% { clip-path: polygon(0 50%, 100% 50%, 100% 53%, 0 53%); }
    30% { clip-path: polygon(0 95%, 100% 95%, 100% 98%, 0 98%); }
    40% { clip-path: polygon(0 30%, 100% 30%, 100% 33%, 0 33%); }
    50% { clip-path: polygon(0 60%, 100% 60%, 100% 63%, 0 63%); }
    60% { clip-path: polygon(0 85%, 100% 85%, 100% 88%, 0 88%); }
    70% { clip-path: polygon(0 20%, 100% 20%, 100% 23%, 0 23%); }
    80% { clip-path: polygon(0 42%, 100% 42%, 100% 45%, 0 45%); }
    90% { clip-path: polygon(0 70%, 100% 70%, 100% 73%, 0 73%); }
    100% { clip-path: polygon(0 18%, 100% 18%, 100% 21%, 0 21%); }
}

@media (max-width: 768px) {
    .card {
        padding: 20px;
        width: 85%;
    }
    .glitch {
        font-size: 1.2em;
    }
    .social-icon {
        font-size: 40px;
    }
}