:root {
    --azul: #16336F;
    --azul-claro: #264597;
    --azul-escuro: #0D2050;
    --amarelo: #EAE000;
    --amarelo-claro: #F7EE3C;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    background: url('https://img.freepik.com/fotos-gratis/borrao-abstrato-no-supermercado_1339-4320.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 16px 48px;
}

/* Véu azul da marca sobre a foto de fundo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(38, 69, 151, .55), transparent 60%),
        linear-gradient(180deg, rgba(13, 32, 80, .82), rgba(13, 32, 80, .94));
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    text-align: center;
    background: rgba(22, 51, 111, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    padding: 36px 24px 30px;
    animation: subir .6s cubic-bezier(.22, 1, .36, 1) both;
}

/* ---------- Perfil ---------- */
.profile img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--amarelo);
    box-shadow: 0 0 0 8px rgba(234, 224, 0, .12), 0 12px 30px rgba(0, 0, 0, .4);
}

.profile h1 {
    margin: 18px 0 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.tag {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(234, 224, 0, .15);
    border: 1px solid rgba(234, 224, 0, .45);
    color: var(--amarelo);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.profile p {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .8);
    margin: 16px auto 0;
    max-width: 320px;
}

/* ---------- Links ---------- */
.links {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 14px;
    background: var(--amarelo);
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-align: left;
    border: 2px solid transparent;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    animation: subir .5s cubic-bezier(.22, 1, .36, 1) both;
}

.link .ico {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.link .txt { flex: 1; }

.link .seta {
    flex-shrink: 0;
    opacity: .55;
    transition: transform .2s ease;
}

.link:hover,
.link:focus-visible {
    background: var(--azul-claro);
    color: #fff;
    border-color: var(--amarelo);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.link:hover .seta,
.link:focus-visible .seta { transform: translateX(4px); opacity: 1; }

.link:active { transform: translateY(0); }

/* Escalona a entrada dos botões */
.link:nth-child(1) { animation-delay: .05s; }
.link:nth-child(2) { animation-delay: .10s; }
.link:nth-child(3) { animation-delay: .15s; }
.link:nth-child(4) { animation-delay: .20s; }
.link:nth-child(5) { animation-delay: .25s; }
.link:nth-child(n+6) { animation-delay: .30s; }

.vazio {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    padding: 20px 0;
}

.rodape {
    margin-top: 26px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

@keyframes subir {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
    .container { padding: 28px 18px 24px; border-radius: 20px; }
    .profile img { width: 110px; height: 110px; }
    .profile h1 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .container, .link { animation: none; }
    .link { transition: none; }
}
