* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e0e0e0;
    --secondary-color: #f5f5f5;
    --accent-color: #ff6b6b;
    --hover-color: #d0d0d0;
    --bg-gradient-1: #0a0a0a;
    --bg-gradient-2: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b, #feca57);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Efeito de fundo animado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    z-index: -2;
}

/* Padrão de pontos no fundo */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(224, 224, 224, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 245, 245, 0.05) 0%, transparent 50%);
    z-index: -1;
    opacity: 0.6;
}

/* Partículas flutuantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(224, 224, 224, 0.2);
    border-radius: 50%;
    animation: floatHorizontal 15s linear infinite;
}

.particle:nth-child(1) { top: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { top: 20%; animation-delay: 3s; animation-duration: 25s; }
.particle:nth-child(3) { top: 30%; animation-delay: 6s; animation-duration: 18s; }
.particle:nth-child(4) { top: 40%; animation-delay: 9s; animation-duration: 22s; }
.particle:nth-child(5) { top: 50%; animation-delay: 12s; animation-duration: 28s; }
.particle:nth-child(6) { top: 60%; animation-delay: 15s; animation-duration: 24s; }
.particle:nth-child(7) { top: 70%; animation-delay: 18s; animation-duration: 30s; }
.particle:nth-child(8) { top: 80%; animation-delay: 21s; animation-duration: 26s; }
.particle:nth-child(9) { top: 90%; animation-delay: 24s; animation-duration: 32s; }

@keyframes floatHorizontal {
    0% {
        transform: translateX(-100px) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(calc(100vw - 100px)) scale(1);
    }
    100% {
        transform: translateX(100vw) scale(0);
        opacity: 0;
    }
}

.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

/* Efeito de brilho no container */
.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.container:hover::before {
    opacity: 1;
}

.profile {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInDown 0.8s ease-out 0.2s both;
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 1;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: var(--gradient-primary);
    padding: 4px;
    margin-bottom: 24px;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(224, 224, 224, 0.3);
    filter: brightness(0.9) contrast(1.1);
    position: relative;
}

.avatar:hover {
    transform: scale(1.05);
    filter: brightness(1) contrast(1);
    box-shadow: 0 12px 40px rgba(224, 224, 224, 0.4);
}

h1 {
    font-size: 32px;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.bio {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    padding: 0 20px;
}

.bio::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background: var(--card-bg);
    padding: 20px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.6s ease-out both;
}

.link-card:nth-child(1) { animation-delay: 0.4s; }
.link-card:nth-child(2) { animation-delay: 0.5s; }
.link-card:nth-child(3) { animation-delay: 0.6s; }
.link-card:nth-child(4) { animation-delay: 0.7s; }
.link-card:nth-child(5) { animation-delay: 0.8s; }

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    background: var(--card-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(224, 224, 224, 0.3);
    transform: translateY(-2px);
    position: relative;
}

.link-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px 2px 0 0;
}

.link-card i {
    font-size: 24px;
    transition: all 0.3s ease;
    min-width: 24px;
}

.link-card:hover i {
    transform: scale(1.1);
}

.link-card span {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Cores específicas para cada rede social */
.fa-instagram {
    color: #E1306C;
}

.fa-twitter {
    color: #1DA1F2;
}

.fa-youtube {
    color: #FF0000;
}

.fa-github {
    color: #f0f6fc;
}

.fa-whatsapp {
    color: #25D366;
}

.fa-globe {
    color: #4285f4;
}

.fa-linkedin {
    color: #0077B5;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .bio {
        font-size: 16px;
    }
    
    .link-card {
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .bio {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .link-card {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .link-card i {
        font-size: 20px;
        min-width: 20px;
    }
    
    .profile {
        padding: 24px 20px;
        margin-bottom: 32px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .bio {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .link-card {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .link-card i {
        font-size: 18px;
        min-width: 18px;
    }
}

/* Efeito de brilho no hover */
.link-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card:hover::after {
    opacity: 1;
}

/* Efeito de Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Melhorias para dispositivos touch */
@media (hover: none) {
    .link-card:active {
        transform: scale(0.98);
    }
    
    .avatar:active {
        transform: scale(0.95);
    }
}

/* Melhorias para telas grandes */
@media (min-width: 1200px) {
    .container {
        max-width: 800px;
    }
    
    .profile {
        padding: 30px;
    }
    
    .avatar {
        width: 180px;
        height: 180px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    .bio {
        font-size: 20px;
    }
    
    .link-card {
        padding: 24px;
        font-size: 20px;
    }
    
    .link-card i {
        font-size: 32px;
    }
}

/* Loading suave */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
} 