/* Variáveis de Cor e Design System */
:root {
    --bg-color: #F8F9FB;       /* Cinza muito claro, quase branco */
    --card-bg: #FFFFFF;        /* Branco puro */
    --primary-color: #0F2A4A;  /* Azul Marinho (Profissionalismo) */
    --accent-color: #D4AF37;   /* Dourado (Premium/Luxo) */
    --text-color: #333333;     /* Cinza escuro para leitura */
    --text-light: #666666;     /* Cinza médio */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container Principal (Mobile First) */
.container {
    width: 100%;
    max-width: 480px; /* Limita largura em telas grandes */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

/* Cabeçalho do Perfil */
.profile-header {
    text-align: center;
    
    /* CSS Nesting aqui! */
    & .avatar-container {
        width: 90px;
        height: 90px;
        margin: 0 auto 1rem;
        border-radius: 50%;
        padding: 3px;
        border: 2px solid var(--accent-color); /* Borda dourada */
        
        & .avatar-placeholder {
            width: 100%;
            height: 100%;
            background-color: var(--primary-color);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 700;
        }
    }

    & h1 {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    & p {
        font-size: 0.9rem;
        color: var(--text-light);
        max-width: 300px;
        margin: 0 auto;
        line-height: 1.4;
    }
}

/* Lista de Links */
.link-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cartão do Link */
.link-card {
    background-color: var(--card-bg);
    text-decoration: none;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;

    /* Nesting para elementos internos */
    & .icon {
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    & .text {
        flex-grow: 1;
        font-weight: 500;
        color: var(--primary-color);
    }

    & .arrow {
        color: var(--accent-color);
        opacity: 0.7;
        transition: transform 0.2s ease;
    }

    /* Nesting para estados (Hover/Active) */
    &:hover {
        transform: translateY(-2px);
        border-color: var(--accent-color);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15); /* Sombra dourada suave */

        & .arrow {
            transform: translateX(5px);
            opacity: 1;
        }
    }

    &:active {
        transform: scale(0.98);
    }
}

/* Rodapé */
footer {
    text-align: center;
    margin-top: auto;
    padding-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);

    & .socials {
        margin-top: 0.5rem;
        
        & a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            
            &:hover {
                text-decoration: underline;
            }
        }
    }
}

/* Classes para Animação JS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}