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

body {
    font-family: 'Press Start 2P', cursive;
    background: url('../assets/fundo.png') no-repeat center/cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0,0,0,0.98),
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.95)
    );
    background-size: 300% 300%;
    animation: ondas 8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes ondas {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    text-align: center;
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.profile {
    margin-bottom: 40px;
}

.avatar {
    width: 200px;
    height: 200px;
    margin-bottom: 35px;
    object-fit: cover;
}

h5 {
    font-size: 14px;
    color: #c21717;
    margin-bottom: 14px;
}

.bio {
    font-size: 10px;
    color: #aaa;
    margin-bottom: 20px;
}

.links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap; 
}

.link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #222;
    color: #ffffff;
    width: 200px;
    height: 40px;
    padding: 10px;
    text-decoration: none;
    font-size: 12.5px;
    border-radius: 90px;
    border: 2px solid #fff;
    box-shadow: 6px 6px 0 #000;
    transition: all 0.1s ease;
}

.link:hover {
    background: #fff;
    color: #000;
    transform: scale(1.08);
}

.link:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
}

.link i {
    font-size: 28px;
}

.pixel-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.pixel-rain span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background-color: #ff0044;
  box-shadow: 2px 2px 0px #000;
  top: -20px;
  animation: fall 5s linear infinite;
}

@keyframes fall {
  0% { top: -20px; transform: translateX(0) rotate(0deg); opacity: 1; }
  100% { top: 100vh; transform: translateX(20px) rotate(360deg); opacity: 0.2; }
}

footer {
    margin: 50px;
    font-size: 10px;
    text-align: center;
    color: #aaa;
}

/* RESPONSIVO PARA MOBILE */
@media (max-width: 768px) {

    .container {
        width: 100%;
        padding: 10px;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    h2 {
        font-size: 16px;
    }

    h5 {
        font-size: 13px;
    }

    .bio {
        font-size: 8px;
    }

    .links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .link {
        width: 90%;
        max-width: 300px;
        height: 45px;
        font-size: 10px;
    }

    .link i {
        font-size: 20px;
    }

    footer {
        margin-top: 25px;
        font-size: 8px;
        padding: 0 10px;
    }
}