:root {
    color-scheme: dark;
    --bg: radial-gradient(circle at top left, rgba(63, 58, 170, 0.35), transparent 45%),
            radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 40%),
            linear-gradient(180deg, #0b0418 0%, #050108 70%, #000000 100%);
    --card: rgba(12, 11, 24, 0.75);
    --stroke: rgba(255, 255, 255, 0.16);
    --muted: rgba(255, 255, 255, 0.68);
    --pill: rgba(255, 255, 255, 0.12);
    --highlight: linear-gradient(135deg, #3F3AAA, #8A87FF);
}

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

body {
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg) fixed;
    color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 32px 16px 48px;
}



main {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.profile-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

/* Deixa os parágrafos de apresentação menos brilhantes */
.profile-info p {
    color: rgba(255, 255, 255, 0.75);
}

/* Capa (cover) acima do avatar */
.profile-cover {
    width: 100%;
    height: 180px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(63, 58, 170, 0.35), rgba(138, 135, 255, 0.55));
    border: 1px solid var(--stroke);
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}


/* Overlay sutil por cima do GIF/vídeo para dar elegância */
.profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0, rgba(63, 58, 170, 0.14), transparent 60%),
        linear-gradient(180deg, rgba(5, 1, 8, 0.12), rgba(5, 1, 8, 0.30));
    z-index: 1;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    /* Sobrepõe parcialmente a capa para um visual de rede social */
    margin-top: -56px;
    z-index: 1;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: none;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

/* Link discreto para WhatsApp (empresa) */
.partner-cta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.partner-cta:hover {
    opacity: 1;
    transform: scale(1.05);
    text-decoration: none;
}

.partner-cta .icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    transform-origin: center;
    animation: butterflyPulse 2s ease-in-out infinite;
    text-shadow: 0 0 0 rgba(63, 58, 170, 0);
}

/* Cor principal (gradiente) no texto "Clique Aqui" */
.partner-cta b {
    background: var(--highlight);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* No hover, aplica o gradiente principal em todo o texto (exceto o ícone) */
.partner-cta:hover span:not(.icon),
.partner-cta:hover b {
    background: var(--highlight);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@keyframes butterflyPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(63, 58, 170, 0);
    }
    50% {
        transform: scale(1.15);
        text-shadow: 0 0 10px rgba(63, 58, 170, 0.6);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-cta .icon { animation: none; }
}

.links-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(63, 58, 170, 0.22), rgba(138, 135, 255, 0.16));
    border: 1px solid rgba(138, 135, 255, 0.45);
    color: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(63, 58, 170, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.link-card:not(.primary)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--highlight);
    opacity: 0.9;
}

.link-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(63, 58, 170, 0.32), rgba(138, 135, 255, 0.22));
    border: 1px solid rgba(138, 135, 255, 0.75);
    box-shadow: 0 16px 34px rgba(63, 58, 170, 0.35);
}

.link-card strong {
    font-size: 1.02rem;
    display: block;
}


.link-card span {
    font-size: 0.86rem;
    color: var(--muted);
}

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--highlight);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 8px 16px rgba(63, 58, 170, 0.35);
}

.link-icon i {
    color: #ffffff;
    font-size: 1.35rem;
}



footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}



@media (max-width: 420px) {
    body {
        padding: 24px 12px 32px;
    }
}

/* Mobile: capa full-bleed (topo e laterais) */
@media (max-width: 480px) {
    body {
        /* Remove espaçamento superior para a capa encostar no topo */
        padding-top: 0;
        /* Evita rolagem horizontal por causa da capa full-bleed */
        overflow-x: hidden;
    }

    .profile-cover {
        /* Faz a capa preencher as laterais (full-bleed) */
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        border-left: none;
        border-right: none;
        /* Centraliza a capa considerando o container centralizado */
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        /* Ajusta a altura para uma presença maior no topo */
        height: 32vh;
        min-height: 200px;
    }
}
