html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: auto;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #330000;
  overflow-x: hidden;
}

.conteudo {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.botao-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 12px #f00, 0 0 24px rgba(255,0,0,0.3);
    transition: transform 0.3s ease;
}

.botao-menu img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.botao-menu:hover {
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: 998;
    display: none;
}

.barra-lateral {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background-color: rgba(60, 10, 10, 0.95);
    transform: skewY(-4deg);
    box-shadow: 2px 0 12px rgba(0,0,0,0.4);
    z-index: 999;
    transition: left 0.4s ease;
    padding-top: 3em;

    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #f00 #300;
}

.barra-lateral.ativa {
    left: 0;
}

.barra-lateral::-webkit-scrollbar {
    width: 6px;
}

.barra-lateral::-webkit-scrollbar-thumb {
    background-color: #f00;
    border-radius: 10px;
}

.barra-lateral::-webkit-scrollbar-track {
    background-color: #200;
}

.cabecalho-menu {
    text-align: center;
    transform: skewY(4deg);
}

.cabecalho-menu img {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 0.5em;
}

.cabecalho-menu h1 {
    color: #ff4d4d;
    font-size: 1.2em;
}

.lista-links {
    list-style: none;
    padding: 0;
    margin: 2em 0;
    transform: skewY(4deg);
}

.lista-links li {
    margin: 1em 0;
}

.lista-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.6em 1.2em;
    display: block;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.lista-links a:hover {
    background-color: #500;
    border-left: 4px solid #ff4d4d;
    color: #ff4d4d;
}

.submenu {
    display: none;
    list-style: none;
    padding-left: 1em;
}

.submenu li a {
    font-size: 0.9em;
}

.submenu.ativo {
    display: block;
}

.botao-login,
.botao-chat {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid #f00;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.botao-login:hover,
.botao-chat:hover {
    transform: scale(1.1);
}

.botao-login {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
}

.botao-chat {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
}

.botao-login img,
.botao-chat img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

footer {
  background-color: #330000;
  color: white;
  text-align: center;
  padding: 1em;
  flex-shrink: 0;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    html, body {
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .conteudo {
        width: 100%;
        padding: 15px 10px;
        box-sizing: border-box;
    }

    .barra-lateral {
        width: 95%;
        left: -100%;
        font-size: 1.2em;
    }

    .barra-lateral.ativa {
        left: 0;
    }

    .cabecalho-menu img {
        width: 100px;
    }

    .cabecalho-menu h1 {
        font-size: 1.4em;
    }

    .lista-links a {
        font-size: 1.1em;
        padding: 0.8em 1.5em;
    }

    .submenu li a {
        font-size: 1em;
    }

    .botao-menu img {
        width: 50px;
        height: 50px;
    }

    .botao-login,
    .botao-chat {
        width: 40px;
        height: 40px;
        padding: 9px;
        transform: none !important;
    }

    .botao-login {
        top: 15px;
        right: 15px;
    }

    .botao-chat {
        bottom: 15px;
        right: 15px;
    }

    .botao-login img,
    .botao-chat img {
        width: 100%;
        height: 100%;
    }

    footer {
        font-size: 14px;
        padding: 1em 0.5em;
    }
}
