/* =========================================
   SHELL UTAMA GAME (HUD ATAS + KONTEN + NAV)
   ========================================= */
.game-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* TOP HUD BAR (2 BARIS) */
.top-hud {
  background: linear-gradient(180deg, #16181f 0%, #0e1015 100%);
  border-bottom: 1px solid #2e3340;
  z-index: 20;
  flex-shrink: 0;
}

.hud-row-1 {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.3fr;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #222630;
  gap: 6px;
}

.hud-level-box {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
  transition: background 0.15s;
}
.hud-level-box:hover { background: rgba(255, 255, 255, 0.08); }
.hud-level-box:active { transform: scale(0.96); }

.level-crest {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, #3b82f6, #1e3a8a);
  border: 2px solid #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.level-info { line-height: 1.1; }
.level-num { font-size: 16px; font-weight: 800; color: #fff; }
.level-sub { font-size: 8.5px; color: #9ca3af; display: flex; align-items: center; gap: 3px; }
.exp-pill { background: #22c55e; color: #052e16; font-weight: 800; padding: 0 4px; border-radius: 4px; font-size: 8px; }

.hud-currency-box {
  background: #08090c;
  border: 1px solid #262a36;
  border-radius: 6px;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.currency-top { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 13px; font-weight: 800; }
.gold-coin-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a, #eab308 65%, #a16207);
  border: 1px solid #fde047;
  display: inline-block;
  box-shadow: 0 0 4px rgba(250, 204, 21, 0.5);
}
.currency-sub { font-size: 9px; color: #a855f7; font-weight: 700; margin-top: 1px; }
.gold-sub { font-size: 9px; color: #9ca3af; margin-top: 1px; }

.hud-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 5px 8px;
  background: rgba(12, 14, 18, 0.95);
  gap: 6px;
}

.stat-item { display: flex; align-items: center; gap: 6px; }
.stat-icon { width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }
.stat-icon.hp { background: #3f1d2e; color: #f472b6; border: 1px solid #831843; }
.stat-icon.en { background: #3f3214; color: #facc15; border: 1px solid #854d0e; }
.stat-icon.st { background: #133842; color: #38bdf8; border: 1px solid #075985; }
.stat-text { line-height: 1.15; }
.stat-val { font-size: 11px; font-weight: 700; color: #f3f4f6; }
.stat-lbl { font-size: 9px; color: #9ca3af; }

/* BOTTOM NAVIGATION BAR (7 ICON) */
.bottom-nav {
  background: linear-gradient(180deg, #1b1e26 0%, #0d0f14 100%);
  border-top: 2px solid #373c4a;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 6px 2px 8px;
  z-index: 20;
  flex-shrink: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  color: #9ca3af;
  cursor: pointer;
  text-align: center;
}

.nav-item.active { color: #ffffff; }
.nav-icon-box { width: 30px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 18px; filter: grayscale(40%); }
.nav-item.active .nav-icon-box { filter: none; text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
.nav-label { font-size: 9.5px; font-weight: 600; line-height: 1.05; }
