/* ═══════════════════════════════════════════════════════
   DNA POOL — SCI-FI HUD MENU v4.0
   Large PNG frame, buttons INSIDE image slots
   ═══════════════════════════════════════════════════════ */

.hud-menu{
  display:none;
  position:absolute;
  bottom:0;left:0;
  z-index:100;
  /* BIG frame — fills left+bottom of screen */
  width:700px;height:467px;
  background-image:url('../assets/hud-frame-2x.png');
  background-size:100% 100%;
  background-repeat:no-repeat;
  pointer-events:none;
}
.hud-menu.visible{display:block}

/* All children clickable */
.hud-menu button,.hud-menu .hud-pw{
  pointer-events:auto;
  position:absolute;
  z-index:2;
}

/* ═══ RECT SLOT (vertical bar) ═══ */
.hud-s{
  /* Align to vertical bar in image */
  left:1%;
  width:7.8%;
  border-radius:4px;
  border:none;
  background:transparent;
  color:rgba(140,200,255,.55);
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  transition:all .25s;
  outline:none;
}
.hud-s:hover{
  background:rgba(0,200,255,.22);
  color:#00e5ff;
  box-shadow:0 0 18px rgba(0,200,255,.45),inset 0 0 12px rgba(0,200,255,.15);
  text-shadow:0 0 10px rgba(0,200,255,.8);
}
.hud-s.active{
  background:rgba(0,200,255,.28);
  color:#00e5ff;
  box-shadow:0 0 22px rgba(0,200,255,.5),inset 0 0 16px rgba(0,200,255,.2);
  text-shadow:0 0 12px rgba(0,200,255,.9);
}
.hud-s svg{width:22px;height:22px;stroke-width:2;fill:none;stroke:currentColor;filter:drop-shadow(0 0 4px currentColor)}

/* ═══ 8 SLOT POSITIONS ═══ */
.hud-s1{top:1.5%;height:8%}
.hud-s2{top:10.2%;height:8%}
.hud-s3{top:19%;height:8%}
.hud-s4{top:27.8%;height:8%}
.hud-s5{top:36.5%;height:8%}
.hud-s6{top:45.3%;height:8%}
.hud-s7{top:54%;height:8%}
.hud-s8{top:61.5%;height:6.5%}

/* ═══ CIRCLE ORB (horizontal bar) ═══ */
.hud-o{
  border-radius:50%;
  border:none;
  background:transparent;
  color:rgba(140,200,255,.55);
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
  transition:all .25s;
  outline:none;
  width:6.2%;
  aspect-ratio:1;
  top:73%;
}
.hud-o:hover{
  background:rgba(0,200,255,.22);
  color:#00e5ff;
  box-shadow:0 0 18px rgba(0,200,255,.45),inset 0 0 10px rgba(0,200,255,.15);
  text-shadow:0 0 10px rgba(0,200,255,.8);
}
.hud-o.active{
  background:rgba(0,200,255,.28);
  color:#00e5ff;
  box-shadow:0 0 22px rgba(0,200,255,.5),inset 0 0 14px rgba(0,200,255,.2);
}
.hud-o svg{width:18px;height:18px;stroke-width:2;fill:none;stroke:currentColor;filter:drop-shadow(0 0 4px currentColor)}

/* ═══ 7 ORB POSITIONS ═══ */
.hud-o1{left:13%}
.hud-o2{left:21.5%}
.hud-o3{left:30%}
.hud-o4{left:38.5%}
.hud-o5{left:47%}
.hud-o6{left:55.5%}
.hud-o7{left:64%}

/* ═══ PROFILE (slot 1 area) ═══ */
.hud-pw{
  left:1.2%;top:1.5%;
  width:7.5%;height:8%;
  border-radius:4px;
  overflow:hidden;cursor:pointer;
  border:none;background:transparent;
  transition:all .25s;
}
.hud-pw:hover{box-shadow:0 0 18px rgba(0,200,255,.45)}
.hud-pw img{width:100%;height:100%;object-fit:cover}
.hud-pw .ho{
  position:absolute;bottom:2px;right:2px;
  width:8px;height:8px;border-radius:50%;
  background:#22c55e;border:2px solid rgba(6,14,28,.9);
  box-shadow:0 0 6px rgba(34,197,94,.6);
}

/* ═══ BADGE ═══ */
.hud-s .hb{
  position:absolute;top:-2px;right:-2px;
  min-width:16px;height:16px;border-radius:8px;
  background:#ef4444;color:#fff;font-size:9px;font-weight:800;
  display:none;align-items:center;justify-content:center;padding:0 3px;
  box-shadow:0 0 8px rgba(239,68,68,.5);
  z-index:3;
}
.hud-s .hb.show{display:flex}

/* ═══ TOOLTIP ═══ */
.hud-tt{
  position:absolute;
  left:calc(100% + 14px);top:50%;
  transform:translateY(-50%) translateX(-8px);
  background:rgba(4,12,24,.96);
  border:1px solid rgba(0,200,255,.45);
  border-radius:8px;padding:8px 12px;
  min-width:130px;max-width:180px;
  pointer-events:none;opacity:0;
  transition:opacity .25s,transform .25s;
  z-index:300;
  box-shadow:0 4px 20px rgba(0,0,0,.7),0 0 14px rgba(0,200,255,.12);
  white-space:normal;
}
.hud-tt.show{opacity:1;transform:translateY(-50%) translateX(0)}
.hud-tt::before{
  content:'';position:absolute;left:-5px;top:50%;
  transform:translateY(-50%) rotate(45deg);
  width:8px;height:8px;
  background:rgba(4,12,24,.96);
  border-left:1px solid rgba(0,200,255,.45);
  border-bottom:1px solid rgba(0,200,255,.45);
}
.hud-tt b{font-family:'Cinzel',serif;font-size:11px;color:#00e5ff;display:block;margin-bottom:2px}
.hud-tt span{font-size:10px;color:rgba(255,255,255,.45);line-height:1.3}
.hud-o .hud-tt{
  left:50%;top:auto;bottom:calc(100% + 12px);
  transform:translateX(-50%) translateY(8px);
}
.hud-o .hud-tt.show{transform:translateX(-50%) translateY(0)}
.hud-o .hud-tt::before{
  left:50%;top:auto;bottom:-5px;
  transform:translateX(-50%) rotate(45deg);
  border-left:none;border-top:none;
  border-right:1px solid rgba(0,200,255,.45);
  border-bottom:1px solid rgba(0,200,255,.45);
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:900px){.hud-menu{display:none!important}}
@media(max-width:1200px){.hud-menu{width:560px;height:373px}}
body.dp-fullscreen .hud-menu{position:fixed;z-index:590}
@media(min-width:901px){
  .dp-mobile-only{display:none!important}
  .dp-layer-toggles{display:none!important}
  .dnapool-guide{display:none!important}
}
