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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #e6e6e6;
}

.vcard {
    background: #0f3460;
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    animation: fadeIn 0.8s ease;
    border: 1px solid #1a5a9a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid #e94560;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.title {
    color: #e94560;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: rgba(233, 69, 96, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    display: inline-block;
}

.description {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid #e94560;
}

.portfolio-btn {
    display: inline-block;
    background: linear-gradient(135deg, #992f41, #6e1a2a);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 300;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
    border: none;
    font-size: 1rem;
    width: 100%;
    max-width: 260px;
}

.portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(233, 69, 96, 0.4);
    background: linear-gradient(135deg, #ff5570, #e94560);
}

.contact-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: #e6e6e6;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 60px;
    justify-content: center;
}

.icon:hover {
    background: rgba(233, 69, 96, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #e94560;
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.2);
}

.icon span {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #b8b8b8;
}

.icon:hover span {
    color: #ffffff;
}

.location {
    color: #8a8a8a;
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

@media (max-width: 480px) {
    body {
        padding: 15px;
        background: #0f3460;
    }

    .vcard {
        padding: 2rem 1.2rem;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 1.2rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .title {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .description {
        font-size: 0.9rem;
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .portfolio-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-icons {
        gap: 0.6rem;
    }

    .icon {
        padding: 1rem 0.5rem;
        min-height: 70px;
    }

    .icon span {
        font-size: 0.75rem;
    }

    .location {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}

/* Efeitos de toque para mobile */
@media (hover: none) {
    .portfolio-btn:active {
        transform: translateY(-1px);
    }

    .icon:active {
        transform: translateY(-1px);
        background: rgba(233, 69, 96, 0.2);
    }
}

/* Loading suave para a imagem */
.avatar img {
    opacity: 0;
    animation: imageFadeIn 0.5s ease 0.3s forwards;
}

@keyframes imageFadeIn {
    to {
        opacity: 1;
    }
}