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

:root {
    --primary-color: #c52c2c;
    --secondary-color: #e67e22;
    --accent-color: #f1c40f;
    --dark-color: #2c3e50;
    --light-color: #f9fafb;
    --text-color: #34495e;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --card-bg: rgba(245, 220, 220, 0.95);
    --overlay-color: rgba(0, 0, 0, 0.4); /* Alterado para preto mais sutil */
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: 
        linear-gradient(var(--overlay-color), var(--overlay-color)),
        url('images/fundo.jpeg') center/cover no-repeat fixed;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Estilos para a logo */
.logo-header {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    border: 4px solid var(--light-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background-color: white; /* Fundo branco para destacar a logo */
    padding: 5px;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out;
}

.profile {
    margin-bottom: 25px;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px); /* Efeito de vidro fosco */
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-position: center 50%;
    object-fit: cover;
    border: 3px solid var(--light-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    background-color: white; /* Garantir que a imagem tenha fundo */
}

.avatar:hover {
    transform: scale(1.05);
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.bio {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0 20px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    border-left: 6px solid var(--primary-color);
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px); /* Efeito de vidro fosco */
}

.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; }

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
    border-left-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.98);
}

.link-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.link-card:hover .link-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.link-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.link-content p {
    color: #666;
    font-size: 0.95rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out;
}

.stat-item {
    text-align: center;
    background: var(--card-bg);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    min-width: 140px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px); /* Efeito de vidro fosco */
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-top: 8px;
    font-weight: 500;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px); /* Efeito de vidro fosco */
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.15) rotate(360deg);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    animation: fadeIn 1s ease-out;
    border-radius: 15px;
    backdrop-filter: blur(1.5px); /* Efeito de vidro fosco */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid white;
    background-color: white;
    padding: 5px;
}

.footer-text {
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateX(-30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efeito de brilho nos cards */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(197, 44, 44, 0.2); }
    50% { box-shadow: 0 0 15px rgba(197, 44, 44, 0.4); }
}

.glow-effect {
    animation: glow 3s infinite;
}

/* Responsividade */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .avatar {
        width: 130px;
        height: 130px;
    }
    
    .link-card {
        padding: 18px 20px;
    }
    
    .link-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 15px;
    }
    
    .stats {
        gap: 15px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .footer-logo {
        max-width: 80px;
    }
}

@media (max-width: 400px) {
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 90%;
    }
}