* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body {
    background: radial-gradient(ellipse at center, #0f0f1a 0%, #050510 100%);
    color: #00ffff;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    background-color: rgba(0, 255, 255, 0.1);
    border-right: 2px solid #00ffff;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    position: fixed;
    height: 100%;
    z-index: 900;
    left: 0;
    top: 0;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar a {
    color: #00ffff;
    text-decoration: none;
    padding: 20px;
    display: block;
    border-bottom: 1px solid #00ffff33;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: #00ffff22;
}

#sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
}

#sidebar a ion-icon {
    font-size: 1.4rem;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(0, 255, 255, 0.1);
    border-bottom: 2px solid #00ffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1001;
}

.topbar h1 {
    font-size: 20px;
    color: #00ffff;
}

.hamburger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    height: 3px;
    background-color: #00ffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.content {
    margin-left: 250px;
    margin-top: 60px;
    padding: 20px;
    transition: margin-left 0.3s ease-in-out;
}

.sidebar.hidden~.content {
    margin-left: 0;
}

.hud-frame {
    border: 2px solid #00ffff;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 0 10px #00ffff44;
}

.perfil-foto {
    width: 100px;
    border-radius: 50%;
}

.titulo-curto {
    display: none;
    color: #0FF;
}

@media (max-width: 600px) {
    #titulo {
        display: none;
    }

    .titulo-curto {
        display: block;
        font-size: 20px;
        font-weight: 900;
    }
    
    .hud-frame {
        font-size: 9px;
    }
}

/* Barra de rolagem personalizada - Tema Cyberpunk */
.modal-editar::-webkit-scrollbar,
.modal-contatos::-webkit-scrollbar,
.modal-adicionar::-webkit-scrollbar {
    width: 8px;
}

.modal-editar::-webkit-scrollbar-track,
.modal-contatos::-webkit-scrollbar-track,
.modal-adicionar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-editar::-webkit-scrollbar-thumb,
.modal-contatos::-webkit-scrollbar-thumb,
.modal-adicionar::-webkit-scrollbar-thumb {
    background: #00D4FF;
    border-radius: 4px;
    border: 2px solid #000;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.modal-editar::-webkit-scrollbar-thumb:hover,
.modal-contatos::-webkit-scrollbar-thumb:hover,
.modal-adicionar::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

/* Para Firefox (opcional) */
.modal-editar,
.modal-contatos,
.modal-adicionar {
    scrollbar-width: thin;
    scrollbar-color: #00D4FF rgba(0, 0, 0, 0.2);
}