:root {
    --bg-color: #0F172A;
    /* Azul Marinho Profundo/Chumbo */
    --card-bg: rgba(255, 255, 255, 0.03);
    /* Vidro Fosco */
    --primary: #00F2FE;
    /* Ciano Neon */
    --primary-gradient: linear-gradient(135deg, #00b09b, #96c93d);
    /* Gradiente Biohacking */
    --secondary-gradient: linear-gradient(135deg, #00F2FE, #4FACFE);
    /* Gradiente Azul Ciano */
    --text-main: #FFFFFF;
    /* Branco Puro */
    --text-secondary: #94A3B8;
    /* Cinza Claro */
    --gold: #FFD700;
    /* Dourado para detalhes */
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 176, 155, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-main);
    overflow-x: hidden;
    padding: 2rem 0;
}

/* Background Pattern/Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 0 1.5rem 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.profile-section {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.8rem;
    /* Increased margin for bottom badge */
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--primary-gradient);
    background-origin: border-box;
    background-clip: content-box, border-box;
    -webkit-background-clip: content-box, border-box;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
    object-position: 1px 0px;
}

/* Online Status - Pill Badge (Gold) */
.status-badge {
    position: absolute;
    bottom: 5px;
    right: -15px;
    top: auto;
    /* Override previous top positioning */
    background: linear-gradient(135deg, #e4d68b, #f7a502);
    color: #0F172A;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    border: 2px solid var(--bg-color);
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
    letter-spacing: 0.5px;
}

/* Elite Text - Below Online Badge */
.elite-badge {
    position: absolute;
    bottom: -13px;
    right: -2px;
    left: auto;
    transform: none;
    background: none;
    border: none;
    padding: 0;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 993;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: none;
    z-index: 6;
    letter-spacing: 1px;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto;
    font-weight: 300;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    /* Reduzido de 18px para 12px */
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

.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:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(255, 255, 255, 0.08);
    /* Mais brilho ao hover */
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px -10px rgba(0, 242, 254, 0.15);
}

.icon-box {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: 0.3s;
}

.link-card:hover .icon-box {
    color: #fff;
    transform: scale(1.1);
}

.link-content {
    flex-grow: 1;
}

.link-title {
    font-weight: 600;
    display: block;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.link-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 3px;
    font-weight: 300;
}

/* --- Botão Principal --- */
.featured {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 10px 30px -5px rgba(0, 176, 155, 0.4);
}

.featured .link-title {
    color: #0F172A;
    /* Contraste preto no gradiente */
    font-weight: 700;
}

.featured .link-subtitle {
    color: rgba(15, 23, 42, 0.8);
}

.featured .icon-box {
    color: #0F172A;
}

.featured:hover {
    box-shadow: 0 15px 40px -5px rgba(0, 176, 155, 0.6);
    background: linear-gradient(135deg, #00c7b0, #a9e045);
}

.featured:hover .icon-box {
    color: #0F172A;
}

.tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #000;
    /* Fundo preto ou escuro */
    color: var(--gold);
    /* Dourado */
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 12px;
    border-bottom-left-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* --- Botão WhatsApp (Outline) --- */
.whatsapp-btn {
    background: transparent !important;
    border: 1px solid rgba(37, 211, 102, 0.5);
}

.whatsapp-btn .icon-box {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1) !important;
    border-color: #25D366 !important;
}

/* --- Social Icons Minimalistas --- */
.socials {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 1.2s ease 0.6s backwards;
    padding: 0.5rem 0;
}

.social-link {
    color: var(--text-secondary);
    width: auto;
    height: auto;
    padding: 0.5rem;
    border-radius: 0;
    /* Remover círculos */
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
    background: transparent;
    border: none;
}

/* --- Footer --- */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    /* Chumbo Fosco */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0;
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
    z-index: 100;
}

footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 120px;
    /* Acima do footer fixo */
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    background: var(--primary-gradient);
    color: #0F172A;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    width: max-content;
}

.toast.active {
    transform: translateX(-50%) translateY(0);
}

/* Background Image Element (Optional, hidden or blended) */
body::after {
    content: "";
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/fundo.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    /* Muito sutil */
    z-index: -1;
    pointer-events: none;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 500px;
    }
}