/* RESET */
*{margin:0;padding:0;box-sizing:border-box}
html,body{width:100%;height:100%}

/* BODY */
body{
  font-family:'Special Elite','Staatliches','Orbitron',sans-serif;
  background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.85)),
    url('/images/background.png') center/cover no-repeat;
  color:#000;
  overflow-x:hidden;
}

/* ================= LAYOUT ================= */
.center{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.layout{
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  justify-content:center;
}

/* ================= PANEL MENU ================= */
.panel-menu{
  position:relative;
  width:460px;
  max-width:95vw;
  min-height:640px;
  padding:190px 40px 50px;

  background:#f3e7c9;
  border:2px solid #111;
  box-shadow:0 12px 35px rgba(0,0,0,.5);
}

/* LOGO */
.logo{
  position:absolute;
  top:-170px;
  left:50%;
  transform:translateX(-50%);
}
.logo img{
  width:320px;
  max-width:90vw;
  filter:sepia(25%) contrast(1.05)
         drop-shadow(0 8px 25px rgba(0,0,0,.4));
}

/* ================= MENU ================= */
.menu a{
  display:flex;
  justify-content:center;
  margin:18px 0;
  padding:18px;

  font-size:18px;
  letter-spacing:3px;
  text-decoration:none;
  color:#000;

  background:#e9dcc0;
  border:2px dashed #000;

  transform:rotate(-1deg);
  transition:.2s;
}
.menu a:hover{
  background:#d6c8a6;
  transform:scale(1.03) rotate(0deg);
}

/* ================= HUD ================= */
.hud{
  width:860px;
  max-width:95vw;
  min-height:640px;

  background:#f3e7c9;
  border:2px solid #111;
  box-shadow:0 12px 35px rgba(0,0,0,.5);
}
.form-box{
  margin-top:10px;
  padding:20px;

  background:#e9dcc0;
  border:1px dashed #000;
}
.form-box label{
  display:block;
  margin:8px 0 4px;
  font-size:13px;
}
.form-box input,
.form-box textarea{
  width:100%;
  padding:8px 10px;

  background:#f3e7c9;
  border:1px solid #000;
  color:#000;
  font-family:'Special Elite',monospace;
}
.form-box button{
  margin-top:12px;
  width:100%;
  padding:10px;

  font-size:14px;
  background:#d6c8a6;
  border:2px solid #000;
  cursor:pointer;
}
.form-box button:hover{
  background:#c9b98f;
}

/* HUD FRAME */
.hud-frame{
  width:100%;
  height:100%;
  padding:26px;
  border:1px solid #222;

  background:
    linear-gradient(transparent 96%, rgba(0,0,0,.05) 100%),
    #f3e7c9;
}
.rank-list {
  overflow-y: auto;
  max-height: 500px; /* ou ajuste conforme precisar */
  padding-right: 8px; /* evita cortar conteúdo no scroll */
}

/* Scroll estilizado igual ao seu HUD */
.rank-list::-webkit-scrollbar {
  width: 6px;
}

.rank-list::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 6px;
}

.rank-list::-webkit-scrollbar-track {
  background: #e9dcc0;
}
/* HEADER */
.hud-header{
  display:flex;
  justify-content:center;
  margin-bottom:18px;
  padding-bottom:8px;
  border-bottom:2px solid #000;
}
.hud-title{
  font-size:14px;
  letter-spacing:4px;
  color:#000;
}
@media (max-width:1024px){
  .hud,
  .panel-menu{
    width:95vw;
    height:auto;        /* ⬅️ remove altura fixa */
    min-height:auto;
  }

  .panel-menu{
    padding:140px 20px 30px;
  }
}

@media (max-width:768px){
  .layout{
    flex-direction:column;
    gap:30px;
  }

  .panel-menu{
    padding:120px 16px 20px;
  }

  .hud{
    padding:0;
  }

  .hud-frame{
    padding:18px;
  }
