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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background: black;
    color: #00ff88;
    font-family: 'Share Tech Mono', monospace;
}

/* MATRIX */
#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* SCANLINE EFFECT */
body::after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,255,120,0.05),
        rgba(0,255,120,0.05) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 1;
}

/* TERMINAL */
#terminal {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* CONTAINER */
.container {
    display: none;
    max-width: 420px;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

/* PROFILE IMAGE */
.profile-image {
    margin-bottom: 15px;
}

.profile-image img {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    border: 2px solid #00FFFF;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px #00FFFF; }
    to { box-shadow: 0 0 30px #00FFFF; }
}

/* GLITCH TITLE */
h1 {
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
    color: #00ff88;
    letter-spacing: 2px;
}

h1::before,
h1::after {
    content: "Gustavo Leal";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0.8;
}

h1::before {
    color: #ff00c8;
    animation: glitch 2s infinite;
}

h1::after {
    color: #00e1ff;
    animation: glitch 2s infinite reverse;
}

@keyframes glitch {
    0% { transform: translate(0); }
    10% { transform: translate(-3px, 2px); }
    20% { transform: translate(3px, -2px); }
    30% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    50% { transform: translate(0); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, -2px); }
    80% { transform: translate(1px, -1px); }
    90% { transform: translate(-1px, 1px); }
    100% { transform: translate(0); }
}

/* TEXTOS */
.subtitle {
    font-family: 'Rajdhani', sans-serif;
    margin: 10px 0;
    color: #9effc9;
}

.follow-text {
    margin-bottom: 30px;
    letter-spacing: 3px;
    font-size: 0.7rem;
}

/* LINKS */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* CARDS */
.link-card {
    background: rgba(0, 20, 10, 0.7);
    border: 1px solid rgba(0,255,120,0.3);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.link-card:nth-child(1){animation-delay:.3s;}
.link-card:nth-child(2){animation-delay:.5s;}
.link-card:nth-child(3){animation-delay:.7s;}
.link-card:nth-child(4){animation-delay:.9s;}
.link-card:nth-child(5){animation-delay:1.1s;}

@keyframes fadeUp {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}

/* HOVER */
.link-card:hover {
    box-shadow: 0 0 25px #00ff88;
    transform: translateY(-4px) scale(1.02);
    border: 1px solid #00ff88;
}

/* LUZ PASSANDO */
.link-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    top: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0,255,120,0.25),
        transparent
    );
    transition: 0.5s;
}

.link-card:hover::before {
    left: 100%;
}

/* ICONS */
.icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    z-index: 2;
}

.instagram {
    background: linear-gradient(45deg,#ff00cc,#ff0066,#ff9900);
    box-shadow: 0 0 10px #ff00cc;
}

.github {
    background: linear-gradient(45deg,#6e5494,#000);
    box-shadow: 0 0 10px #6e5494;
}

.whatsapp {
    background: #25D366;
}

.discord {
    background: #5865F2;
}

.x-twitter {
    background: black;
}

/* TEXTOS DOS CARDS */
.text {
    flex: 1;
    text-align: left;
    z-index: 2;
}

.title {
    font-family: 'Rajdhani';
    font-size: 1rem;
}

.description {
    font-size: .75rem;
    color: #aaa;
}

/* FOOTER */
footer {
    margin-top: 25px;
    font-size: 0.7rem;
    color: #00ff88;
}