/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Desktop - Telas maiores */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 700px;
        padding: 50px;
    }
}

/* Seção do perfil */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    background: #fff;
    padding: 10px;
}

.profile-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-bio {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    max-width: 300px;
    margin: 0 auto;
}

/* Seção de links */
.links-section {
    margin-bottom: 30px;
}

.link-card {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.link-item {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}

.link-item:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.link-icon {
    font-size: 2rem;
    margin-right: 20px;
    width: 50px;
    text-align: center;
}

.link-content {
    flex: 1;
    text-align: left;
}

.link-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.link-item:hover .link-content h3 {
    color: white;
}

.link-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.link-item:hover .link-content p {
    color: rgba(255, 255, 255, 0.9);
}

.link-arrow {
    font-size: 1.5rem;
    color: #999;
    transition: all 0.3s ease;
}

.link-item:hover .link-arrow {
    color: white;
    transform: translateX(5px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsividade - Mobile First */

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .profile-section {
        padding: 30px 20px;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-bio {
        font-size: 1rem;
    }
    
    .link-item {
        padding: 15px;
    }
    
    .link-icon {
        font-size: 1.5rem;
        margin-right: 15px;
        width: 40px;
    }
    
    .link-content h3 {
        font-size: 1.1rem;
    }
    
    .link-content p {
        font-size: 0.85rem;
    }
}

/* Mobile médio (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 25px;
    }
    
    .profile-section {
        padding: 35px 25px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .link-item {
        padding: 18px;
    }
    
    .link-icon {
        font-size: 1.8rem;
        margin-right: 18px;
        width: 45px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .profile-section {
        padding: 50px 40px;
    }
    
    .profile-name {
        font-size: 2.4rem;
    }
    
    .profile-bio {
        font-size: 1.2rem;
        max-width: 400px;
    }
    
    .link-item {
        padding: 25px;
    }
    
    .link-icon {
        font-size: 2.2rem;
        margin-right: 25px;
        width: 55px;
    }
    
    .link-content h3 {
        font-size: 1.3rem;
    }
    
    .link-content p {
        font-size: 1rem;
    }
}

/* Desktop grande (1024px+) */
@media (min-width: 1024px) {
    .profile-section {
        padding: 60px 50px;
    }
    
    .profile-name {
        font-size: 2.6rem;
    }
    
    .profile-bio {
        font-size: 1.3rem;
        max-width: 500px;
    }
    
    .link-item {
        padding: 30px;
    }
    
    .link-icon {
        font-size: 2.5rem;
        margin-right: 30px;
        width: 60px;
    }
    
    .link-content h3 {
        font-size: 1.4rem;
    }
    
    .link-content p {
        font-size: 1.1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section,
.link-card {
    animation: fadeInUp 0.6s ease-out;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
