/* ==========================================================================
   LASTHAVEN - 3D Zombie Survival UI & Glassmorphism Theme
   Tactical Military Survival Style matching user reference visual
   ========================================================================== */

:root {
  --font-brand: 'Teko', sans-serif;
  --font-tactical: 'Rajdhani', sans-serif;
  --font-ui: 'Outfit', sans-serif;

  --bg-dark: #0b0a11;
  --bg-panel: rgba(18, 16, 26, 0.85);
  --bg-glass: rgba(26, 22, 38, 0.72);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(249, 115, 22, 0.4);

  --accent-orange: #f97316;
  --accent-gold: #eab308;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;

  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hidden {
  display: none !important;
}

body.game-body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: var(--font-tactical);
  color: var(--text-white);
  touch-action: none;
}

/* ==========================================================================
   3D Canvas & Viewport Layer
   ========================================================================== */
#canvasContainer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

/* Damage Vignette */
.damage-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  box-shadow: inset 0 0 100px rgba(239, 68, 68, 0);
  transition: box-shadow 0.12s ease-out;
}

.damage-vignette.active {
  box-shadow: inset 0 0 140px rgba(239, 68, 68, 0.8);
}

/* =========================================================================
   TACTICAL CROSSHAIR & ADS HOLOGRAPHIC RETICLE
   ========================================================================= */
.crosshair-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 50;
  user-select: none;
}

.crosshair-container.hidden {
  display: none !important;
}

/* Hipfire Dynamic Reticle */
.hip-crosshair {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease-out, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.crosshair-container.aiming .hip-crosshair {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.ch-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 2px #000, 0 0 5px rgba(255, 255, 255, 0.9);
}

.ch-bar {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 2px #000, 0 0 4px rgba(0, 0, 0, 0.8);
  border-radius: 1px;
  transition: transform 0.08s ease-out;
}

.ch-top {
  width: 2px;
  height: 7px;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.ch-bottom {
  width: 2px;
  height: 7px;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.ch-left {
  width: 7px;
  height: 2px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.ch-right {
  width: 7px;
  height: 2px;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
}

/* Dynamic Movement Spread */
.hip-crosshair.moving .ch-top { transform: translateX(-50%) translateY(-5px); }
.hip-crosshair.moving .ch-bottom { transform: translateX(-50%) translateY(5px); }
.hip-crosshair.moving .ch-left { transform: translateY(-50%) translateX(-5px); }
.hip-crosshair.moving .ch-right { transform: translateY(-50%) translateX(5px); }

/* Recoil kick when firing */
.hip-crosshair.recoil .ch-top { transform: translateX(-50%) translateY(-8px); }
.hip-crosshair.recoil .ch-bottom { transform: translateX(-50%) translateY(8px); }
.hip-crosshair.recoil .ch-left { transform: translateY(-50%) translateX(-8px); }
.hip-crosshair.recoil .ch-right { transform: translateY(-50%) translateX(8px); }

/* ADS Tactical Holographic Sight */
.ads-holo-sight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s cubic-bezier(0.16, 1, 0.3, 1), transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.crosshair-container.aiming .ads-holo-sight {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.holo-housing {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5), inset 0 0 8px rgba(239, 68, 68, 0.25);
  position: relative;
}

.holo-notch {
  position: absolute;
  background: #ef4444;
  box-shadow: 0 0 4px #ef4444;
}

.notch-t { top: -4px; left: 50%; width: 2px; height: 4px; transform: translateX(-50%); }
.notch-b { bottom: -4px; left: 50%; width: 2px; height: 4px; transform: translateX(-50%); }
.notch-l { left: -4px; top: 50%; width: 4px; height: 2px; transform: translateY(-50%); }
.notch-r { right: -4px; top: 50%; width: 4px; height: 2px; transform: translateY(-50%); }

.holo-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: #ff2233;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff4455, 0 0 14px rgba(255, 34, 51, 0.95);
}

/* Authentic Tactical Hit Marker (CoD / Apex Style) */
.hit-marker-tactical {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 55;
  animation: hitSnap 0.14s ease-out forwards;
}

.hit-marker-tactical.hidden {
  display: none !important;
}

@keyframes hitSnap {
  0% { transform: translate(-50%, -50%) scale(1.35); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0; }
}

.hm-tick {
  position: absolute;
  width: 8px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  box-shadow: 0 0 3px #000;
}

.hm-tl { top: 6px; left: 6px; transform: rotate(45deg); }
.hm-tr { top: 6px; right: 6px; transform: rotate(-45deg); }
.hm-bl { bottom: 6px; left: 6px; transform: rotate(-45deg); }
.hm-br { bottom: 6px; right: 6px; transform: rotate(45deg); }

.hit-marker-tactical.hm-crit .hm-tick {
  background: #ef4444 !important;
  box-shadow: 0 0 8px #ef4444, 0 0 3px #000 !important;
  width: 10px;
}

.hm-crit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffd700;
}

/* Floating 3D Damage Numbers Layer */
.damage-numbers-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  overflow: hidden;
}

.damage-popup {
  position: absolute;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ff9800;
  text-shadow: 0 2px 4px #000, 0 0 8px rgba(255, 152, 0, 0.75);
  transform: translate(-50%, -50%);
  animation: floatDmg 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

.damage-popup.crit {
  color: #ef4444;
  font-size: 1.7rem;
  text-shadow: 0 2px 6px #000, 0 0 12px rgba(239, 68, 68, 0.95);
}

@keyframes floatDmg {
  0% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
  25% { transform: translate(-50%, -75%) scale(1.1); opacity: 1; }
  100% { transform: translate(-50%, -120%) scale(0.85); opacity: 0; }
}

/* In-Game Interaction Prompt */
.interact-prompt {
  position: fixed;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(18, 16, 26, 0.88);
  border: 1px solid var(--accent-orange);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.ip-key {
  background: var(--accent-orange);
  color: #fff;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 19, 32, 0.92);
  border: 1px solid var(--accent-green);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 60;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  animation: toastFadeIn 0.3s ease-out;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Pointer Lock Overlay */
.click-to-play-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 13, 0.7);
  backdrop-filter: blur(8px);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctp-card {
  background: rgba(22, 19, 32, 0.95);
  border: 1px solid var(--border-glow);
  padding: 2rem 2.5rem;
  border-radius: 16px;
  text-align: center;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 115, 22, 0.2);
}

.ctp-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 0.8rem;
}

.ctp-card h3 {
  font-family: var(--font-brand);
  font-size: 2.4rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

.ctp-card p {
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.ctp-hints {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-ui);
}

/* ==========================================================================
   Tactical Glass HUD Layer
   ========================================================================== */
.game-hud-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.2rem;
}

/* TOP-LEFT BRAND & SQUAD */
.hud-top-left {
  position: fixed;
  top: 1rem;
  left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 320px;
  pointer-events: auto;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.brand-sub {
  color: var(--accent-orange);
  font-size: 1.5rem;
  margin-left: 0.3rem;
}

.brand-motto {
  font-family: var(--font-tactical);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-muted);
}

/* Unlimited Squad & Live Survivors Panel */
.squad-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  backdrop-filter: blur(12px);
  width: 260px;
  max-height: 240px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.squad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.35rem;
  margin-bottom: 0.45rem;
}

.sq-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-squad-action {
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-squad-action:hover {
  background: var(--accent-orange);
  color: #fff;
}

.squad-members-list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  overflow-y: auto;
  max-height: 180px;
  padding-right: 2px;
}

.squad-members-list::-webkit-scrollbar {
  width: 4px;
}
.squad-members-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.squad-members-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.squad-member-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.32rem 0.5rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent-green);
  transition: background 0.2s;
}

.squad-member-item.self {
  border-left-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.1);
}

.squad-member-item.live-player {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

.squad-member-item.comrade {
  border-left-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.squad-avatar {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.squad-avatar.avatar-self {
  background: rgba(249, 115, 22, 0.25);
  color: #fb923c;
}

.squad-avatar.avatar-live {
  background: rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

.squad-avatar.avatar-comrade {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.squad-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.squad-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 4px;
}

.squad-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f1f5f9;
}

.squad-badges-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.badge-self {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  font-size: 0.62rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.badge-player-live {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #4ade80;
  font-size: 0.62rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.5px;
}

.online-pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseLiveDot 1.4s infinite;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.badge-comrade {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-size: 0.62rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.squad-dist-tag {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
}

.squad-hp-track {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  overflow: hidden;
}

.squad-hp-fill {
  height: 100%;
  background: var(--accent-green);
  border-radius: 2px;
  transition: width 0.3s;
}

.squad-hp-fill.comrade-hp {
  background: #38bdf8;
}

/* TOP-RIGHT SERVER VITALS & RADAR */
.hud-top-right {
  position: fixed;
  top: 1rem;
  right: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  pointer-events: auto;
}

.server-stats-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stat-pill strong {
  color: #fff;
}

.text-green { color: var(--accent-green) !important; }
.text-orange { color: var(--accent-orange) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-red { color: var(--accent-red) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-purple { color: var(--accent-purple) !important; }

.btn-icon-hud {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.btn-icon-hud:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Circular Minimap Radar */
.minimap-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 12, 22, 0.85) 0%, rgba(26, 20, 36, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.minimap-compass {
  width: 100%;
  height: 100%;
  position: relative;
}

.compass-n {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-orange);
  z-index: 5;
}

.minimap-radar {
  width: 100%;
  height: 100%;
  position: relative;
}

.radar-player-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px #fff;
  z-index: 4;
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-blip.zombie {
  background: var(--accent-red);
  box-shadow: 0 0 6px var(--accent-red);
}

.radar-blip.teammate {
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

/* BOTTOM-LEFT CHAT */
.hud-bottom-left {
  position: fixed;
  bottom: 5.5rem;
  left: 1.2rem;
  width: 320px;
  pointer-events: auto;
}

.chat-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.chat-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem;
  font-family: var(--font-tactical);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid var(--accent-orange);
}

.chat-messages {
  height: 120px;
  overflow-y: auto;
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
}

.chat-msg {
  color: #e2e8f0;
  line-height: 1.3;
  word-break: break-word;
}

.chat-msg.system {
  color: var(--accent-gold);
}

.chat-msg.team {
  color: var(--accent-green);
}

.msg-channel {
  font-weight: 700;
  color: var(--text-dim);
}

.msg-author {
  font-weight: 700;
  color: var(--accent-orange);
}

.chat-input-row {
  display: flex;
  padding: 0.35rem 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-input-row input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  outline: none;
}

.btn-chat-send {
  background: none;
  border: none;
  color: var(--accent-orange);
  cursor: pointer;
  padding: 0 0.4rem;
  font-size: 0.9rem;
}

/* BOTTOM-CENTER HOTBAR & VITALS */
.hud-bottom-center {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
}

/* Vitals Row */
.vitals-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  backdrop-filter: blur(12px);
}

.vital-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vb-icon {
  font-size: 0.9rem;
}

.vital-health .vb-icon { color: var(--accent-green); }
.vital-stamina .vb-icon { color: var(--accent-blue); }

.vb-track {
  width: 110px;
  height: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  overflow: hidden;
}

.vital-health .vb-fill {
  background: linear-gradient(90deg, #16a34a, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.vital-stamina .vb-fill {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.vb-val {
  font-size: 0.85rem;
  font-weight: 800;
  width: 24px;
}

.vital-mini-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 0.6rem;
}

.v-mini {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Tactical Hotbar Grid */
.hotbar-grid {
  display: flex;
  gap: 0.5rem;
}

.hotbar-slot {
  width: 64px;
  height: 64px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.hotbar-slot:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hotbar-slot.active {
  border-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.15);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

.slot-num {
  position: absolute;
  top: 3px;
  left: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
}

.hotbar-slot.active .slot-num {
  color: var(--accent-orange);
}

.slot-icon {
  font-size: 1.3rem;
  margin-top: 4px;
}

.slot-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2px;
}

.slot-name {
  font-size: 0.72rem;
  font-weight: 700;
}

.slot-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* BOTTOM-RIGHT: Mobile Touch Action Buttons */
.mobile-controls {
  position: fixed;
  bottom: 5.5rem;
  right: 1.2rem;
  display: none;
  grid-template-columns: repeat(3, 54px);
  gap: 0.5rem;
  pointer-events: auto;
}

.touch-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(22, 19, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s, background 0.1s;
}

.touch-btn:active {
  transform: scale(0.92);
  background: var(--accent-orange);
}

.touch-fire {
  background: rgba(239, 68, 68, 0.35);
  border-color: var(--accent-red);
  color: #fff;
}

.touch-fire:active {
  background: var(--accent-red);
}

.touch-aim.active {
  background: rgba(239, 68, 68, 0.6) !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.8) !important;
}

.touch-light.active {
  background: rgba(234, 179, 8, 0.5) !important;
  border-color: #eab308 !important;
  color: #fef08a !important;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.8) !important;
}

/* Virtual Joystick Area */
.virtual-joystick-area {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 120px;
  height: 120px;
  display: none;
  pointer-events: auto;
  z-index: 50;
}

.joystick-base {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  backdrop-filter: blur(8px);
}

.joystick-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-orange);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.6);
  pointer-events: none;
}

/* Bottom Feature Cards Strip (Hidden during gameplay for clean tactical view) */
.bottom-features-bar {
  display: none !important;
}

.fb-card {
  flex: 1;
  min-width: 160px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.fb-card:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.fb-icon {
  font-size: 1.25rem;
  color: var(--accent-orange);
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-content h4 {
  font-family: var(--font-tactical);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: #fff;
}

.fb-content p {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* ==========================================================================
   MODALS ARCHITECTURE (Glassmorphism Dialogs)
   ========================================================================== */
.game-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 10, 0.78);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s, visibility 0.2s;
}

.game-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.6rem 2rem;
  max-width: 680px;
  width: calc(100% - 2rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(249, 115, 22, 0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
}

.modal-header h2 {
  font-family: var(--font-brand);
  font-size: 2rem;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  background: var(--accent-red);
}

/* Inventory & Crafting Layout */
.inv-craft-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.section-sub-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  color: var(--accent-orange);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.inv-slot {
  height: 64px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.75rem;
}

.inv-slot.empty {
  border-style: dashed;
  opacity: 0.4;
}

.recipes-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
}

.recipe-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.btn-craft {
  background: var(--accent-orange);
  border: none;
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-craft:hover {
  opacity: 0.9;
}

/* Base Building Modal */
.build-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.build-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.build-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.build-card:hover {
  border-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.1);
}

.build-card.active {
  border-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.2);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

.bc-icon {
  font-size: 1.6rem;
  color: var(--accent-orange);
}

.bc-name {
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.bc-cost {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: none;
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-tactical);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5);
  transition: transform 0.15s;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5) !important;
}

/* Unlimited Squad Modal */
.team-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.tb-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 800;
  letter-spacing: 1px;
}

.tb-name {
  font-size: 1.3rem;
  font-weight: 800;
}

.team-code-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid var(--accent-orange);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
}

.btn-copy-code {
  background: none;
  border: none;
  color: var(--accent-orange);
  cursor: pointer;
  font-size: 0.9rem;
}

.team-rules-badge {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.squad-full-list-wrap {
  margin-bottom: 1rem;
}

.sfl-header {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sfl-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 200px;
  overflow-y: auto;
}

.sfl-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.btn-danger-outline {
  background: none;
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-tactical);
  font-weight: 700;
  cursor: pointer;
}

.squad-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.squad-form-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.squad-form-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.input-wrap input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-ui);
  outline: none;
}

.input-wrap input:focus {
  border-color: var(--accent-orange);
}

/* Missions Modal */
.missions-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mission-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent-gold);
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

.mission-item.main-quest {
  border-left-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.08);
}

.mi-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.mi-badge.side { color: var(--accent-gold); }

.mi-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.mi-details p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.mi-rewards {
  font-size: 0.82rem;
  color: #fff;
}

/* Settings Modal */
.settings-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.setting-options {
  display: flex;
  gap: 0.4rem;
}

.btn-toggle-opt {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-tactical);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-toggle-opt.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* Server Browser Initial Modal */
.server-browser-card {
  max-width: 580px;
}

.game-logo-modal h1 {
  font-family: var(--font-brand);
  font-size: 3rem;
  letter-spacing: 2px;
  line-height: 1;
}

.game-logo-modal span {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.input-group-hero {
  margin-bottom: 1.2rem;
}

.input-group-hero label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 0.4rem;
}

.server-list-header {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.servers-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.server-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.server-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.server-row.active {
  border-color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.12);
}

.srv-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.srv-badge.official {
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent-green);
}

.srv-badge.private {
  background: rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
}

.srv-info h4 {
  font-size: 1rem;
  margin: 2px 0;
}

.srv-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.srv-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.85rem;
}

.device-hint-banner {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.btn-launch-game {
  width: 100%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: none;
  color: #fff;
  padding: 0.9rem;
  border-radius: 10px;
  font-family: var(--font-tactical);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(249, 115, 22, 0.5);
  transition: transform 0.15s;
}

.btn-launch-game:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE MOBILE & TOUCH SUPPORT
   ========================================================================== */
@media (pointer: coarse), (max-width: 900px) {
  .mobile-controls {
    display: grid;
    bottom: 1.2rem;
  }
  .virtual-joystick-area {
    display: block;
  }
  .bottom-features-bar {
    display: none;
  }
  .hud-bottom-left {
    bottom: 6.5rem;
    width: 250px;
  }
  .hud-bottom-center {
    bottom: 1.2rem;
  }
  .squad-panel {
    width: 190px;
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
    max-height: 160px;
  }
  .brand-title {
    font-size: 1.8rem;
  }
  .hotbar-slot {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hud-bottom-left {
    display: none;
  }
  .squad-panel {
    width: 165px;
    padding: 0.35rem 0.5rem;
    max-height: 140px;
  }
  .squad-panel .sq-title {
    font-size: 0.75rem;
  }
  .squad-panel .squad-member-item {
    padding: 0.25rem 0.35rem;
    gap: 0.35rem;
  }
  .squad-panel .squad-avatar {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
  .minimap-container {
    width: 75px;
    height: 75px;
  }
}

/* ==========================================================================
   LANDSCAPE ORIENTATION ENFORCEMENT OVERLAY
   ========================================================================== */
.orientation-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #19142b 0%, #08070d 100%);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(15px);
}

/* Automatically display in portrait on mobile/tablets */
@media screen and (orientation: portrait) and (max-width: 1024px) {
  .orientation-overlay {
    display: flex !important;
  }
}

.orientation-overlay.force-show {
  display: flex !important;
}

.orientation-overlay.hidden {
  display: none !important;
}

.orientation-card {
  max-width: 380px;
  background: rgba(22, 19, 34, 0.94);
  border: 1px solid var(--border-glow);
  padding: 2.2rem 1.8rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(249, 115, 22, 0.25);
}

.phone-rotate-icon {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-rotate-icon .fa-mobile-screen-button {
  font-size: 4rem;
  color: var(--accent-orange);
  animation: phoneRotateAnim 2.4s ease-in-out infinite;
}

.phone-rotate-icon .rotate-arrow {
  position: absolute;
  font-size: 1.8rem;
  color: #fff;
  right: -4px;
  top: 6px;
  animation: arrowPulse 2.4s ease-in-out infinite;
}

@keyframes phoneRotateAnim {
  0%, 15% { transform: rotate(0deg); }
  50%, 75% { transform: rotate(90deg); }
  90%, 100% { transform: rotate(0deg); }
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.orientation-card h2 {
  font-family: var(--font-brand);
  font-size: 2.3rem;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.orientation-card p {
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.5;
}

.orientation-card p strong {
  color: var(--accent-orange);
}

.orientation-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid var(--accent-orange);
  color: #fed7aa;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  text-align: left;
}

.btn-rotate-fs {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: none;
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-tactical);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5);
  margin-top: 0.3rem;
  width: 100%;
}

/* Mission Objective Tracker on HUD */
.hud-mission-tracker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22, 19, 32, 0.85);
  border: 1px solid var(--accent-orange);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: var(--font-ui);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
  width: fit-content;
}

/* Death Modal & Respawn */
.death-card {
  background: rgba(28, 8, 14, 0.96) !important;
  border: 2px solid var(--accent-red) !important;
  box-shadow: 0 0 80px rgba(239, 68, 68, 0.5), inset 0 0 40px rgba(239, 68, 68, 0.2) !important;
  text-align: center;
  max-width: 440px;
}

.death-icon {
  font-size: 4rem;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  animation: pulseDeath 1.5s infinite alternate;
}

@keyframes pulseDeath {
  from { transform: scale(1); opacity: 0.85; }
  to { transform: scale(1.15); opacity: 1; }
}

.death-title {
  font-family: var(--font-brand);
  font-size: 3.5rem;
  color: var(--accent-red);
  letter-spacing: 4px;
  line-height: 1;
}

.death-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.6rem 0 1.2rem;
}

.death-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ds-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.6rem 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ds-label {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.ds-val {
  font-size: 1.1rem;
}

.btn-respawn-glow {
  width: 100%;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: none;
  color: #fff;
  padding: 0.9rem;
  border-radius: 10px;
  font-family: var(--font-tactical);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(239, 68, 68, 0.6);
  transition: transform 0.15s;
}

.btn-respawn-glow:hover {
  transform: translateY(-2px);
}

/* Victory Modal */
.victory-card {
  background: rgba(14, 26, 18, 0.96) !important;
  border: 2px solid var(--accent-green) !important;
  box-shadow: 0 0 80px rgba(34, 197, 94, 0.5), inset 0 0 40px rgba(34, 197, 94, 0.2) !important;
  text-align: center;
  max-width: 480px;
}

.victory-icon {
  font-size: 3.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.victory-title {
  font-family: var(--font-brand);
  font-size: 3rem;
  color: var(--accent-green);
  letter-spacing: 3px;
  line-height: 1;
}

.victory-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.6rem 0 1.2rem;
}

.victory-rewards {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.vr-badge {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* User Account Auth & Profile Badge */
.auth-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: #fca5a5;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glow);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

.up-avatar {
  width: 42px;
  height: 42px;
  background: var(--accent-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.up-info {
  flex: 1;
  text-align: left;
}

.up-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.up-user {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-logout {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 0.6rem;
  border-radius: 8px;
  font-family: var(--font-tactical);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.auth-form-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.input-group-auth {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.input-group-auth label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.input-group-auth input {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-group-auth input:focus {
  border-color: var(--accent-orange);
}

.btn-auth-submit {
  margin-top: 0.4rem;
  width: 100%;
}

/* ==========================================================================
   CINEMATIC AAA MAIN MENU LAUNCHER & AUTH PORTAL STYLES
   ========================================================================== */

.menu-launcher-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 25%, rgba(18, 15, 29, 0.76) 0%, rgba(8, 7, 13, 0.96) 80%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  display: block !important;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-launcher-overlay.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(1.04) !important;
  visibility: hidden;
}

/* Atmospheric Burning Embers Canvas */
.menu-ember-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
}

/* Vignette & Gritty Fog Overlay */
.menu-vignette-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3;
  background: 
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(to bottom, rgba(5, 4, 8, 0.7) 0%, transparent 18%, transparent 82%, rgba(5, 4, 8, 0.88) 100%);
}

.menu-launcher-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem 2.5rem;
}

/* --- TOP BAR --- */
.launcher-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.launcher-branding {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.launcher-logo {
  display: flex;
  flex-direction: column;
}

.launcher-logo .logo-sub {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.launcher-logo .logo-title {
  font-family: var(--font-brand);
  font-size: 2.8rem;
  line-height: 0.9;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
}

.badge-build {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.launcher-ticker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ticker-pill {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ticker-pill strong {
  color: #fff;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.launcher-top-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-top-util {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-tactical);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-top-util:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* --- MAIN DUAL-PANE GRID --- */
.launcher-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

/* LEFT HERO PANEL */
.launcher-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-tag-strip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tag-alert {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: var(--accent-red);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.tag-region {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-main-title {
  font-family: var(--font-brand);
  font-size: 4.6rem;
  line-height: 0.95;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}

.hero-glow-text {
  color: var(--accent-orange);
  text-shadow: 0 0 35px rgba(249, 115, 22, 0.55);
}

.hero-description {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 620px;
}

/* Class / Role Selector Section */
.class-selector-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  border-radius: 12px;
}

.cs-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cs-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.cs-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.class-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.class-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1rem 0.8rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-card:hover {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

.class-card.active {
  background: rgba(249, 115, 22, 0.16);
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.class-card .cc-icon {
  font-size: 1.8rem;
  color: var(--accent-orange);
}

.class-card .cc-name {
  font-family: var(--font-tactical);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.class-card .cc-perk {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.3;
}

.class-card .cc-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #000;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s;
}

.class-card.active .cc-check {
  opacity: 1;
  transform: scale(1);
}

/* Feature Strips */
.hero-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.feature-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* RIGHT TERMINAL PANEL */
.launcher-terminal-panel {
  display: flex;
  flex-direction: column;
}

.terminal-card {
  position: relative;
  background: rgba(14, 12, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75), 0 0 35px rgba(249, 115, 22, 0.15);
  border-radius: 14px;
  padding: 1.8rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.terminal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.terminal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tch-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.security-status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Auth Nav Tabs */
.auth-nav-tabs {
  display: flex;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-nav-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.65rem 0.5rem;
  border-radius: 6px;
  font-family: var(--font-tactical);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.auth-nav-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.auth-nav-tab.active {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

/* Tactical Form Fields */
.tactical-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tactical-form.hidden {
  display: none !important;
}

.auth-form-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 0.1rem;
}

.auth-form-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  margin-bottom: 0.3rem;
}

.auth-switch-row {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-switch-auth {
  background: transparent;
  border: none;
  color: var(--accent-orange);
  font-family: var(--font-tactical);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 0.3rem;
  transition: color 0.2s;
}

.btn-switch-auth:hover {
  color: #fff;
}

.tactical-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.tactical-field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.field-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.field-input-box input {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
}

.field-input-box input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.28);
  background: rgba(15, 12, 22, 0.8);
}

.btn-toggle-pw {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}

.btn-toggle-pw:hover {
  color: #fff;
}

.field-hint {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-family: var(--font-ui);
}

/* Big Deploy CTA Button */
.btn-deploy-primary {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border: 1px solid #fb923c;
  color: #fff;
  padding: 1rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-tactical);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.4rem;
}

.btn-deploy-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.7);
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.btn-deploy-primary:active {
  transform: translateY(1px);
}

.btn-deploy-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-deploy-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-deploy-primary:hover .btn-deploy-glow {
  opacity: 1;
}

.btn-deploy-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #4ade80;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.45);
}

.btn-deploy-green:hover {
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.7);
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.btn-deploy-gold {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  border-color: #fde047;
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.45);
  color: #0b0a11;
}

.btn-deploy-gold:hover {
  box-shadow: 0 0 35px rgba(234, 179, 8, 0.7);
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
}

/* Survivor ID Card (Logged In View) */
.survivor-id-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: inset 0 0 20px rgba(249, 115, 22, 0.08);
}

.sid-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  background: rgba(249, 115, 22, 0.15);
  border: 2px solid var(--accent-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-orange);
}

.sid-online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid #000;
  box-shadow: 0 0 8px var(--accent-green);
}

.sid-details {
  flex: 1;
  text-align: left;
}

.sid-rank {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
}

.sid-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sid-level {
  font-size: 0.85rem;
  color: var(--accent-gold);
  background: rgba(234, 179, 8, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.sid-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.btn-sid-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--accent-red);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.btn-sid-logout:hover {
  background: var(--accent-red);
  color: #fff;
}

/* Compact Server Picker */
.server-compact-picker {
  margin-top: 0.6rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scp-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.scp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.scp-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-family: var(--font-tactical);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
}

.scp-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.scp-btn.active {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent-orange);
  color: #fff;
}

.scp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

.scp-dot.dot-pve {
  background: var(--accent-blue);
  box-shadow: 0 0 6px var(--accent-blue);
}

.scp-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.72rem;
}

.terminal-footer-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* RESPONSIVE LAYOUT FOR MOBILE & TABLET */
@media (max-width: 1080px) {
  .menu-launcher-container {
    padding: 1.2rem;
  }
  .launcher-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .hero-main-title {
    font-size: 3.2rem;
  }
  .launcher-ticker {
    display: none;
  }
}

@media (max-width: 768px) {
  .launcher-logo .logo-title {
    font-size: 2.2rem;
  }
  .badge-build {
    display: none;
  }
  .hero-main-title {
    font-size: 2.4rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .class-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .class-card {
    flex-direction: row;
    text-align: left;
    padding: 0.7rem 0.9rem;
    gap: 0.8rem;
  }
  .class-card .cc-icon {
    font-size: 1.4rem;
  }
  .terminal-card {
    padding: 1.2rem;
  }
  .btn-deploy-primary {
    font-size: 1.1rem;
    padding: 0.85rem 1rem;
  }
  .hide-mobile {
    display: none;
  }
}


