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

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background-color: #000000;
    /* Preto absoluto para contraste máximo */
    color: white;
}

canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
}

/* ───────────────────────────────────────────────────────── 
   HAUS HEADER SYSTEM
────────────────────────────────────────────────────────── */
.haus-header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    /* Espaço entre as pills reduzido para maior proximidade */
    z-index: 9999;
    /* Garantir que sobreponha a arte generativa */
    padding: 0 20px;
}

/* Pílula Base */
.pill {
    height: 38px;
    /* Retornado ao tamanho anterior */
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap; /* Impede quebra de linha interna */
}

.logo-pill {
    background: linear-gradient(90deg, #000000 0%, #032b1f 100%);
    gap: 10px;
    width: 260px; /* Reduzi levemente */
    justify-content: center;
    border: none;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    /* Preenchimento total da altura da pílula */
    width: auto;
    object-fit: contain;
}

/* 2. Menu Pill */
.menu-pill {
    background: #ffffff;
    gap: 40px; /* Reduzi de 60px para 40px */
    padding: 0 40px; /* Reduzi de 60px para 40px */
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}

.menu-item {
    font-size: 13px;
    color: #666666;
    /* Confortável para os olhos */
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap; /* Garante que o texto não quebre linha */
}

.menu-item:hover {
    color: #02df82;
    /* Verde Neon Haus no hover */
}

.menu-item.active {
    font-weight: 800;
    /* Em breve em negrito */
    color: #1a1a1a;
}

.menu-item.gap-right {
    margin-right: 16px;
    /* Ajuste visual com os adjacentes */
}

/* 3. Status Pill */
.status-pill {
    background: #ffffff;
    gap: 12px;
    padding: 0 40px;
    font-size: 12px;
}

.status-pill .day {
    font-weight: 800;
    font-size: 15px;
    color: #1a1a1a;
}

.status-pill .date {
    font-weight: 300;
    font-size: 12px;
    color: #888888;
    margin-top: 1px;
    /* Pequeno ajuste de alinhamento óptico */
}

/* Efeito Hover na Pílula de Status (A de Menu agora permanece estática) */
.status-pill:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 4. Login Button (Ghost Vazado) */
.login-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    gap: 8px;
    font-size: 13px;
    width: 90px; /* Reduzi levemente */
    /* Largura controlada */
    justify-content: center;
    backdrop-filter: blur(8px);
    outline: none;
    flex-shrink: 0;
}

.login-btn:hover {
    border-color: #02df82;
    background: rgba(2, 223, 130, 0.05);
    box-shadow: 0 0 12px rgba(2, 223, 130, 0.2);
    /* Brilho neon sutil */
    transform: scale(1.02);
}

.login-text {
    font-weight: 400;
}

.login-icon {
    width: 10px;
    height: 10px;
}

/* ───────── Responsividade ───────── */
/* ───────── Responsividade Tablet/Intermediária ───────── */
@media (max-width: 1100px) {
    .menu-pill {
        gap: 20px;
        padding: 0 30px;
    }
}

@media (max-width: 960px) {
    .haus-header {
        flex-wrap: wrap;
        top: 20px;
        gap: 10px;
    }

    .logo-pill {
        width: 200px;
        order: 1;
    }
    
    .status-pill {
        order: 2;
        padding: 0 20px;
    }

    .login-btn {
        order: 3;
    }

    .menu-pill {
        order: 4;
        width: 100%;
        justify-content: space-around;
        margin-top: 5px;
        gap: 15px;
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .pill {
        padding: 0 16px;
        font-size: 13px;
        height: 40px;
    }

    .menu-pill {
        gap: 12px;
        flex-wrap: wrap;
    }
}

/* ───────────────────────────────────────────────────────── 
   HAUS FOOTER SYSTEM
────────────────────────────────────────────────────────── */
.haus-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Sombra de baixo para cima */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    z-index: 9999;
    height: 120px;
    /* Cobre o final da tela suavemente */
    pointer-events: none;
    /* Não bloqueia interações abaixo da sombra */
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    /* Um pouco mais visível: 30% */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    pointer-events: auto;
}

.footer-link {
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-link:hover {
    color: #02df82;
    /* Verde Haus no hover */
    opacity: 1;
    /* Ganha destaque ao interagir */
}

/* ───────────────────────────────────────────────────────── 
   RESPONSIVIDADE HAUS MOBILE (< 768px)
────────────────────────────────────────────────────────── */
.haus-mobile-menu {
    display: none;
}

@media (max-width: 768px) {

    /* Header (Mobile) */
    .haus-header {
        justify-content: space-between;
        padding: 0 20px;
        width: 100%;
        gap: 0;
    }

    .logo-pill {
        width: auto;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .menu-pill,
    .status-pill {
        display: none;
    }

    .login-btn {
        display: none;
    }

    .login-btn.visible-mobile {
        display: flex;
        width: auto;
        padding: 0 15px;
    }

    /* O Botão de Plus Disruptivo Removido */
    .haus-mobile-menu {
        display: none;
    }

    /* Footer (Mobile) */
    .haus-footer {
        padding: 20px;
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 80px;
    }

    .footer-text {
        font-size: 8px;
        font-weight: 300;
        line-height: 1.5;
        max-width: 90%;
        letter-spacing: 0.4px;
        color: rgba(255, 255, 255, 0.25);
    }
}