/* 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;
  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 */
.panel{
  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);
}

/* HUD FRAME */
.hud-frame{
  padding:26px;
  border:1px solid #222;
}

/* HEADER (🔥 CORRETO COM FLEX) */
.hud-header{
  display:flex;
  justify-content:space-between; /* 🔥 chave */
  align-items:center;

  width:100%;

  padding-bottom:10px;
  margin-bottom:20px;

  border-bottom:2px solid #000;
}

/* TÍTULO */
.hud-title{
  font-size:16px;
  letter-spacing:3px;
}

/* BOTÃO */
.tutorial-btn-inline{
  padding:8px 14px;

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

  font-family:'Orbitron', sans-serif;
  font-size:11px;
  letter-spacing:2px;

  cursor:pointer;
  transition:.2s;
}
.tutorial-btn-inline:hover{
  background:#d6c8a6;
  transform:scale(1.05);
}

/* FORM */
.form-box{
  padding:15px;
  margin-bottom:15px;
  background:#e9dcc0;
  border:1px dashed #000;
}
.form-box input{
  width:100%;
  padding:8px;
  border:1px solid #000;
  background:#f3e7c9;
}
.form-box button{
  margin-top:10px;
  width:100%;
  padding:10px;
  background:#d6c8a6;
  border:2px solid #000;
  cursor:pointer;
}

/* PONTOS */
#pontosBox{
  margin-bottom:10px;
  padding:10px;
  background:#e9dcc0;
  border:1px dashed #000;
}

/* LISTA */
.rank-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  border-bottom:1px solid rgba(0,0,0,.3);
}

/* BOTÕES VIP */
.vip-btn{
  padding:10px 14px;
  border:none;
  color:#fff;
  cursor:pointer;
}
.vip-btn.blue{ background:#4a90e2; }
.vip-btn.green{ background:#2ecc71; }
.vip-btn.yellow{ background:#f1c40f; color:#000; }
.vip-btn.orange{ background:#e67e22; }

/* MODAL NORMAL */
#modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  align-items:center;
  justify-content:center;
}

/* MODAL TUTORIAL */
#modalTutorial{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  align-items:center;
  justify-content:center;
  z-index:9999;
}

/* CAIXA */
.modal-box{
  background:#f3e7c9;
  padding:20px;
  border:2px solid #000;
}

.tutorial-box{
  max-width:400px;
  width:90%;
}

/* RESPONSIVO */
@media (max-width:1024px){
  .layout{gap:20px}
  .panel,.hud{
    width:90vw;
    padding:140px 20px 30px;
  }
}

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

@media (max-width:480px){
  .logo{
    top:-90px;
  }
  .logo img{
    width:180px;
  }
  .menu a{
    font-size:16px;
    padding:14px;
  }
}
