:root {
    --bg-base: #010409;
    --bg-teal-glow: #022c22;
    --text-pure: #ffffff;
    --text-ice: #f8fafc;
    --text-muted: #cbd5e1;
    --neon-blue: #0bd9c4;
    --neon-blue-dim: rgba(11, 217, 196, 0.15);
    --neon-purple: #10b981;
    --border-tech: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-ice);
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Gráficos de Contorno e Fundo atmosférico */
.background-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(var(--border-tech) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-tech) 1px, transparent 1px);
    background-size: 35px 35px;
    opacity: 0.3;
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60.vw;
    background: radial-gradient(circle, var(--bg-teal-glow) 0%, transparent 60%);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
}

/* Fundo Estrelado */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3; /* Colocado atrás de todo o grid e brilho ambiental */
    pointer-events: none;
    opacity: 0.8;
}

/* Estrutura Minimalista */
.container {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    padding: 3rem 2rem;
    background: rgba(1, 4, 9, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
}

/* Detalhes de cantos (Cyberpunk aesthetic) */
.corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--neon-blue);
    opacity: 0.6;
}
.corner.top-left { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner.top-right { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner.bottom-left { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner.bottom-right { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* Status do Sistema Topo */
.sys-status {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-base);
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    border: 1px solid var(--border-tech);
    white-space: nowrap;
}
.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Header de Perfil */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Componente de Avatar Tech */
.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-ring-outer {
    position: absolute;
    inset: -12px;
    border: 1px dashed var(--neon-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotateSlow 25s linear infinite;
}

.avatar-ring-inner {
    position: absolute;
    inset: -5px;
    border: 2px solid transparent;
    border-top-color: var(--neon-purple); /* Verde ESMERALDA */
    border-left-color: var(--neon-blue);
    border-radius: 50%;
    opacity: 0.7;
    animation: rotateFast 15s linear infinite reverse;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bg-base); /* Cria contraste negativo */
    box-shadow: 0 0 35px var(--neon-blue), 0 0 70px var(--neon-blue-dim); /* Sombra clara/Neon */
    position: relative;
    z-index: 2;
    background-color: var(--text-muted);
}

@keyframes rotateSlow { 100% { transform: rotate(360deg); } }
@keyframes rotateFast { 100% { transform: rotate(360deg); } }

/* Tipografia Hierárquica */
.profile-name {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-pure);
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.profile-title {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: var(--font-tech);
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* Seção de Botões */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-tech);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Elementos gráficos de texto em botões */
.btn-deco {
    font-family: var(--font-tech);
    font-size: 0.55rem;
    opacity: 0.5;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-text {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    flex-grow: 1;
    margin: 0 1rem;
    text-align: center;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: 0.3s;
}

/* Eventos de Hover em botões - Efeito linha luminosa */
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: 0.5s;
}
.btn:hover::after {
    left: 100%;
}
.btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.02);
}
.btn:hover .btn-deco, 
.btn:hover .btn-icon svg {
    opacity: 1;
    color: var(--text-pure);
}

/* Destaque / CTA Principal */
.btn-primary {
    background: var(--neon-blue-dim);
    border-color: var(--neon-blue);
    color: var(--text-pure);
    box-shadow: inset 0 0 15px rgba(14, 165, 233, 0.1);
}

.btn-primary .btn-text {
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    font-weight: 500;
}

.btn-primary .btn-deco,
.btn-primary .btn-icon svg {
    color: var(--neon-blue);
    opacity: 0.9;
}

.btn-primary:hover {
    background: rgba(14, 165, 233, 0.25);
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.3), inset 0 0 10px rgba(14, 165, 233, 0.2);
}
.btn-primary:hover .btn-text { text-shadow: none; }

/* Rodapé Social Contido */
.social-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, var(--border-tech), transparent);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    color: var(--neon-blue);
    background-color: transparent;
    border: 1px solid var(--neon-blue);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue-dim), inset 0 0 5px var(--neon-blue-dim);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.social-icon:hover {
    background-color: rgba(11, 217, 196, 0.05); /* Leve preenchimento translúcido no hover */
    box-shadow: 0 0 20px var(--neon-blue), inset 0 0 10px var(--neon-blue-dim);
    transform: translateY(-3px);
    color: #ffffff;
}

@media (max-width: 400px) {
    .btn {
        padding: 1rem 0.6rem;
    }
    .btn-text {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        margin: 0 0.5rem;
    }
    .btn-deco { display: none; }
}

/* WhatsApp Buttons specific styles */
.wpp-btn {
    padding: 0.8rem 1.2rem;
}

.btn-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue-dim);
}
