/* --------------------------------------
   GLOBAL RESET + BODY
-------------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #f5f5f5;
  background: #000 url("../images/background/backgroundx.png") center center fixed no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

/* --------------------------------------
   SHARED BUTTONS
-------------------------------------- */

.btn-primary {
  width: 100%;
  padding: 10px;
  background: linear-gradient(90deg, #b8860b, #e6c055);
  border: none;
  border-radius: 4px;
  margin-top: 15px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  color: #111;
}

.btn-primary:hover {
  filter: brightness(1.12);
}

/* --------------------------------------
   GAME TOP BAR
-------------------------------------- */

.top-bar {
  width: 100%;
  height: 90px;
  background: rgba(0,0,0,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  padding-left: 20px;
  z-index: 200;
}

/* ★ LOGO — NOW RESIZABLE + MOVABLE */
.top-logo {
  position: absolute;
  top: 0px;
  left: 0px;

  height: 90px !important;
  width: auto !important;
  object-fit: contain !important;

  cursor: pointer;
}

/* ★ TOP-INFO — FINAL OVERRIDE (MOVABLE + RESIZABLE + SCALABLE) */
.top-info {
  position: absolute !important;

  /* MOVE the block */
  top: 8px !important;
  left: 209px !important;

  /* RESIZE the block width */
  width: 220px !important;

  /* SCALE the entire block */
  transform: scale(1.15) !important;
  transform-origin: top left !important;

  /* KEEP original visual style */
  color: #ddd !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  pointer-events: none !important;
}

/* keep spans clickable */
.top-info-line span {
  pointer-events: auto !important;
}

.top-online {
  color: #aaff4d;
  font-weight: bold;
  cursor: pointer;
  pointer-events: auto;
}

/* --------------------------------------
   LOGOUT BUTTON
-------------------------------------- */

.top-logout-btn {
  padding: 10px 18px;
  background: #7a0000;
  border: 1px solid #aa0000;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.2s ease;
  font-weight: bold;
  width: 100%;
  display: block;
  margin-top: 20px;
}

/* --------------------------------------
   MAIN GAME LAYOUT
-------------------------------------- */

.game-layout {
  display: flex;
  margin-top: 90px;
}

/* --------------------------------------
   LEFT MENU PANEL
-------------------------------------- */

.left-menu-panel {
  width: 200px;
  background: rgba(0,0,0,0.7);
  border-right: 1px solid rgba(255,255,255,0.1);
  height: calc(100vh - 90px);
  position: fixed;
  top: 90px;
  left: 0;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-links {
  display: flex;
  flex-direction: column;
}

.left-menu-panel a {
  display: block;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  text-decoration: none;
  color: #eee;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.6px;
  transition: 0.2s;
}

.left-menu-panel a:hover,
.left-menu-panel a.active {
  background: rgba(255,255,255,0.15);
}

/* --------------------------------------
   CENTER PANEL
-------------------------------------- */

.center-panel {
  position: relative;
  width: calc(100% - 430px);
  margin-left: 200px;
  margin-right: 230px;
  padding: 0;
  background: rgba(0,0,0,0.4);
  min-height: calc(100vh - 90px);
  border-left: 1px solid rgba(255,255,255,0.05);
  border-right: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(1px);
  z-index: 5;
}

/* --------------------------------------
   MYSTREET FIGHT BAR
-------------------------------------- */

.mystreet-topbar {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.30) !important;

  box-shadow: none !important;
  backdrop-filter: none !important;

  width: var(--bar-width, calc(100% + 80px));
  margin-left: var(--bar-offset-x, -40px);
  margin-right: var(--bar-offset-x, -40px);
  margin-top: var(--bar-offset-y, -30px);

  height: var(--bar-height, 55px);
  padding-left: var(--bar-padding-x, 16px);
  padding-right: var(--bar-padding-x, 16px);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mystreet-topbar-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mystreet-topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 14px;
  color: #ffcc4d;
}

.mystreet-btn {
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  cursor: pointer;
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  transition: 0.2s ease;
}

.mystreet-btn:hover {
  background: rgba(255,255,255,0.15);
}

.bp-icon {
  width: var(--bp-size, 50px);
  height: var(--bp-size, 50px);
}

.mystreet-content {
  padding: 20px;
}
