*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --orange: #f97316;
  --orange-bright: #fb923c;
  --orange-dim: #ea580c;
  --orange-glow: rgba(249, 115, 22, 0.35);
  --amber: #f59e0b;
  --dark: #03080904;
  --dark2: #05090a;
  --dark3: #071011;
  --card: #08181a;
  --card2: #061015;
  --dashbord-background: #040c0e;
  --border: rgba(255, 255, 255, 0.06);
  --border-orange: rgba(249, 115, 22, 0.2);
  --text: #f1e8df;
  --muted: #6b6476;
  --muted2: #8a8196;

  /* rank colors */
  --rank-dominion: #e8e8f0;
  --rank-dominion-glow: rgba(232, 232, 240, 0.35);
  --rank-dominion-bg: rgba(232, 232, 240, 0.07);
  --rank-dominion-border: rgba(232, 232, 240, 0.22);

  --rank-galactic: #38bdf8;
  --rank-galactic-glow: rgba(56, 189, 248, 0.35);
  --rank-galactic-bg: rgba(56, 189, 248, 0.07);
  --rank-galactic-border: rgba(56, 189, 248, 0.22);

  --rank-vanguard: #c084fc;
  --rank-vanguard-glow: rgba(192, 132, 252, , 0.35);
  --rank-vanguard-bg: rgba(192, 132, 252, , 0.07);
  --rank-vanguard-border: rgba(192, 132, 252, , 0.22);

  --rank-doomsday: #86efac;
  --rank-doomsday-glow: rgba(134, 239, 172, 0.35);
  --rank-doomsday-bg: rgba(134, 239, 172, 0.07);
  --rank-doomsday-border: rgba(134, 239, 172, 0.22);

  --rank-champion: #fbbf24;
  --rank-champion-glow: rgba(251, 191, 36, 0.4);
  --rank-champion-bg: rgba(251, 191, 36, 0.07);
  --rank-champion-border: rgba(251, 191, 36, 0.28);

  --cyan: #06b6d4;
  --cyan-bright: #22d3ee;
  --cyan-dim: #0891b2;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --border-cyan: rgba(6, 182, 212, 0.2);

  --amber-bright: #fbbf24;
  --amber-dim: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --green: #22c55e;
  --green-dim: #16a34a;
  --green-bright: #4ade80;
  --border-green: rgba(34, 197, 94, 0.25);
  --border-amber: rgba(245, 158, 11, 0.25);
  --white: #f8f8f8;
  --white-bright: #ffffff;
  --white-dim: #d4d4d4;
  --border-white: rgba(255, 255, 255, 0.25);
  --sky: #0ea5e9;
  --sky-bright: #38bdf8;
  --sky-dim: #0284c7;
  --border-sky: rgba(14, 165, 233, 0.25);
  --purple: #a855f7;
  --purple-bright: #c084fc;
  --purple-dim: #9333ea;
  --border-purple: rgba(168, 85, 247, 0.25);

  --background-btn: rgba(168, 85, 247, 0.04);

  --purple: #7c3aed;
  --purple-bright: #a855f7;
  --purple-dim: #6d28d9;
}
html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(
      ellipse 120% 60% at 50% -10%,
      rgba(168, 85, 247, 0.12) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #030208 0%, #05030a 100%);

  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* html {
  background: #030809;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-dim) #030809;
}

html::-webkit-scrollbar {
  width: 4px;
}

html::-webkit-scrollbar-track {
  background: #030809;
}

html::-webkit-scrollbar-thumb {
  background: var(--purple-dim);
  border-radius: 3px;
} */

/* ::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--purple-dim);
  border-radius: 3px;
} */

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleReveal {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes lineExpand {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

nav.desktop-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 66px;
  background: rgba(13, 6, 18, 0.87);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  animation: navSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.nav-logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.nav-logo span {
  color: var(--purple-bright);
}
.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--purple-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-right > *,
.nav-right .server-selector-btn,
.nav-right .jewel-nav-btn,
.nav-right .btn-discord,
.nav-right .user-chip {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  box-sizing: border-box;
}
.nav-right .btn-discord {
  display: inline-flex;
  align-items: center;
}

.server-selector {
  position: relative;
}
.server-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}
.server-selector-btn:hover {
  background: rgba(211, 22, 249, 0.08);
  border-color: var(--purple-bright);
}
.server-selector-btn svg {
  width: 14px;
  height: 14px;
  color: var(--purple-bright);
  flex-shrink: 0;
}
.server-selector-btn .chevron {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: transform 0.2s;
}
.server-selector-btn.open .chevron {
  transform: rotate(180deg);
}
.server-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: rgba(6, 13, 13, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 300;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(22, 249, 238, 0.05) inset;
}
.server-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.server-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid var(--border);
}
.server-dropdown-item:last-child {
  border-bottom: none;
}
.server-dropdown-item:hover {
  background: rgba(22, 222, 249, 0.08);
  color: #fff;
  padding-left: 20px;
}
.server-dropdown-item.selected {
  color: var(--purple-bright);
  background: rgba(22, 222, 249, 0.06);
}
.server-player-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Oxanium', sans-serif;
}

.jewel-hover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.jewel-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 8px;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  white-space: nowrap;
}
.jewel-nav-btn:hover {
  background: rgba(22, 241, 249, 0.15);
  border-color: var(--purple-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 132, 252, 0.2);
}
.jewel-nav-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.jewel-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: rgba(4, 8, 11, 0.96);
  backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(22, 222, 249, 0.28);
  border-radius: 16px;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 300;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(249, 115, 22, 0.06) inset;
}
.jewel-hover-wrap:hover .jewel-panel,
.jewel-panel:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.jewel-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.jewel-panel-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  gap: 7px;
}
.jewel-panel-title svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.jewel-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgb(22 193 249 / 12%);
  border: 1px solid rgba(22, 222, 249, 0.28);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-bright);
}
.jewel-panel-badge svg {
  width: 11px;
  height: 11px;
}
.jewel-panel-sub {
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.jewel-panel-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 10px;
  opacity: 0.7;
}
.jewel-panel-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.jewel-panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
}
.jewel-panel-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(22, 193, 249, 0.08);
  border: 1px solid rgba(22, 222, 249, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jewel-panel-item-icon svg {
  width: 14px;
  height: 14px;
  color: var(--purple-bright);
}
.jewel-panel-bal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 193, 249, 0.08);
  border: 1px solid rgba(22, 222, 249, 0.16);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 14px;
}
.jewel-panel-bal-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.jewel-panel-bal-val {
  font-family: 'Oxanium', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--purple-bright);
  display: flex;
  align-items: center;
  gap: 5px;
}
.jewel-panel-bal-val svg {
  width: 14px;
  height: 14px;
}
.jewel-panel-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  box-shadow: 0 4px 16px rgba(22, 196, 249, 0.25);
}
.jewel-panel-btn:hover {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  box-shadow: 0 8px 28px rgba(192, 132, 252, 0.45);
  transform: translateY(-1px);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  border: none;
  font-family: 'Inter', sans-serif;
  background: #5865f2;
  color: #fff;
}
.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}
.btn-discord svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.user-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 6px;
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s;
  user-select: none;
}
.user-chip:hover {
  background: rgba(192, 132, 252, 0.08);
  border-color: var(--purple-bright);
}
.chip-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(192, 132, 252, 0.4);
}
.chip-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-chevron {
  width: 11px;
  height: 11px;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.user-chip.open .chip-chevron {
  transform: rotate(180deg);
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 168px;
  background: rgba(6, 12, 13, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 300;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}
.user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
}
.user-dropdown-item:last-child {
  border-bottom: none;
}
.user-dropdown-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.user-dropdown-item:hover {
  background: rgba(22, 166, 249, 0.08);
  color: #fff;
}
.user-dropdown-item.danger:hover {
  background: rgba(248, 113, 113, 0.08);
  color: #f87171;
}
.user-dropdown-item.admin-item {
  color: var(--muted2);
}
.user-dropdown-item.admin-item:hover {
  background: rgba(22, 166, 249, 0.08);
  color: var(--purple);
}
#nav-login {
  display: none;
}
#nav-user {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));

  color: #fff;

  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));

  transform: translateY(-2px);

  box-shadow: 0 10px 32px rgba(168, 85, 247, 0.35);
}
.btn-outline {
  background: rgba(168, 85, 247, 0.06);
  color: var(--text);
  border: 1px solid var(--border-purple);
  backdrop-filter: blur(8px);

  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.12);
}

.btn-outline:hover {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.1);

  transform: translateY(-2px);

  box-shadow: 0 10px 32px rgba(168, 85, 247, 0.22);
}

.mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(6, 12, 13, 0.87);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mobile-topbar-logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.mobile-topbar-logo span {
  color: var(--purple-bright);
}
.mobile-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}
.mobile-server-selector {
  position: relative;
}
.mobile-server-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(1, 156, 161, 0.04);
  border: 1px solid var(--border-purple);
  border-radius: 7px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.mobile-server-btn svg {
  width: 12px;
  height: 12px;
  color: var(--purple-bright);
}
.mobile-server-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  background: rgba(6, 13, 13, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 400;
}
.mobile-server-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-jewel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgb(22 193 249 / 12%);
  border: 1px solid rgba(22, 222, 249, 0.28);
  border-radius: 7px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.mobile-jewel-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.mobile-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: 'Inter', sans-serif;
  background: #5865f2;
  color: #fff;
  white-space: nowrap;
}
.mobile-discord-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.mobile-user-selector {
  position: relative;
}
.mobile-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  background: rgba(1, 156, 161, 0.04);
  border: 1px solid var(--border-purple);
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}
.mobile-chip-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(22, 196, 249, 0.4);
  flex-shrink: 0;
}
.mobile-chip-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.mobile-user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  background: rgba(6, 12, 13, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 400;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}
.mobile-user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#mob-login {
  display: none;
}
#mob-user {
  display: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
}
.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
  padding: 4px 12px;
  border-radius: 10px;
  min-width: 56px;
}
.mobile-nav-item.active {
  color: var(--purple-bright);
}
.mobile-nav-item svg {
  width: 22px;
  height: 22px;
}
.mobile-nav-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% -10%,
      rgba(168, 85, 247, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 15% 90%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 45% 35% at 88% 85%,
      rgba(196, 181, 253, 0.07) 0%,
      transparent 50%
    );

  animation: fadeIn 1.2s ease both;
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 30%,
    rgba(10, 5, 20, 0.88) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;

  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, 0.05) 1px, transparent 1px);

  background-size: 72px 72px;

  mask-image: radial-gradient(
    ellipse 85% 85% at 50% 50%,
    black 10%,
    transparent 75%
  );

  -webkit-mask-image: radial-gradient(
    ellipse 85% 85% at 50% 50%,
    black 10%,
    transparent 75%
  );

  animation: fadeIn 1.4s ease 0.2s both;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  /* filter: blur(90px); */
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.14) 0%,
    transparent 70%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation:
    fadeIn 2s ease 0.3s both,
    orbFloat1 12s ease-in-out infinite 2s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(146, 52, 253, 0.08) 0%,
    transparent 70%
  );
  bottom: 80px;
  right: 10%;
  animation:
    fadeIn 2s ease 0.6s both,
    orbFloat2 16s ease-in-out infinite 2s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.07) 0%,
    transparent 70%
  );
  bottom: 120px;
  left: 8%;
  animation:
    fadeIn 2s ease 0.8s both,
    orbFloat2 14s ease-in-out infinite 2s reverse;
}
@keyframes orbFloat1 {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-30px);
  }
}
@keyframes orbFloat2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  animation: particleFloat linear infinite;
  opacity: 0;
}
@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  8% {
    opacity: 0.8;
  }
  88% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-60px) scale(1.2);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;

  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.18);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;

  color: var(--purple-bright);
  margin-bottom: 28px;

  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-bright);
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--purple-bright);
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.5);
  }
}

.hero-wordmark {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(100px, 15vw, 180px);
  font-weight: 900;
  letter-spacing: clamp(4px, 0.3vw, 10px);
  line-height: 0.9;
  color: #fff;

  text-shadow:
    0 0 60px rgba(168, 85, 247, 0.18),
    0 0 120px rgba(192, 132, 252, 0.08),
    0 2px 0 rgba(0, 0, 0, 0.5);

  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-separator {
  width: min(420px, 80%);
  height: 1px;
  margin: 18px auto 20px;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(147, 51, 234, 0.4) 20%,
    rgba(168, 85, 247, 0.9) 50%,
    rgba(147, 51, 234, 0.4) 80%,
    transparent 100%
  );

  animation: lineExpand 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-subtitle-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 8px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero-tagline {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--muted2);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto 52px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both;
}
.hero-tagline strong {
  color: var(--text);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}
.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.hero-buttons .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 36px;
  position: relative;
}
.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.hero-stat-val {
  font-family: 'Oxanium', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.3);
}
.hero-stat-val span {
  color: var(--purple-bright);
}
.hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.4s both;
  pointer-events: none;
}
.hero-scroll-hint span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-arrow {
  width: 18px;
  height: 18px;
  color: var(--muted);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

/* Mouse icon*/
/* .hero-scroll-indicator[data-v-64a71563] {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-mouse[data-v-64a71563] {
  animation: scroll-fade-64a71563 2.5s ease-in-out infinite;
  block-size: 36px;
  border: 2px solid hsla(0, 0%, 100%, 0.25);
  border-radius: 12px;
  display: flex;
  inline-size: 22px;
  justify-content: center;
  padding-block-start: 6px;
}
.hero-scroll-wheel[data-v-64a71563] {
  animation: scroll-wheel-64a71563 2.5s ease-in-out infinite;
  background: #fff9;
  block-size: 6px;
  border-radius: 3px;
  inline-size: 3px;
}
@keyframes scroll-wheel-64a71563 {
  0%,
  to {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.2;
    transform: translateY(8px);
  }
}
@keyframes scroll-fade-64a71563 {
  0%,
  to {
    opacity: 0.6;
  }
  50% {
    opacity: 0.2;
  }
} */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 22, 249, 0.18),
    transparent
  );
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1.1;
}

#leaderboard {
  background: var(--dark2);
  padding: 110px 0;
}
#leaderboard > .inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 52px;
}
.lb-header {
  margin-bottom: 40px;
  text-align: center;
}
.lb-header-sub {
  font-size: 14px;
  color: var(--muted2);
  margin-top: 8px;
  line-height: 1.6;
}

.lb-wrap {
  background: rgb(1 2 2);
  border: 1px solid rgb(0 120 126 / 35%);
  border-radius: 20px;
  overflow: hidden;
  /*    backdrop-filter: blur(24px); */
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.lb-title-bar {
  padding: 26px 30px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    135deg,
    rgba(22, 233, 249, 0.04) 0%,
    transparent 100%
  );
}
.lb-title-bar h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.lb-title-bar p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.lb-live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #22c55e;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.lb-live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 10px #22c55e;
}
.lb-col-header {
  display: grid;
  grid-template-columns: 56px 1fr 110px 110px 120px;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.lb-col-header span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-col-header span:nth-child(3),
.lb-col-header span:nth-child(4),
.lb-col-header span:nth-child(5) {
  text-align: center;
}
.lb-row {
  display: grid;
  grid-template-columns: 56px 1fr 110px 110px 120px;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  align-items: center;
  transition: background 0.2s ease;
  cursor: default;
}
.lb-row:last-child {
  border-bottom: none;
}
.lb-row:hover {
  background: rgb(5 106 118 / 5%);
}
.lb-row.top-1 {
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.06) 0%,
    transparent 60%
  );
}
.lb-row.top-1:hover {
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 60%
  );
}
.lb-row.top-2 {
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.04) 0%,
    transparent 60%
  );
}
.lb-row.top-2:hover {
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.08) 0%,
    transparent 60%
  );
}
.lb-row.top-3 {
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.04) 0%,
    transparent 60%
  );
}
.lb-row.top-3:hover {
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.08) 0%,
    transparent 60%
  );
}
.rank-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
}
.rank-num.gold {
  color: #f59e0b;
}
.rank-num.silver {
  color: #94a3b8;
}
.rank-num.bronze {
  color: var(--purple-dim);
}
.lb-player {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lb-rank-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-rank-icon svg {
  width: 28px;
  height: 28px;
}
.lb-username {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}
.lb-kills {
  text-align: center;
  font-weight: 700;
  color: #4ade80;
  font-size: 14px;
}
.lb-deaths {
  text-align: center;
  font-weight: 700;
  color: #f87171;
  font-size: 14px;
}
.lb-kdr {
  text-align: center;
  font-family: 'Oxanium', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
}
.lb-kdr.kdr-high {
  color: var(--purple);
}
.lb-footer {
  padding: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(22, 161, 249, 0.02);
}
.lb-footer-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.lb-footer-link:hover {
  color: var(--purple-bright);
  text-decoration: underline;
}
.lb-skeleton {
  display: grid;
  grid-template-columns: 56px 1fr 110px 110px 120px;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  align-items: center;
}
.lb-skel-block {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}

footer {
  background: #010205;
  border-top: 1px solid var(--border);
  padding: 72px 52px 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.footer-brand-name span {
  color: var(--purple-bright);
}
.footer-brand-name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--purple-dim),
    var(--purple-bright),
    transparent
  );
  opacity: 0.4;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 240px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0.6;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}
.footer-links a:hover {
  color: var(--text);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}
.footer-copy span {
  color: var(--purple-bright);
}

/* Logo underline */

.logo-underline {
  position: relative;
  display: inline-block;
}

.logo-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--purple-dim),
    var(--purple-bright),
    transparent
  );
  opacity: 0.4;
}

@media (max-width: 960px) {
  nav.desktop-nav {
    display: none;
  }
  .mobile-topbar {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  body {
    padding-top: 58px;
    padding-bottom: 74px;
  }
  #hero {
    padding-top: 80px;
    padding-bottom: 100px;
  }
  #leaderboard > .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .lb-col-header {
    grid-template-columns: 44px 1fr 80px 80px 90px;
    padding: 10px 16px;
  }
  .lb-row {
    grid-template-columns: 44px 1fr 80px 80px 90px;
    padding: 14px 16px;
  }
  .lb-skeleton {
    grid-template-columns: 44px 1fr 80px 80px 90px;
    padding: 14px 16px;
  }
  .lb-title-bar,
  .lb-footer {
    padding: 18px 16px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  footer {
    padding: 48px 20px 32px;
  }
  .hero-stats {
    gap: 0;
  }
  .hero-stat {
    padding: 0 20px;
  }
}
@media (max-width: 560px) {
  .lb-col-header span:nth-child(4) {
    display: none;
  }
  .lb-row .lb-deaths {
    display: none;
  }
  .lb-skeleton .lb-skel-deaths {
    display: none;
  }
  .lb-col-header {
    grid-template-columns: 40px 1fr 80px 100px;
  }
  .lb-row {
    grid-template-columns: 40px 1fr 80px 100px;
  }
  .lb-skeleton {
    grid-template-columns: 40px 1fr 80px 100px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-buttons .btn {
    min-width: 150px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stat + .hero-stat::before {
    display: none;
  }
}
@media (max-width: 400px) {
  .hero-wordmark {
    font-size: 80px;
    letter-spacing: 2px;
  }
}

/* PAGE BG */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% -5%,
      rgba(34, 211, 238, 0.18) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 35% at 85% 80%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 35% 30% at 10% 75%,
      rgba(8, 145, 178, 0.08) 0%,
      transparent 50%
    );
}
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 35%,
    rgba(8, 5, 2, 0.88) 100%
  );
}
.page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(249, 115, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 90% 90% at 50% 40%,
    black 10%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 90% at 50% 40%,
    black 10%,
    transparent 80%
  );
}

/* ── TOAST ── */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(8, 20, 20, 0.95);
  border: 1px solid var(--purple-bright);
  border-radius: 10px;
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(22, 234, 249, 0.2);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.toast.visible {
  transform: translateX(0);
  opacity: 1;
}
.toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── STORE SUB-NAV ── */
.store-subnav {
  position: sticky;
  top: 66px;
  z-index: 100;
  background: rgba(2, 3, 3, 0.5);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 52px;
}
.store-subnav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
}
.subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border: 1px solid transparent;
}
.subnav-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.subnav-item:hover {
  color: var(--text);
  background: rgba(14, 121, 121, 0.08);
  border-color: var(--border-purple);
}
.subnav-item.active {
  color: var(--purple-bright);
  background: rgba(22, 249, 249, 0.08);
  border-color: var(--purple-bright);
}
.subnav-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 4px;
}
.subnav-cart-wrap {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--purple-bright);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── STORE MAIN ── */
.store-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 52px 100px;
}

/* PAGE HERO */
.store-hero {
  text-align: center;
  margin-bottom: 64px;
  padding: 30px 0 10px;
}
.store-hero-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}
.store-hero-title span {
  color: var(--purple-bright);
}
.store-hero-sub {
  margin-top: 22px;
  font-size: 15px;
  color: #b8bdd0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-pill-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ea6bd;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-pill svg {
  width: 16px;
  height: 16px;
  color: var(--purple-bright);
  flex-shrink: 0;
}

/* SECTION HEADERS */
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-header-icon svg {
  width: 18px;
  height: 18px;
  color: var(--purple-bright);
}
.section-header-icon.amber {
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
}
.section-header-icon.amber svg {
  color: var(--purple-bright);
}
.section-header-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.section-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--purple-dim),
    var(--purple-bright),
    transparent
  );
}
.section-header-line.amber {
  background: linear-gradient(
    90deg,
    var(--purple-dim),
    var(--purple-bright),
    transparent
  );
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-grid.ranks-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-grid.packs-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* PRODUCT CARD */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(168, 85, 247, 0.07),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.product-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(168, 85, 247, 0.15);
}
.product-card:hover::before {
  opacity: 1;
}
.product-card:hover::after {
  transform: rotate(25deg) translateX(100%);
}
.product-card.featured {
  border-color: rgba(168, 85, 247, 0.35);
  background: linear-gradient(145deg, #091c1e, #061215);
}
.product-card.featured::before {
  opacity: 1;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}
.card-badge.popular {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}
.card-badge.recommended {
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  color: #fff;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--purple-bright);
}
.card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 4px;
}
.card-subtitle {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  flex: 1;
}
.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.45;
}
.card-features li svg {
  width: 14px;
  height: 14px;
  color: var(--purple-bright);
  flex-shrink: 0;
  margin-top: 1px;
}
.card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 18px;
}
.card-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-price-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.card-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--purple-bright);
  line-height: 1;
}
.card-price .period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.btn-add-cart {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-add-cart svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.4);
}
.btn-add-cart:active {
  transform: translateY(0);
}
.btn-add-cart.in-cart {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-purple);
  cursor: default;
}
.btn-add-cart.in-cart:hover {
  transform: none;
  box-shadow: none;
}
.btn-view-contents {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--border-purple);
  background: transparent;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.btn-view-contents svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--purple-bright);
}
.btn-view-contents:hover {
  background: rgba(249, 115, 22, 0.06);
  border-color: var(--purple-bright);
  color: var(--text);
}

/* RANK CARD */
.rank-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rank-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(168, 85, 247, 0.06),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.rank-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.rank-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.rank-card:hover::before {
  opacity: 1;
}
.rank-card:hover::after {
  transform: rotate(25deg) translateX(100%);
}
.rank-card.featured-rank {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(145deg, #1e1209, #150d06);
}
.rank-card.featured-rank::before {
  opacity: 1;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
}
.rank-badge.popular {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}
.rank-badge.recommended {
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  color: #fff;
}

/* DOOMSDAY - Green Theme */
.rank-card.doomsday-card {
  border-color: var(--border-green);
  background: linear-gradient(145deg, #0d1a0f, #0a150c);
}
.rank-card.doomsday-card::before {
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(34, 197, 94, 0.08),
    transparent
  );
  opacity: 1;
}
.rank-card.doomsday-card:hover {
  border-color: var(--green);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(34, 197, 94, 0.15);
}
.rank-card.doomsday-card .rank-price {
  color: var(--green);
}
.rank-card.doomsday-card .rank-features li svg {
  color: var(--green);
}
.rank-card.doomsday-card .btn-add-cart {
  background: linear-gradient(135deg, var(--green-dim), var(--green));
}
.rank-card.doomsday-card .btn-add-cart:hover {
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.4);
}
.rank-card.doomsday-card .btn-view-contents {
  border-color: var(--border-green);
}
.rank-card.doomsday-card .btn-view-contents:hover {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.06);
}
.rank-card.doomsday-card .btn-view-contents svg {
  color: var(--green);
}

/* DOMINION - White/Silver Theme */
.rank-card.dominion-card {
  border-color: var(--border-white);
  background: linear-gradient(145deg, #1a1a1a, #141414);
}
.rank-card.dominion-card::before {
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  opacity: 1;
}
.rank-card.dominion-card:hover {
  border-color: var(--white);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 255, 255, 0.1);
}
.rank-card.dominion-card .rank-price {
  color: var(--white);
}
.rank-card.dominion-card .rank-features li svg {
  color: var(--white);
}
.rank-card.dominion-card .btn-add-cart {
  background: linear-gradient(135deg, var(--white-dim), var(--white-bright));
  color: #111;
}
.rank-card.dominion-card .btn-add-cart:hover {
  background: linear-gradient(135deg, var(--white-bright), #fff);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
}
.rank-card.dominion-card .btn-view-contents {
  border-color: var(--border-white);
}
.rank-card.dominion-card .btn-view-contents:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.rank-card.dominion-card .btn-view-contents svg {
  color: var(--white);
}

/* GALACTIC - Sky-blue Theme */
.rank-card.galactic-card {
  border-color: var(--border-sky);
  background: linear-gradient(145deg, #0a1520, #081018);
}
.rank-card.galactic-card::before {
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(14, 165, 233, 0.08),
    transparent
  );
  opacity: 1;
}
.rank-card.galactic-card:hover {
  border-color: var(--sky);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(14, 165, 233, 0.15);
}
.rank-card.galactic-card .rank-price {
  color: var(--sky);
}
.rank-card.galactic-card .rank-features li svg {
  color: var(--sky);
}
.rank-card.galactic-card .btn-add-cart {
  background: linear-gradient(135deg, var(--sky-dim), var(--sky-bright));
}
.rank-card.galactic-card .btn-add-cart:hover {
  background: linear-gradient(135deg, var(--sky-bright), #7dd3fc);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.4);
}
.rank-card.galactic-card .btn-view-contents {
  border-color: var(--border-sky);
}
.rank-card.galactic-card .btn-view-contents:hover {
  border-color: var(--sky);
  background: rgba(14, 165, 233, 0.06);
}
.rank-card.galactic-card .btn-view-contents svg {
  color: var(--sky);
}

/* VANGUARD - Light-purple Theme */
.rank-card.vanguard-card {
  border-color: var(--border-purple);
  background: linear-gradient(145deg, #1a0d20, #150a18);
}
.rank-card.vanguard-card::before {
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(168, 85, 247, 0.08),
    transparent
  );
  opacity: 1;
}
.rank-card.vanguard-card:hover {
  border-color: var(--purple);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(168, 85, 247, 0.15);
}
.rank-card.vanguard-card .rank-price {
  color: var(--purple);
}
.rank-card.vanguard-card .rank-features li svg {
  color: var(--purple);
}
.rank-card.vanguard-card .btn-add-cart {
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
}
.rank-card.vanguard-card .btn-add-cart:hover {
  background: linear-gradient(135deg, var(--purple-bright), #d8b4fe);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.4);
}
.rank-card.vanguard-card .btn-view-contents {
  border-color: var(--border-purple);
}
.rank-card.vanguard-card .btn-view-contents:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.06);
}
.rank-card.vanguard-card .btn-view-contents svg {
  color: var(--purple);
}

.rank-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 4px;
}
.rank-duration {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.rank-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}
.rank-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.4;
}
.rank-features li svg {
  width: 13px;
  height: 13px;
  color: var(--orange-bright);
  flex-shrink: 0;
  margin-top: 1px;
}
.rank-price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}
.rank-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--orange-bright);
  line-height: 1;
}
.rank-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* PACK CARD (amber theme) */
.pack-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    rgba(245, 158, 11, 0.07),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.pack-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.pack-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(245, 158, 11, 0.12);
}
.pack-card:hover::before {
  opacity: 1;
}
.pack-card:hover::after {
  transform: rotate(25deg) translateX(100%);
}
.pack-card .pack-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pack-card .pack-icon svg {
  width: 20px;
  height: 20px;
  color: var(--amber-bright);
}
.pack-card .pack-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 4px;
}
.pack-card .pack-desc {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.4;
  flex: 1;
}
.pack-card .pack-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pack-card .pack-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--amber-bright);
  line-height: 1;
}
.pack-card .pack-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pack-card .pack-qty-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pack-card .pack-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
}
.pack-card .pack-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-amber);
  background: rgba(245, 158, 11, 0.06);
  color: var(--amber-bright);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pack-card .pack-qty-btn:first-child {
  border-radius: 6px 0 0 6px;
}
.pack-card .pack-qty-btn:last-child {
  border-radius: 0 6px 6px 0;
}
.pack-card .pack-qty-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--amber-bright);
}
.pack-card .pack-qty-val {
  width: 36px;
  height: 28px;
  border-top: 1px solid var(--border-amber);
  border-bottom: 1px solid var(--border-amber);
  background: rgba(245, 158, 11, 0.03);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
}
.pack-card .btn-view-contents {
  border-color: var(--border-amber);
  margin-bottom: 8px;
}
.pack-card .btn-view-contents svg {
  color: var(--amber-bright);
}
.pack-card .btn-view-contents:hover {
  border-color: var(--amber-bright);
  background: rgba(245, 158, 11, 0.06);
  color: var(--text);
}
.pack-card .btn-add-cart {
  background: linear-gradient(135deg, var(--amber-dim), var(--amber-bright));
}
.pack-card .btn-add-cart:hover {
  background: linear-gradient(135deg, var(--amber-bright), #fde68a);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
}

/* BUNDLE CARD */
.bundle-card {
  background: linear-gradient(145deg, #1a0d1f, #150a18);
  border: 2px solid rgba(139, 92, 246, 0.35);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.bundle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 40% at 0% 50%,
    rgba(139, 92, 246, 0.1),
    transparent
  );
  pointer-events: none;
}
.bundle-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 50%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.bundle-card:hover {
  border-color: #a855f7;
  transform: translateY(-4px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(139, 92, 246, 0.15);
}
.bundle-card:hover::after {
  transform: rotate(25deg) translateX(100%);
}
.bundle-info {
  flex: 1;
}
.bundle-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #a855f7;
  margin-bottom: 4px;
}
.bundle-subtitle {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 14px;
}
.bundle-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bundle-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.bundle-tag.save {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}
.bundle-tag.discount {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber);
}
.bundle-tag svg {
  width: 12px;
  height: 12px;
}
.bundle-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.bundle-price-wrap {
  text-align: right;
}
.bundle-price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.bundle-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #a855f7;
  line-height: 1;
}
.bundle-btn {
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.bundle-btn:hover {
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.4);
}
.bundle-btn.in-cart {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.3);
  cursor: default;
}
.bundle-btn.in-cart:hover {
  transform: none;
  box-shadow: none;
}
.bundle-btn svg {
  width: 15px;
  height: 15px;
}

/* STORE SECTION */
.store-section {
  margin-bottom: 80px;
  scroll-margin-top: 130px;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--purple-dim),
    transparent
  );
  opacity: 0.12;
  margin-bottom: 80px;
}

/* PACK CONTENTS MODAL */
.pack-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.pack-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.pack-modal-blur {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 5, 0.82);
  backdrop-filter: blur(12px) saturate(0.6);
}
.pack-modal-box {
  position: relative;
  z-index: 1;
  background: #13100a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}
.pack-modal-overlay.open .pack-modal-box {
  transform: scale(1) translateY(0);
}
.pack-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.pack-modal-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.pack-modal-header-icon svg {
  width: 22px;
  height: 22px;
  color: var(--amber-bright);
}
.pack-modal-header-text {
  flex: 1;
  min-width: 0;
}
.pack-modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
}
.pack-modal-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.pack-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pack-modal-close:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.pack-modal-close svg {
  width: 14px;
  height: 14px;
}

.pack-modal-tabs {
  display: flex;
  gap: 0;
  padding: 14px 22px 0;
  flex-shrink: 0;
}
.pack-tab-btn {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.pack-tab-btn:first-child {
  border-radius: 9px 0 0 9px;
  border-right: none;
}
.pack-tab-btn:last-child {
  border-radius: 0 9px 9px 0;
}
.pack-tab-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.pack-tab-btn.active.weapons {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.pack-tab-btn.active.resources {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: var(--green);
}

.pack-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
}
.pack-modal-body::-webkit-scrollbar {
  width: 3px;
}
.pack-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.pack-tab-panel {
  display: none;
}
.pack-tab-panel.active {
  display: block;
}
.pack-items-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.pack-item-slot {
  background: #1c1510;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 4px 6px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s;
}
.pack-item-slot:hover {
  border-color: rgba(245, 158, 11, 0.3);
}
.pack-item-slot-img {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pack-item-slot-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pack-item-slot-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
  padding: 2px;
}
.pack-item-qty {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.pack-item-name-tip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.pack-item-slot:hover .pack-item-name-tip {
  opacity: 1;
}
.pack-item-name-tip span {
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
  padding: 2px 5px;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
}

.pack-nothing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 20px;
  gap: 10px;
  color: var(--muted);
}
.pack-nothing svg {
  width: 36px;
  height: 36px;
  opacity: 0.25;
}
.pack-nothing p {
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pack-modal-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.pack-modal-add-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--amber-dim), var(--amber-bright));
  color: #fff;
}
.pack-modal-add-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.pack-modal-add-btn:hover {
  background: linear-gradient(135deg, var(--amber-bright), #fde68a);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  nav.desktop-nav {
    display: none;
  }
  .mobile-topbar {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  body {
    padding-top: 58px;
    padding-bottom: 74px;
  }
  .store-subnav {
    top: 58px;
  }
  .store-wrap {
    padding: 40px 20px 100px;
  }
  .product-grid,
  .product-grid.ranks-grid,
  .product-grid.packs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .toast-container {
    top: 70px;
    right: 10px;
    left: 10px;
  }
  .pack-items-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .product-grid,
  .product-grid.ranks-grid,
  .product-grid.packs-grid {
    grid-template-columns: 1fr;
  }
  .subnav-item span {
    display: none;
  }
  .subnav-item {
    padding: 8px 14px;
  }
  .pack-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-pill {
    width: 100%;
    justify-content: center;
  }
  .store-hero-sub {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .bundle-card {
    flex-direction: column;
    align-items: stretch;
  }
  .bundle-right {
    align-items: center;
  }
  .bundle-price-wrap {
    text-align: center;
  }
  .bundle-tags {
    justify-content: center;
  }
}

/* MAIN */
main {
  position: relative;
  z-index: 5;
  padding: 130px 24px 100px;
  max-width: 1040px;
  margin: 0 auto;
}

/* PAGE HEADER */
.page-header {
  text-align: center;
  margin-bottom: 56px;
}
.page-header h1 {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.header-separator {
  width: 100%;
  max-width: 300px;
  height: 1px;
  margin: 0 auto 16px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(249, 115, 22, 0.7),
    transparent
  );
}
.page-header p {
  font-size: 13px;
  color: var(--muted2);
  letter-spacing: 0.3px;
}

/* SERVER CARDS */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.server-card {
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
  border-radius: 16px;
  padding: 26px 26px 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s;
  cursor: pointer;
}
.server-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.055) 40%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.055) 60%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.1s;
  pointer-events: none;
  z-index: 2;
}
.server-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(22, 185, 249, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-color: var(--purple-bright);
}
.server-card:hover::before {
  opacity: 1;
  animation: cardShine 0.55s ease forwards;
}
@keyframes cardShine {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(110%);
  }
}
.server-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 132, 252, 0.5),
    transparent
  );
  opacity: 0;
  transition: opacity 0.28s;
  pointer-events: none;
  z-index: 2;
}
.server-card:hover::after {
  opacity: 1;
}

.card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.card-corner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 48px 48px 0;
  border-color: transparent rgba(22, 185, 249, 0.12) transparent transparent;
  transition: border-color 0.28s;
}
.server-card:hover .card-corner::before {
  border-color: transparent rgba(22, 185, 249, 0.26) transparent transparent;
}

.server-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 4;
}
.server-region {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 3px 9px;
}
.server-status {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-online .status-dot {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}
.status-online {
  color: #22c55e;
}
.status-soon .status-dot {
  background: var(--muted);
}
.status-soon {
  color: var(--muted);
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.6);
  }
}

.server-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  position: relative;
  z-index: 4;
  transition: color 0.2s;
}
.server-card:hover .server-name {
  color: var(--purple-bright);
}
.server-loc {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 4;
}

.progress-wrap {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  z-index: 4;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--purple-dim),
    var(--purple-bright),
    var(--purple)
  );
  border-radius: 3px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
  border-radius: 3px;
}

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 4;
}
.player-count {
  font-size: 13px;
  color: var(--muted2);
  font-weight: 500;
}
.player-count strong {
  color: var(--text);
  font-weight: 700;
}

.queue-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 3px 10px;
}
.full-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 20px;
  padding: 3px 10px;
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 3px 10px;
}

.card-rate-tag {
  position: absolute;
  bottom: 24px;
  right: 26px;
  font-family: 'Oxanium', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(22, 185, 249, 0.3);
  letter-spacing: 1px;
  transition: color 0.28s;
  z-index: 4;
}
.server-card:hover .card-rate-tag {
  color: var(--purple); /* rgba(249, 115, 22, 0.6); */
}
.card-click-hint {
  position: absolute;
  bottom: 24px;
  left: 26px;
  font-size: 10px;
  color: var(--muted);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s;
}
.server-card:hover .card-click-hint {
  opacity: 1;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 20px;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-blur-bg {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background: rgba(1, 5, 5, 0.75);
}
.modal-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  background: linear-gradient(145deg, var(--dark2), var(--dark3));
  border: 1px solid var(--purple-bright);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 0 1px rgba(22, 185, 249, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(22, 222, 249, 0.205);
}
.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}
.modal-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(22, 241, 249, 0.9),
    transparent
  );
}

.modal-header {
  padding: 26px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-region-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 3px 9px;
}
.modal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
}
.modal-server-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.modal-server-title .t-orange {
  color: var(--orange-bright);
}
.modal-server-title .t-purple {
  color: var(--purple-bright);
}
.modal-server-name-line {
  font-size: 12px;
  color: var(--muted2);
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.6;
}
.modal-server-name-line .t-orange {
  color: var(--orange-bright);
}
.modal-server-name-line .t-purple {
  color: var(--purple-bright);
}
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  color: var(--muted);
}
.modal-close-btn:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}
.modal-close-btn svg {
  width: 16px;
  height: 16px;
}

.modal-body {
  padding: 24px 28px;
}

.modal-player-section {
  margin-bottom: 22px;
}
.modal-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.modal-player-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-player-nums {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.modal-player-nums strong {
  color: var(--purple-bright);
}
.modal-progress-wrap {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.modal-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--purple-dim),
    var(--purple-bright),
    var(--purple)
  );
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0%;
  position: relative;
}
.modal-progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  border-radius: 4px;
}
.modal-status-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.modal-wipe-section {
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
}
.modal-wipe-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.modal-wipe-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--purple-bright);
  animation: pulseDot 2s ease-in-out infinite;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  padding: 12px 6px;
  position: relative;
  overflow: hidden;
}
.countdown-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(22, 234, 249, 0.45),
    transparent
  );
}
.countdown-val {
  font-family: 'Oxanium', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  transition: color 0.3s;
}
.countdown-val.tick {
  animation: countTick 0.3s ease;
}
@keyframes countTick {
  0% {
    transform: translateY(-4px);
    opacity: 0.4;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.countdown-val.warn {
  color: var(--amber);
}
.countdown-val.urgent {
  color: #f87171;
}
.countdown-unit {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.wipe-date-note {
  font-size: 11px;
  color: var(--muted2);
  margin-top: 12px;
  text-align: center;
}
.wipe-date-note strong {
  color: var(--text);
}

.modal-footer {
  padding: 0 28px 26px;
  display: flex;
  gap: 12px;
}
.modal-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  border: none;
  font-family: 'Inter', sans-serif;
}
.modal-btn-primary {
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
  color: #fff;
}
.modal-btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(22, 234, 249, 0.45);
}
.modal-btn-primary svg {
  width: 16px;
  height: 16px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 960px) {
  nav.desktop-nav {
    display: none;
  }
  .mobile-topbar {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  body {
    padding-bottom: 74px;
  }
  main {
    padding-top: 88px;
    padding-bottom: 100px;
  }
}
@media (max-width: 560px) {
  .servers-grid {
    grid-template-columns: 1fr;
  }
  .countdown-val {
    font-size: 20px;
  }
  .modal-server-title {
    font-size: 22px;
  }
  .modal-header {
    padding: 20px;
  }
  .modal-body {
    padding: 18px 20px;
  }
  .modal-footer {
    padding: 0 20px 22px;
  }
}

/* BG TO IDK WHAT */
/* .bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% -5%,
      rgba(234, 88, 12, 0.18) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 35% at 85% 80%,
      rgba(245, 158, 11, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 35% 30% at 10% 75%,
      rgba(249, 115, 22, 0.06) 0%,
      transparent 50%
    );
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    black 20%,
    transparent 85%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    black 20%,
    transparent 85%
  );
} */

/* ── PAGE ── */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 24px 140px;
}

/* ════════════════════════════════════════════
   EARN PANEL
   ════════════════════════════════════════════ */
.earn-panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
  background: rgba(4, 12, 14, 0.98);
  border: 1px solid rgba(168, 85, 247, 0.2);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.5);
}
.earn-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.6) 20%,
    rgb(60, 190, 251) 50%,
    rgba(168, 85, 247, 0.6) 80%,
    transparent
  );
  z-index: 2;
}
.earn-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse 60% 40% at 50% 0%,
    rgba(168, 85, 247, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.earn-panel-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 32px 20px;
}
.earn-rate-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.earn-rate-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.earn-rate-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.earn-rate-num {
  font-family: 'Oxanium', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--purple-bright);
  line-height: 1;
  text-shadow:
    0 0 40px rgba(168, 85, 247, 0.5),
    0 0 80px rgba(168, 85, 247, 0.2);
}
.earn-rate-unit {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 0.5px;
}

.earn-bal-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.earn-bal-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 80% at 50% 0%,
    rgba(22, 241, 249, 0.06),
    transparent
  );
  pointer-events: none;
}
.earn-bal-gem {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.15),
    rgba(60, 238, 251, 0.06)
  );
  border: 1px solid rgba(168, 85, 247, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.15);
}
.earn-bal-gem svg {
  width: 20px;
  height: 20px;
}
.earn-bal-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.earn-bal-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.earn-bal-num {
  font-family: 'Oxanium', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--purple-bright);
  line-height: 1;
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.4);
}

.earn-panel-sep {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 0 32px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.12) 20%,
    rgba(168, 85, 247, 0.12) 80%,
    transparent
  );
}

.earn-ranks-label {
  position: relative;
  z-index: 1;
  padding: 16px 32px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.earn-ranks-label-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.earn-ranks-active-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
}
.earn-ranks-active-count span {
  color: var(--purple-bright);
}

.earn-ranks-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  padding: 0 32px 24px;
  gap: 8px;
}

.earn-panel-foot {
  position: relative;
  z-index: 1;
  padding: 12px 32px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.earn-panel-foot-note {
  font-size: 12px;
  color: var(--muted);
}
.earn-panel-foot-note strong {
  color: var(--muted2);
  font-weight: 600;
}
.earn-panel-foot-note a {
  color: var(--purple-bright);
  text-decoration: none;
  font-weight: 600;
}
.earn-panel-foot-note a:hover {
  text-decoration: underline;
}
.earn-panel-foot-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.earn-panel-header {
  grid-template-columns: 1fr;
  padding: 20px 20px 16px;
  gap: 14px;
}
.earn-bal-chip {
  width: 100%;
}
.earn-panel-sep {
  margin: 0 20px;
}
.earn-ranks-label {
  padding: 14px 20px 6px;
}
.earn-ranks-strip {
  padding: 0 20px 20px;
  flex-wrap: wrap;
}
.rank-tile {
  min-width: calc(33.333% - 6px);
  flex: unset;
}
.earn-panel-foot {
  padding: 10px 20px 16px;
}
.earn-rate-num {
  font-size: 36px;
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  }
  .rank-tile {
    min-width: calc(50% - 4px);
  }
  .earn-rate-num {
    font-size: 30px;
  }
  .earn-bal-num {
    font-size: 22px;
  }
}

.product-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-slider {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}
.product-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-bright);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 6px rgba(22, 241, 249, 0.5);
}
.product-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-bright);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.5);
}
.product-slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-slider-qty {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted2);
}
.product-slider-qty strong {
  color: var(--text);
}
.product-slider-total {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-bright);
}
.product-slider-total svg {
  width: 11px;
  height: 11px;
}

/* ── STORE ── */
.store-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.store-page-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.store-page-title span {
  color: var(--purple-bright);
}
.store-page-sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted2);
  transition: all 0.18s;
}
.cat-tab:hover {
  color: var(--text);
  border-color: var(--border-purple);
}
.cat-tab.active {
  color: var(--purple-bright);
  border-color: var(--border-purple);
  background: rgba(168, 85, 247, 0.06);
}

.product-grid-jewel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.product-card {
  background: linear-gradient(
    160deg,
    rgba(6, 15, 18, 0.97),
    rgba(4, 12, 13, 0.98)
  );
  border: 1px solid rgba(10, 29, 30, 0.9);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: relative;
}
.product-card:hover {
  border-color: rgba(22, 234, 249, 0.45);
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(22, 234, 249, 0.12),
    0 0 0 1px rgba(22, 234, 249, 0.08);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(22, 222, 249, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover::before {
  opacity: 1;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 160px;
  background: linear-gradient(
    160deg,
    rgba(7, 19, 20, 0.98),
    rgba(3, 9, 11, 0.98)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 30, 27, 0.9);
}
.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    rgba(22, 249, 230, 0.04),
    transparent
  );
  pointer-events: none;
}
.product-img-wrap img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}
.product-img-fallback {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--muted2);
  letter-spacing: 1px;
  text-align: center;
  padding: 8px;
  line-height: 1.2;
}
.product-img-cat-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(10, 7, 3, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--muted2);
  z-index: 2;
  backdrop-filter: blur(8px);
}

.product-body {
  padding: 14px 15px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.product-qty-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.product-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 7px;
  padding: 4px 9px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--purple-bright);
}
.product-price-badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.product-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}
.product-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-bright);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 6px rgba(22, 222, 249, 0.5);
}
.product-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-bright);
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.5);
}
.product-slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-slider-qty {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted2);
}
.product-slider-qty strong {
  color: var(--text);
}
.product-slider-total {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-bright);
}
.product-slider-total svg {
  width: 11px;
  height: 11px;
}

.product-buy-btn {
  width: 100%;
  padding: 11px;
  border-radius: 9px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.product-buy-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.product-buy-btn:hover:not(:disabled)::before {
  opacity: 1;
}
.product-buy-btn:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.45);
  transform: translateY(-1px);
}
.product-buy-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted2);
}
.product-buy-btn.login-req {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted2);
}
.product-buy-btn.link-req {
  background: rgba(168, 85, 247, 0.07);
  border: 1px solid var(--border-purple);
  color: var(--purple-bright);
}

.wrong-server-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.wrong-server-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.wrong-server-note svg {
  width: 16px;
  height: 16px;
  color: var(--purple-bright);
  flex-shrink: 0;
  margin-top: 1px;
}

.server-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  gap: 16px;
  background: rgba(10, 7, 3, 0.5);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 32px;
}
.server-gate svg {
  width: 48px;
  height: 48px;
  color: var(--muted);
  opacity: 0.4;
}
.server-gate-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted2);
}
.server-gate-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 340px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  gap: 14px;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty-state svg {
  width: 44px;
  height: 44px;
  opacity: 0.25;
}
.empty-state p {
  font-size: 14px;
}

.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  pointer-events: none;
}
/* .toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #1c140d;
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  max-width: 320px;
  animation: toastIn 3.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
} */
.toast.success {
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.toast.error {
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.toast.info {
  border-color: rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── BASE TILE (always on, muted look) ── */
.rank-tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.rank-tile.base-tile {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: default;
}
.rank-tile.base-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
}
.rank-tile-bonus.base {
  color: var(--muted2);
  text-shadow: none;
}
.rank-tile-dot.base {
  background: var(--muted2);
  box-shadow: none;
}
.rank-tile-name.base {
  color: var(--muted);
}
.rank-tile-status.base {
  color: var(--muted);
}

/* ── INACTIVE (locked) tiles ── */
.rank-tile.inactive-tile {
  border-color: rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.015);
}
.rank-tile-bonus.inactive {
  color: rgba(255, 255, 255, 0.13);
}
.rank-tile-dot.inactive {
  background: rgba(255, 255, 255, 0.1);
}
.rank-tile-name.inactive {
  color: rgba(255, 255, 255, 0.13);
}
.rank-tile-status.inactive {
  color: rgba(255, 255, 255, 0.1);
}

/* ── ACTIVE rank tiles (colored) ── */
.rank-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rank-tile-bonus {
  font-family: 'Oxanium', sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.rank-tile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rank-tile-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-tile-status {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

/* DOMINION — white/silver */
.rank-tile.active-dominion {
  border-color: var(--rank-dominion-border);
  background: var(--rank-dominion-bg);
}
.rank-tile.active-dominion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rank-dominion),
    transparent
  );
}
.rank-tile-bonus.dominion {
  color: var(--rank-dominion);
  text-shadow: 0 0 16px var(--rank-dominion-glow);
}
.rank-tile-dot.dominion {
  background: var(--rank-dominion);
  box-shadow: 0 0 8px var(--rank-dominion-glow);
}
.rank-tile-name.dominion {
  color: rgba(232, 232, 240, 0.75);
}
.rank-tile-status.dominion {
  color: rgba(232, 232, 240, 0.45);
}

/* GALACTIC — sky blue */
.rank-tile.active-galactic {
  border-color: var(--rank-galactic-border);
  background: var(--rank-galactic-bg);
}
.rank-tile.active-galactic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rank-galactic),
    transparent
  );
}
.rank-tile-bonus.galactic {
  color: var(--rank-galactic);
  text-shadow: 0 0 16px var(--rank-galactic-glow);
}
.rank-tile-dot.galactic {
  background: var(--rank-galactic);
  box-shadow: 0 0 8px var(--rank-galactic-glow);
}
.rank-tile-name.galactic {
  color: rgba(56, 189, 248, 0.75);
}
.rank-tile-status.galactic {
  color: rgba(56, 189, 248, 0.45);
}

/* VANGUARD — light purple */
.rank-tile.active-vanguard {
  border-color: var(--rank-vanguard-border);
  background: var(--rank-vanguard-bg);
}
.rank-tile.active-vanguard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rank-vanguard),
    transparent
  );
}
.rank-tile-bonus.vanguard {
  color: var(--rank-vanguard);
  text-shadow: 0 0 16px var(--rank-vanguard-glow);
}
.rank-tile-dot.vanguard {
  background: var(--rank-vanguard);
  box-shadow: 0 0 8px var(--rank-vanguard-glow);
}
.rank-tile-name.vanguard {
  color: rgba(192, 132, 252, 0.75);
}
.rank-tile-status.vanguard {
  color: rgba(192, 132, 252, 0.45);
}

/* DOOMSDAY — light green */
.rank-tile.active-doomsday {
  border-color: var(--rank-doomsday-border);
  background: var(--rank-doomsday-bg);
}
.rank-tile.active-doomsday::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rank-doomsday),
    transparent
  );
}
.rank-tile-bonus.doomsday {
  color: var(--rank-doomsday);
  text-shadow: 0 0 16px var(--rank-doomsday-glow);
}
.rank-tile-dot.doomsday {
  background: var(--rank-doomsday);
  box-shadow: 0 0 8px var(--rank-doomsday-glow);
}
.rank-tile-name.doomsday {
  color: rgba(134, 239, 172, 0.75);
}
.rank-tile-status.doomsday {
  color: rgba(134, 239, 172, 0.45);
}

/* CHAMPION — yellow/amber */
.rank-tile.active-champion {
  border-color: var(--rank-champion-border);
  background: var(--rank-champion-bg);
}
.rank-tile.active-champion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rank-champion),
    transparent
  );
}
.rank-tile-bonus.champion {
  color: var(--rank-champion);
  text-shadow: 0 0 18px var(--rank-champion-glow);
}
.rank-tile-dot.champion {
  background: var(--rank-champion);
  box-shadow: 0 0 10px var(--rank-champion-glow);
}
.rank-tile-name.champion {
  color: rgba(251, 191, 36, 0.75);
}
.rank-tile-status.champion {
  color: rgba(251, 191, 36, 0.45);
}

/* ── CART PAGE ── */
.cart-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 52px 100px;
}

.cart-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.cart-back:hover {
  color: var(--text);
}
.cart-back svg {
  width: 14px;
  height: 14px;
}

.cart-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 36px;
}

/* EMPTY STATE */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  gap: 16px;
}
.cart-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.cart-empty-icon svg {
  width: 26px;
  height: 26px;
  color: var(--muted);
}
.cart-empty-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted2);
}
.cart-empty-sub {
  font-size: 13px;
  color: var(--muted);
}

/* CART ITEMS */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.cart-item:hover {
  border-color: var(--border-purple);
}
.cart-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--purple-bright);
}
.cart-item-icon.green {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}
.cart-item-icon.green svg {
  color: var(--green);
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-meta {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.cart-item-server {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(22, 166, 249, 0.15);
  border-radius: 5px;
  padding: 2px 7px;
  margin-top: 4px;
}
.cart-item-server svg {
  width: 10px;
  height: 10px;
}
.cart-item-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-bright);
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-item-price.green {
  color: var(--green);
}
.cart-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}
.cart-item-remove:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  color: #f87171;
}
.cart-item-remove svg {
  width: 13px;
  height: 13px;
}

/* CART FOOTER */
.cart-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cart-total-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
}
.cart-total-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--purple-bright);
  line-height: 1;
}
.cart-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.cart-secure svg {
  width: 11px;
  height: 11px;
}
.cart-secure strong {
  color: var(--muted2);
}

/* CHECKOUT BUTTON */
.btn-checkout {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-checkout svg {
  width: 15px;
  height: 15px;
}
.btn-checkout:hover {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(168, 85, 247, 0.4);
}
.btn-checkout:active {
  transform: translateY(0);
}
.btn-checkout:disabled {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-checkout.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ── SUCCESS SCREEN ── */
#successScreen {
  display: none;
}

.success-wrapper {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 0 60px;
}

/* Status badge */
.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}
.success-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.success-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.success-title span {
  color: var(--green-bright);
}

.success-subtitle {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ORDER CARD */
.success-order-card {
  background: var(--card);
  border: 1px solid var(--border-green);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}
.success-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(34, 197, 94, 0.03);
}
.success-order-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.success-order-id {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
}
.success-order-items {
  padding: 4px 0;
}
.success-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.success-order-row:last-child {
  border-bottom: none;
}
.success-order-item-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.success-order-item-server {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.success-order-item-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}
.success-order-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  background: rgba(34, 197, 94, 0.03);
}
.success-order-total-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
}
.success-order-total-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-bright);
}

/* CTA BUTTONS */
.btn-inventory {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.06);
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  margin-bottom: 12px;
}
.btn-inventory svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.btn-inventory:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.12);
}
.btn-inventory:hover svg {
  transform: translateX(3px);
}

.success-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.success-back-link:hover {
  border-color: var(--border-orange);
  color: var(--muted2);
}
.success-back-link svg {
  width: 12px;
  height: 12px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  nav.desktop-nav {
    display: none;
  }
  .mobile-topbar {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  body {
    padding-top: 58px;
    padding-bottom: 74px;
  }
  .cart-page {
    padding: 32px 20px 100px;
  }
}
@media (max-width: 600px) {
  .cart-item {
    padding: 14px;
    gap: 12px;
  }
  .cart-item-icon {
    width: 36px;
    height: 36px;
  }
  .cart-item-name {
    font-size: 14px;
  }
  .cart-item-price {
    font-size: 17px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.body-nav {
  padding-top: 66px;
  min-height: 100vh;
}

/* HERO */
#lb-hero {
  padding: 138px 24px 64px;
  text-align: center;
}
.lb-hero-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0;
  animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.lb-hero-sub {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto;
  opacity: 0;
  animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* CONTROLS BAR */
#lb-page-controls {
  position: sticky;
  top: 66px;
  z-index: 100;
  background: var(--background-btn);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  padding: 14px 52px;
}
.controls-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ctrl-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ctrl-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.ctrl-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
  user-select: none;
  min-width: 150px;
}
.ctrl-select:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--purple-bright);
}
.ctrl-select svg.icon {
  width: 14px;
  height: 14px;
  color: var(--purple-bright);
  flex-shrink: 0;
}
.ctrl-select svg.chevron {
  width: 12px;
  height: 12px;
  color: var(--muted);
  margin-left: auto;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ctrl-select.open svg.chevron {
  transform: rotate(180deg);
}
.ctrl-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: #071213;
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  z-index: 500;
}
.ctrl-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ctrl-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.ctrl-dropdown-item:last-child {
  border-bottom: none;
}
.ctrl-dropdown-item:hover {
  background: rgba(168, 85, 247, 0.08);
  color: #fff;
}
.ctrl-dropdown-item.selected {
  color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.06);
}
.ctrl-dropdown-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.ctrl-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 4px;
  flex-shrink: 0;
}
.ctrl-search {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--background-btn);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.ctrl-search:focus-within {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.05);
}
.ctrl-search svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.ctrl-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  width: 100%;
}
.ctrl-search input::placeholder {
  color: var(--muted);
}
.ctrl-refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}
.ctrl-refresh:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--purple-bright);
  color: #fff;
  transform: translateY(-1px);
}
.ctrl-refresh svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.5s;
}
.ctrl-refresh.spinning svg {
  transform: rotate(360deg);
}

/* MAIN */
#lb-main {
  padding: 0 52px 120px;
}
.lb-page-wrap {
  max-width: 1060px;
  margin: 0 auto;
}

/* Stats bar */
.lb-stats-bar {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.lb-stat-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(3, 9, 10, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  flex: 1;
  min-width: 160px;
}
.lb-stat-chip svg {
  width: 16px;
  height: 16px;
  color: var(--purple-bright);
  flex-shrink: 0;
  opacity: 0.8;
}
.lb-stat-chip-inner {
  display: flex;
  flex-direction: column;
}
.lb-stat-chip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.lb-stat-chip-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

/* Table */
.lb-table-wrap {
  background: rgba(2, 7, 8, 0.72);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(24px);
}
.lb-col-header {
  display: grid;
  grid-template-columns: 64px 1fr 110px 110px 110px 140px;
  padding: 14px 28px;
  background: rgba(168, 85, 247, 0.03);
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}
.lb-col-header span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.lb-col-header span.center {
  justify-content: center;
}
.lb-col-header span svg {
  width: 11px;
  height: 11px;
  color: var(--purple-bright);
}

.lb-page-row {
  display: grid;
  grid-template-columns: 64px 1fr 110px 110px 110px 140px;
  padding: 15px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.028);
  align-items: center;
  transition: background 0.18s;
  cursor: default;
  opacity: 0;
  transform: translateY(10px);
}
.lb-page-row.row-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
}
.lb-page-row:last-child {
  border-bottom: none;
}
.lb-page-row:hover {
  background: rgba(168, 85, 247, 0.04);
}
.lb-page-row.top-1 {
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.06) 0%,
    transparent 100%
  );
}
.lb-page-row.top-2 {
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.04) 0%,
    transparent 100%
  );
}
.lb-page-row.top-3 {
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.045) 0%,
    transparent 100%
  );
}
.lb-page-row.top-1:hover {
  background: rgba(245, 158, 11, 0.09);
}
.lb-page-row.top-2:hover {
  background: rgba(148, 163, 184, 0.07);
}
.lb-page-row.top-3:hover {
  background: rgba(249, 115, 22, 0.08);
}

/* .rank-cell {
  display: flex;
  align-items: center;
}
.rank-badge {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.rank-badge svg {
  width: 28px;
  height: 28px;
} */

.lb-player {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-username {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.2px;
}

.lb-kills {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #4ade80;
}
.lb-deaths {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f87171;
}
.lb-kdr {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-bright);
}
.lb-kdr.kdr-elite {
  color: var(--purple);
}
.lb-kdr.kdr-low {
  color: var(--muted2);
}
.lb-playtime {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: 0.3px;
}

.lb-empty {
  padding: 60px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.lb-loading {
  padding: 60px 28px;
  text-align: center;
}
.lb-spinner {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(168, 85, 247, 0.12);
  border-top-color: var(--purple-bright);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.lb-loading p {
  font-size: 13px;
  color: var(--muted);
}

/* Pagination */
.lb-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(168, 85, 247, 0.01);
  flex-wrap: wrap;
  gap: 12px;
}
.lb-page-info {
  font-size: 12px;
  color: var(--muted);
}
.lb-page-info strong {
  color: var(--muted2);
}
.lb-page-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--border-purple);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
}
.page-btn:hover:not(:disabled) {
  background: rgba(168, 85, 247, 0.1);
  color: #fff;
  border-color: var(--purple-bright);
}
.page-btn.active {
  background: rgba(168, 85, 247, 0.14);
  color: var(--purple-bright);
  border-color: var(--purple-bright);
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-btn svg {
  width: 13px;
  height: 13px;
}
.page-ellipsis {
  color: var(--muted);
  font-size: 12px;
  padding: 0 4px;
}

.lb-updated {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.lb-updated strong {
  color: var(--muted2);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav.desktop-nav {
    display: none;
  }
  .mobile-topbar {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  body {
    padding-top: 58px;
    padding-bottom: 74px;
  }
  #lb-hero {
    padding: 88px 20px 52px;
  }
  #lb-controls {
    top: 58px;
    padding: 12px 16px;
  }
  #lb-main {
    padding: 0 16px 100px;
  }
  .lb-col-header {
    grid-template-columns: 52px 1fr 90px 90px 110px;
    padding: 11px 16px;
  }
  .lb-row {
    grid-template-columns: 52px 1fr 90px 90px 110px;
    padding: 13px 16px;
  }
  .lb-col-header span:nth-child(4) {
    display: none;
  }
  .lb-row .lb-deaths {
    display: none;
  }
}
@media (max-width: 640px) {
  .lb-col-header {
    grid-template-columns: 48px 1fr 80px 100px;
    padding: 10px 12px;
  }
  .lb-row {
    grid-template-columns: 48px 1fr 80px 100px;
    padding: 12px 12px;
  }
  .lb-col-header span:nth-child(5) {
    display: none;
  }
  .lb-row .lb-kdr {
    display: none;
  }
  .lb-pagination {
    padding: 14px 12px;
  }
  .ctrl-sep {
    display: none;
  }
}
@media (max-width: 400px) {
  .lb-col-header {
    grid-template-columns: 44px 1fr 90px;
    padding: 10px 10px;
  }
  .lb-row {
    grid-template-columns: 44px 1fr 90px;
    padding: 12px 10px;
  }
}
/* ── PAGE ── */
.page-wrapper {
  padding-top: 66px;
}

.page-header {
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
  text-align: center;
}
.page-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-header-title {
  font-family: 'Oxanium', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.page-header-sub {
  font-size: 13px;
  color: var(--muted2);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── LINK BANNER ── */
.link-banner {
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
  position: relative;
  overflow: hidden;
}
.link-banner.unlinked {
  background: linear-gradient(
    135deg,
    rgba(30, 14, 5, 0.98),
    rgba(20, 10, 3, 0.98)
  );
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 32px rgba(234, 88, 12, 0.1);
}
.link-banner.linked {
  background: linear-gradient(
    135deg,
    rgba(5, 22, 10, 0.98),
    rgba(3, 15, 7, 0.98)
  );
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.07);
}
.banner-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.link-banner.unlinked .banner-icon {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.28);
}
.link-banner.linked .banner-icon {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.banner-icon svg {
  width: 24px;
  height: 24px;
}
.link-banner.unlinked .banner-icon svg {
  color: var(--purple-bright);
}
.link-banner.linked .banner-icon svg {
  color: var(--green);
}
.banner-body {
  flex: 1;
  min-width: 0;
}
.banner-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.link-banner.unlinked .banner-title {
  color: var(--purple-bright);
}
.link-banner.linked .banner-title {
  color: var(--green);
}
.banner-desc {
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.6;
}
.banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.btn-link-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--purple-dim), var(--purple-bright));
  color: #fff;
  transition: all 0.22s;
  white-space: nowrap;
}
.btn-link-discord:hover {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}
.btn-link-discord svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--border-purple);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: all 0.22s;
  white-space: nowrap;
}
.btn-refresh:hover {
  background: rgba(249, 115, 22, 0.08);
  border-color: var(--purple-bright);
}
.btn-refresh svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-refresh:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.inventory-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

/* ── SECTION ── */
.inv-section {
  margin-bottom: 56px;
}
.inv-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.inv-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}
.inv-section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.badge-active {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
}
.badge-kit {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--purple-bright);
}
.inv-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent);
}

/* ── EMPTY STATE ── */
.inv-empty {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.inv-empty svg {
  width: 28px;
  height: 28px;
  color: var(--muted);
  margin-bottom: 4px;
}
.inv-empty-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted2);
}
.inv-empty-desc {
  font-size: 12px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.6;
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* ── RANK / KIT CARD ── */
.rank-inv-card {
  border-radius: 16px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid;
}
.rank-inv-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.rank-inv-card:hover::after {
  transform: rotate(25deg) translateX(120%);
}
.rank-inv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% -10%,
    var(--card-glow),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.rank-inv-card:hover::before {
  opacity: 1;
}
.rank-inv-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.card-doomsday {
  background: linear-gradient(145deg, #0c1a0e, #091309);
  border-color: rgba(34, 197, 94, 0.35);
  --card-glow: rgba(34, 197, 94, 0.1);
}
.card-doomsday:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.65);
}
.card-doomsday .rank-inv-name {
  color: var(--green-bright);
}
.card-doomsday .rank-inv-meta {
  color: rgba(74, 222, 128, 0.55);
}
.card-doomsday .claim-btn-active {
  background: linear-gradient(135deg, var(--green-dim), var(--green));
}
.card-doomsday .claim-btn-active:hover {
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.4);
}

.card-vanguard {
  background: linear-gradient(145deg, #130d1a, #0d0912);
  border-color: rgba(168, 85, 247, 0.35);
  --card-glow: rgba(168, 85, 247, 0.1);
}
.card-vanguard:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.65);
}
.card-vanguard .rank-inv-name {
  color: var(--purple-bright);
}
.card-vanguard .rank-inv-meta {
  color: rgba(192, 132, 252, 0.55);
}
.card-vanguard .claim-btn-active {
  background: linear-gradient(135deg, var(--purple-dim), var(--purple));
}
.card-vanguard .claim-btn-active:hover {
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.4);
}

.card-galactic {
  background: linear-gradient(145deg, #091520, #060e17);
  border-color: rgba(56, 189, 248, 0.35);
  --card-glow: rgba(56, 189, 248, 0.1);
}
.card-galactic:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.65);
}
.card-galactic .rank-inv-name {
  color: var(--sky-bright);
}
.card-galactic .rank-inv-meta {
  color: rgba(125, 211, 252, 0.55);
}
.card-galactic .claim-btn-active {
  background: linear-gradient(135deg, var(--sky-dim), var(--sky));
}
.card-galactic .claim-btn-active:hover {
  background: linear-gradient(135deg, var(--sky), var(--sky-bright));
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.4);
}

.card-dominion {
  background: linear-gradient(145deg, #161820, #0f1018);
  border-color: rgba(203, 213, 225, 0.25);
  --card-glow: rgba(203, 213, 225, 0.05);
}
.card-dominion:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(203, 213, 225, 0.08);
  border-color: rgba(203, 213, 225, 0.5);
}
.card-dominion .rank-inv-name {
  color: var(--silver-bright);
}
.card-dominion .rank-inv-meta {
  color: rgba(203, 213, 225, 0.45);
}
.card-dominion .claim-btn-active {
  background: linear-gradient(135deg, var(--silver-dim), var(--silver));
  color: #ffffff !important;
}
.card-dominion .claim-btn-active:hover {
  background: linear-gradient(135deg, var(--silver), var(--silver-bright));
  box-shadow: 0 8px 28px rgba(203, 213, 225, 0.2);
}

.card-kit {
  background: linear-gradient(145deg, #1a1203, #120d02);
  border-color: rgba(245, 158, 11, 0.35);
  --card-glow: rgba(245, 158, 11, 0.08);
}
.card-kit:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.65);
}
.card-kit .rank-inv-name {
  color: var(--purple-bright);
}
.card-kit .rank-inv-meta {
  color: rgba(251, 191, 36, 0.55);
}
.card-kit .claim-btn-active {
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  color: #0a0704 !important;
}
.card-kit .claim-btn-active:hover {
  background: linear-gradient(135deg, var(--purple-bright), #fde68a);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
}

.card-vip {
  background: linear-gradient(145deg, #1a1008, #120b05);
  border-color: rgba(249, 115, 22, 0.35);
  --card-glow: rgba(249, 115, 22, 0.08);
}
.card-vip:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.65);
}
.card-vip .rank-inv-name {
  color: var(--purple-bright);
}
.card-vip .rank-inv-meta {
  color: rgba(251, 146, 60, 0.55);
}

.rank-inv-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.rank-inv-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.rank-inv-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.rank-inv-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.4;
}
.rank-inv-features li svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.card-doomsday .rank-inv-features li svg {
  color: var(--green);
}
.card-vanguard .rank-inv-features li svg {
  color: var(--purple-bright);
}
.card-galactic .rank-inv-features li svg {
  color: var(--sky);
}
.card-dominion .rank-inv-features li svg {
  color: var(--silver);
}
.card-kit .rank-inv-features li svg {
  color: var(--amber-bright);
}
.card-vip .rank-inv-features li svg {
  color: var(--purple-bright);
}

.rank-inv-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.claim-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  z-index: 1;
}

.claim-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 9px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.4px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.claim-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.claim-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
  transform: rotate(25deg) translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.claim-btn:hover::after {
  transform: rotate(25deg) translateX(120%);
}
.claim-btn-active {
  color: #ffffff;
}
.claim-btn-active:hover {
  transform: translateY(-2px);
}
.claim-btn-disabled {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: not-allowed;
}
.claim-btn-disabled::after {
  display: none;
}
.claim-btn-cooldown {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted2);
  cursor: not-allowed;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
}
.claim-btn-cooldown::after {
  display: none;
}
.claim-btn-loading {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted2);
  cursor: not-allowed;
}
.claim-btn-loading svg {
  animation: spin 0.7s linear infinite;
}
.claim-btn-loading::after {
  display: none;
}
.claim-btn-vip-auto {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: var(--muted2);
  cursor: default;
  font-size: 11px;
}
.claim-btn-vip-auto::after {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── PAGE LOAD ANIMATIONS ── */
.inv-animate {
  opacity: 0;
  transform: translateY(22px);
  animation: invFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes invFadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}
.inv-animate-banner {
  animation-delay: 0.05s;
}
.inv-animate-sh-ranks {
  animation-delay: 0.12s;
}
.inv-animate-sh-kits {
  animation-delay: 0.14s;
}
.inv-animate-sh-vip {
  animation-delay: 0.14s;
}

/* ── LOADING ── */
#loadingScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #04090a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#loadingScreen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loading-logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
}
.loading-logo span {
  color: var(--purple-bright);
}
.loading-spinner-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}
.loading-spinner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(168, 85, 247, 0.12);
  border-top-color: var(--purple-bright);
  border-right-color: rgba(168, 85, 247, 0.5);
  animation: spinnerSpin 1s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}
.loading-spinner-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.08);
  border-bottom-color: rgba(168, 85, 247, 0.4);
  animation: spinnerSpin 0.7s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite reverse;
}
@keyframes spinnerSpin {
  to {
    transform: rotate(360deg);
  }
}
.loading-welcome {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loading-welcome-line1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted2);
}
.loading-welcome-line2 {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.loading-welcome-line2 span {
  color: var(--purple-dim);
}
.loading-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}
.loading-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.3;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── BG ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% -5%,
      rgba(234, 88, 12, 0.18) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 35% at 85% 80%,
      rgba(245, 158, 11, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 35% 30% at 10% 75%,
      rgba(249, 115, 22, 0.06) 0%,
      transparent 50%
    );
}
.bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 35%,
    rgba(8, 5, 2, 0.9) 100%
  );
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249, 115, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    black 20%,
    transparent 85%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    black 20%,
    transparent 85%
  );
}
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
  opacity: 0;
}
@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-80px) scale(1);
    opacity: 0;
  }
}

/* ── TOPNAV ── */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 58px;
  background: rgba(10, 7, 4, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.tn-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.tn-logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}
.tn-logo span {
  color: var(--or-b);
}
.tn-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.2s;
}
.back-link:hover {
  color: var(--text);
  border-color: var(--bor-or);
  background: rgba(249, 115, 22, 0.06);
}
.back-link svg {
  width: 12px;
  height: 12px;
}
.server-selector {
  position: relative;
}
.server-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}
.server-btn:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--purple);
}
.server-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
  animation: breathe 2s ease-in-out infinite;
}
.server-btn svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.2s;
}
.server-btn.open svg {
  transform: rotate(180deg);
}
.server-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #130e07;
  border: 1px solid var(--bor-or);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.server-drop.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.server-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-dim);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}
.server-drop-item:last-child {
  border-bottom: none;
}
.server-drop-item:hover {
  background: rgba(168, 85, 247, 0.08);
  color: #fff;
}
.server-drop-item.active {
  color: var(--or-b);
  background: rgba(168, 85, 247, 0.06);
}
.sdi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.uc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
}
.uc-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.uc-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #071113;
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s;
  z-index: 300;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.uc-drop.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.uc-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid var(--border-purple);
  text-decoration: none;
}
.uc-item:last-child {
  border-bottom: none;
}
.uc-item:hover {
  background: rgba(168, 85, 247, 0.08);
  color: #fff;
}
.uc-item.danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
}
.uc-item svg {
  width: 14px;
  height: 14px;
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* ── SHELL ── */
.shell {
  position: relative;
  z-index: 1;
  padding-top: 58px;
}
.dashboard-section {
  height: calc(100vh - 58px);
  display: flex;
  overflow: hidden;
}

/* ── LEFT NAV ── */
.left-nav {
  width: 190px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--background-btn);
  backdrop-filter: blur(18px);
  padding: 16px 10px;
  gap: 2px;
  overflow-y: auto;
}
.left-nav-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px;
  margin-bottom: 6px;
  margin-top: 8px;
}
.left-nav-label:first-child {
  margin-top: 0;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.nav-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.nav-btn:hover {
  color: var(--text);
  background: rgba(192, 132, 252, 0.08);
  border-color: var(--purple-dim);
}
.nav-btn.active {
  color: var(--text);
  background: rgba(192, 132, 252, 0.08);
  border-color: var(--purple-bright);
}

/* ── RIGHT CONTENT ── */
.right-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.tab-panel {
  display: none;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  overflow: hidden;
}
.tab-panel.active {
  display: flex;
}
#panel-kitbuilder {
  overflow-y: auto;
  min-height: 0;
}
#panel-kitbuilder .kb-wrap {
  min-height: max-content;
  overflow: visible;
  align-items: start;
}
#panel-kitbuilder .kb-main {
  overflow: visible;
}
#panel-kitbuilder .kb-side {
  overflow: visible;
}

/* ── CONSOLE ── */
.console-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-height: 0;
}
.console-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(168, 85, 247, 0.03);
  flex-shrink: 0;
}
.console-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 8px var(--purple-dim);
  animation: breathe 2s ease-in-out infinite;
}
.console-header-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted2);
}
.console-out {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.8;
  background: rgba(5, 8, 8, 0.7);
  min-height: 0;
}
.console-out .log-line {
  margin-bottom: 2px;
  word-break: break-all;
  animation: fadeSlideIn 0.15s ease;
}
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.console-out .log-line.sent {
  color: #fb923c;
}
.console-out .log-line.response {
  color: #22c55e;
}
.console-out .log-line.error {
  color: #f87171;
}
.console-out .log-line.system {
  color: #60a5fa;
  font-style: italic;
}
.console-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  background: rgba(4, 9, 10, 0.6);
  flex-shrink: 0;
}
.console-prompt {
  padding: 0 14px;
  color: var(--or-b);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.console-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  padding: 14px 0;
  caret-color: var(--purple);
}
.console-send {
  padding: 0 20px;
  height: 100%;
  background: rgba(1, 156, 161, 0.04);
  border: 1px solid var(--border-purple);
  border-bottom-right-radius: 13px;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Rajdhani', sans-serif;
}
.console-send:hover {
  background: rgba(22, 249, 249, 0.08);
  border-color: var(--purple-bright);
}

/* ── LOGS ── */
.logs-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.logs-search {
  flex: 1;
  min-width: 180px;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  backdrop-filter: blur(10px);
}
.logs-search:focus {
  border-color: var(--purple-bright);
}
.logs-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.logs-search::placeholder {
  color: var(--muted);
}
.filter-select {
  background: var(--dashbord-background);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.filter-select option {
  background: #071213;
}
.filter-select:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}
.filter-select:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  color: var(--or-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
}
.dl-btn svg {
  width: 13px;
  height: 13px;
}
.dl-btn:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: var(--purple-bright);
}
.logs-out {
  flex: 1;
  overflow-y: auto;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  min-height: 0;
}
.logs-out::-webkit-scrollbar {
  display: none;
}
.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-family: 'Courier New', monospace;
  font-size: 11.5px;
  line-height: 1.6;
  transition: background 0.15s;
}
.log-entry:hover {
  background: rgba(255, 255, 255, 0.02);
}
.log-entry:last-child {
  border-bottom: none;
}
.log-ts {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
  min-width: 150px;
}
.log-type-badge {
  flex-shrink: 0;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  font-family: 'Rajdhani', sans-serif;
}
.log-type-badge.info {
  background: rgba(96, 165, 250, 0.12);
  color: #93c5fd;
}
.log-type-badge.error {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}
.log-msg {
  color: var(--text);
  word-break: break-all;
  flex: 1;
}
.log-empty {
  padding: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ── PLAYERS ── */
.players-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.players-search {
  flex: 1;
  min-width: 180px;
  background: var(--dashbord-background);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}
.players-search:focus {
  border-color: var(--purple-bright);
}
.players-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.players-search::placeholder {
  color: var(--muted);
}
.players-count {
  padding: 9px 14px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.players-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-content: start;
  min-height: 0;
}
.player-card {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
}
.player-card:hover {
  border-color: var(--bor-or);
  background: var(--card2);
}
.player-card.open {
  border-color: var(--or);
  background: var(--card2);
}
.pc-hp {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
}
.pc-hp svg {
  transform: rotate(-90deg);
}
.pc-hp-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
}
.pc-info {
  flex: 1;
  min-width: 0;
}
.pc-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.pc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.pc-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.player-card.open .pc-chevron {
  transform: rotate(180deg);
}
.player-popup {
  background: var(--card2);
  border: 1px solid var(--bor-or);
  border-radius: 10px;
  padding: 12px;
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: -4px;
  grid-column: 1/-1;
  backdrop-filter: blur(10px);
}
.player-popup.visible {
  display: flex;
}
.pp-btn {
  flex: 1;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  background: transparent;
}
.pp-btn.kick {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.pp-btn.kick:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
}
.pp-btn.ban {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}
.pp-btn.ban:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: #f87171;
}
.pp-btn.vip {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}
.pp-btn.vip:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: #34d399;
}
.pp-btn svg {
  width: 12px;
  height: 12px;
}

/* ── BANS ── */
.bans-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.bans-search {
  flex: 1;
  min-width: 180px;
  background: var(--dashbord-background);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}
.bans-search:focus {
  border-color: var(--purple-bright);
}
.bans-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.bans-search::placeholder {
  color: var(--muted);
}
.bans-count {
  padding: 9px 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #f87171;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.bans-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-content: start;
  min-height: 0;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.ban-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  position: relative;
}
.ban-row:last-child {
  border-bottom: none;
}
.ban-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.ban-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: rgba(239, 68, 68, 0.5);
}
.ban-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(239, 68, 68, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ban-info {
  flex: 1;
  min-width: 0;
}
.ban-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ban-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ban-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.ban-meta-item svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0.6;
}
.ban-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
}
.ban-pill.perm {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.ban-pill.temp {
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.18);
}
.ban-pill svg {
  width: 9px;
  height: 9px;
}
.ban-unban-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.04);
  color: rgba(74, 222, 128, 0.7);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ban-unban-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(74, 222, 128, 0.5);
  color: #4ade80;
}
.ban-unban-btn svg {
  width: 11px;
  height: 11px;
}

/* ── AUTH ── */
.auth-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.auth-search {
  flex: 1;
  min-width: 180px;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}
.auth-search:focus {
  border-color: var(--purple-bright);
}
.auth-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.auth-search::placeholder {
  color: var(--muted);
}
.auth-pulse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.auth-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: breathe 1.5s ease-in-out infinite;
}
.auth-wipe-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
}
.auth-wipe-all:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: #f87171;
}
.auth-wipe-all svg {
  width: 13px;
  height: 13px;
}
.auth-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding-bottom: 4px;
}
.auth-sector {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.auth-sector-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.auth-sector-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auth-sector-icon svg {
  width: 16px;
  height: 16px;
}
.auth-sector-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.auth-sector-count {
  margin-left: auto;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.auth-sector-wipe {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  border: 1px solid;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  background: transparent;
  margin-left: 8px;
}
.auth-sector-wipe svg {
  width: 10px;
  height: 10px;
}
.sector-owner .auth-sector-icon {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
}
.sector-owner .auth-sector-icon svg {
  color: #fbbf24;
}
.sector-owner .auth-sector-title {
  color: #fbbf24;
}
.sector-owner .auth-sector-count {
  background: rgba(250, 204, 21, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(250, 204, 21, 0.2);
}
.sector-owner .auth-sector-wipe {
  color: #fbbf24;
  border-color: rgba(250, 204, 21, 0.3);
}
.sector-owner .auth-sector-wipe:hover {
  background: rgba(250, 204, 21, 0.1);
  border-color: #fbbf24;
}
.sector-admin .auth-sector-icon {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.sector-admin .auth-sector-icon svg {
  color: #f87171;
}
.sector-admin .auth-sector-title {
  color: #f87171;
}
.sector-admin .auth-sector-count {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.sector-admin .auth-sector-wipe {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.sector-admin .auth-sector-wipe:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #f87171;
}
.sector-moderator .auth-sector-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.sector-moderator .auth-sector-icon svg {
  color: #60a5fa;
}
.sector-moderator .auth-sector-title {
  color: #60a5fa;
}
.sector-moderator .auth-sector-count {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.sector-moderator .auth-sector-wipe {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}
.sector-moderator .auth-sector-wipe:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #60a5fa;
}
.sector-vip .auth-sector-icon {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.sector-vip .auth-sector-icon svg {
  color: #a78bfa;
}
.sector-vip .auth-sector-title {
  color: #a78bfa;
}
.sector-vip .auth-sector-count {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.sector-vip .auth-sector-wipe {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.3);
}
.sector-vip .auth-sector-wipe:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: #a78bfa;
}
.auth-member-list {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auth-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.auth-member:hover {
  background: rgba(255, 255, 255, 0.03);
}
.auth-member-shield {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}
.auth-member-shield svg {
  width: 15px;
  height: 15px;
}
.auth-member-name {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.auth-member-revoke {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.05);
  color: #f87171;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-member-revoke:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #f87171;
}
.auth-member-revoke svg {
  width: 10px;
  height: 10px;
}
.auth-sector-empty {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}
.auth-totals {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-total-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'Rajdhani', sans-serif;
  border: 1px solid;
}
.auth-total-chip svg {
  width: 12px;
  height: 12px;
}
.wipe-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.wipe-progress-fill {
  height: 100%;
  background: var(--or);
  transition: width 0.2s ease;
  width: 0%;
}

/* ── KIT BUILDER ── */
.kb-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  grid-template-rows: 1fr;
  gap: 14px;
  min-height: 0;
  overflow: hidden;
}
.kb-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
}
.kb-panel {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.kb-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(168, 85, 247, 0.03);
  flex-shrink: 0;
}
.kb-panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 6px var(--purple);
  flex-shrink: 0;
}
.kb-panel-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted2);
}
.kb-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 0;
}
.kb-name-input {
  flex: 1;
  background: rgba(4, 10, 10, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  font-family: 'Oxanium', sans-serif;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.2s;
}
.kb-name-input:focus {
  border-color: var(--purple-bright);
}
.kb-name-input:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.kb-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 16px 14px;
}
.kb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
}
.kb-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.kb-btn:hover {
  color: var(--text);
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.06);
}
.kb-btn.primary {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--border-purple);
  color: var(--or-b);
}
.kb-btn.primary:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--purple-bright);
}
.kb-btn.accent {
  background: rgba(45, 207, 116, 0.08);
  border-color: rgba(45, 207, 116, 0.25);
  color: #4ade80;
}
.kb-btn.accent:hover {
  background: rgba(45, 207, 116, 0.14);
  border-color: #4ade80;
}
.kb-btn.deploy {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--or-b);
}
.kb-btn.deploy:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--or);
}
.kb-btn.copy-btn {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.25);
  color: #93c5fd;
}
.kb-btn.copy-btn:hover {
  background: rgba(96, 165, 250, 0.14);
  border-color: #60a5fa;
  color: #bfdbfe;
}
.kb-btn.new-kit-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted2);
}
.kb-btn.new-kit-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}
.kb-slot-shell {
  padding: 12px 16px 14px;
}
.kb-slot-bg {
  background: linear-gradient(
    160deg,
    rgba(3, 7, 7, 0.98),
    rgba(3, 11, 12, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.kb-slot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.kb-slot {
  aspect-ratio: 1/1;
  border-radius: 10px;
  border: 1px solid rgba(12, 29, 30, 0.9);
  background: rgba(7, 17, 20, 0.9);
  overflow: hidden;
  transition: border-color 0.15s;
  position: relative;
  cursor: pointer;
}
.kb-slot:hover {
  border-color: rgba(168, 85, 247, 0.55);
}
.kb-slot.drag-over {
  border-color: rgba(168, 85, 247, 0.7);
  background: rgba(8, 27, 28, 0.98);
}
.kb-slot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}
.kb-slot-filled {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kb-slot-filled img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.kb-slot-fb {
  width: 76%;
  height: 76%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--or-b);
  font-size: 11px;
  font-weight: 800;
  font-family: 'Rajdhani', sans-serif;
  text-align: center;
  pointer-events: none;
}
.kb-slot-qty {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Russo One', sans-serif;
  font-size: 10px;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.95);
  pointer-events: none;
}
.kb-lib {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kb-lib-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.kb-lib-search {
  flex: 1;
  background: rgba(4, 9, 10, 0.6);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.kb-lib-search:focus {
  border-color: var(--purple-bright);
}
.kb-lib-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.kb-lib-search::placeholder {
  color: var(--muted);
}
.kb-lib-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.kb-lib-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  will-change: transform;
}
.kb-cat {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(2, 7, 8, 0.65);
}
.kb-cat-hd {
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted2);
  background: rgba(4, 11, 12, 0.9);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kb-cat-hd:hover {
  color: var(--text);
}
.kb-cat-hd-arrow {
  transition: transform 0.2s;
  width: 10px;
  height: 10px;
  opacity: 0.5;
}
.kb-cat.collapsed .kb-cat-hd-arrow {
  transform: rotate(-90deg);
}
.kb-cat-body {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px;
}
.kb-cat.collapsed .kb-cat-body {
  display: none;
}
.kb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(
    160deg,
    rgba(6, 18, 18, 0.96),
    rgba(4, 14, 14, 0.96)
  );
  cursor: pointer;
  transition: border-color 0.15s;
}
.kb-item:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.kb-item-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    160deg,
    rgba(6, 18, 18, 0.96),
    rgba(4, 14, 14, 0.96)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kb-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  display: block;
}
.kb-item-icon .kb-item-icon-txt {
  font-size: 9px;
  font-weight: 800;
  color: var(--muted2);
}
.kb-item-txt .kb-item-name {
  font-size: 11px;
  font-weight: 700;
  color: #f1e8df;
  line-height: 1.25;
}
.kb-item-txt .kb-item-code {
  font-size: 9px;
  color: var(--muted);
  margin-top: 1px;
  word-break: break-all;
}
.kb-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.kb-side-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.kb-saved-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.kb-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(4, 11, 12, 0.8);
  cursor: pointer;
  transition: all 0.2s;
}
.kb-saved-item:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.kb-saved-item.active {
  border-color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.06);
}
.kb-saved-item-info {
  flex: 1;
  min-width: 0;
}
.kb-saved-item-name {
  font-size: 12px;
  font-weight: 700;
  color: #f1e8df;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.kb-saved-item-meta {
  font-size: 10px;
  color: var(--muted);
}
.kb-saved-del {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #1a0f06;
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition:
    opacity 0.15s,
    background 0.15s;
}
.kb-saved-item:hover .kb-saved-del {
  opacity: 1;
}
.kb-saved-del:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}
.kb-saved-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* ── SHOP DASHBOARD ── */
.shop-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  gap: 20px;
  min-height: 0;
  padding-bottom: 20px;
}
.revenue-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex-shrink: 0;
}
.rev-card {
  background: var(--dashbord-background);
  border: 1px solid var(--border-purple);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.rev-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.rev-card:hover {
  border-color: var(--purple-bright);
}
.rev-card:hover::before {
  opacity: 1;
}
.rev-card.green-card {
  border-color: rgba(34, 197, 94, 0.15);
}
.rev-card.green-card::before {
  background: radial-gradient(
    ellipse 80% 60% at 50% -10%,
    rgba(34, 197, 94, 0.07),
    transparent
  );
}
.rev-card.orange-card::before {
  background: radial-gradient(
    ellipse 80% 60% at 50% -10%,
    rgba(168, 85, 247, 0.07),
    transparent
  );
}
.rev-card.blue-card {
  border-color: rgba(59, 130, 246, 0.15);
}
.rev-card.blue-card::before {
  background: radial-gradient(
    ellipse 80% 60% at 50% -10%,
    rgba(59, 130, 246, 0.07),
    transparent
  );
}
.rev-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.rev-card-icon svg {
  width: 18px;
  height: 18px;
}
.rev-card-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.rev-card-value {
  font-family: 'Oxanium', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.rev-card-sub {
  font-size: 10px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.rev-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  margin-top: 6px;
}
.rev-card-trend.up {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.rev-card-trend.neutral {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid var(--border);
}
.rev-card-trend svg {
  width: 10px;
  height: 10px;
}
.shop-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex-shrink: 0;
}
.shop-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  flex-shrink: 0;
}
.shop-info-card {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.shop-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(168, 85, 247, 0.02);
}
.shop-card-head-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shop-card-head-icon svg {
  width: 14px;
  height: 14px;
}
.shop-card-head-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted2);
  flex: 1;
}
.shop-card-head-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.shop-card-body {
  padding: 14px 16px;
}
.top-buyer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.top-buyer-row:last-child {
  border-bottom: none;
}
.top-buyer-rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.top-buyer-rank.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.top-buyer-rank.silver {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.top-buyer-rank.bronze {
  background: rgba(249, 115, 22, 0.1);
  color: var(--or-b);
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.top-buyer-rank.other {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--border);
}
.top-buyer-info {
  flex: 1;
  min-width: 0;
}
.top-buyer-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-buyer-sub {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.top-buyer-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}
.top-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.top-product-row:last-child {
  border-bottom: none;
}
.top-product-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.top-product-icon svg {
  width: 15px;
  height: 15px;
}
.top-product-info {
  flex: 1;
  min-width: 0;
}
.top-product-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-product-sales {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.top-product-rev {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--or-b);
  flex-shrink: 0;
  text-align: right;
}
.top-product-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.top-product-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.stat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 6px;
}
.stat-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.stat-tile-icon svg {
  width: 20px;
  height: 20px;
}
.stat-tile-value {
  font-family: 'Oxanium', sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.stat-tile-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════
      TRANSACTIONS — fixed responsive layout
      ══════════════════════════════════════ */
.tx-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tx-search {
  flex: 1;
  min-width: 160px;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  backdrop-filter: blur(10px);
}
.tx-search:focus {
  border-color: var(--purple-bright);
}
.tx-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.tx-search::placeholder {
  color: var(--muted);
}
.tx-filters {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.tx-count {
  padding: 9px 14px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tx-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding-bottom: 4px;
}

/* Single transaction row — fully responsive */
.tx-row {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 0;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.tx-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: rgba(34, 197, 94, 0.5);
}
.tx-row:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}

/* icon: rows 1+2, col 1 */
.tx-icon {
  grid-column: 1;
  grid-row: 1/3;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}
.tx-icon svg {
  width: 18px;
  height: 18px;
}

/* main content block: rows 1+2, col 2 */
.tx-main {
  grid-column: 2;
  grid-row: 1/3;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.tx-order-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-product {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tx-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  min-width: 0;
  overflow: hidden;
}
.tx-meta-chip svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
  flex-shrink: 0;
}
.tx-meta-chip.highlight {
  color: var(--muted2);
}
.tx-meta-chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* right price+time: col 3, rows 1+2 */
.tx-right {
  grid-column: 3;
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 8px;
}
.tx-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}
.tx-time {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* chips */
.tx-server-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tx-server-chip svg {
  width: 8px;
  height: 8px;
}
.tx-no-gamertag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.tx-no-gamertag svg {
  width: 9px;
  height: 9px;
}
.tx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}
.tx-empty svg {
  width: 40px;
  height: 40px;
  opacity: 0.25;
}
.tx-empty p {
  font-size: 13px;
}

/* ══════════════════════════════════════
      USERS PAGE
      ══════════════════════════════════════ */
.users-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.users-search {
  flex: 1;
  min-width: 200px;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}
.users-search:focus {
  border-color: var(--purple-bright);
}
.users-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.users-search::placeholder {
  color: var(--muted);
}
.users-count {
  padding: 9px 14px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.users-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

/* user card in list */
.user-card {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.user-card:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(168, 85, 247, 0.25);
  flex-shrink: 0;
  background: rgba(168, 85, 247, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--or-b);
}
.user-card-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.user-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.user-card-display {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-card-username {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.user-card-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.user-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.user-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
}
.user-card-meta-item svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
  flex-shrink: 0;
}
.user-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

/* product / rank chips on user cards */
.uc-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
}
.uc-product-chip.rank {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--or-b);
}
.uc-product-chip.kit {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.uc-product-chip.vip {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: #a78bfa;
}
.uc-jewel-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 7px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.18);
  color: var(--or-b);
}
.uc-jewel-chip svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.uc-linked-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.uc-linked-chip svg {
  width: 9px;
  height: 9px;
}
.uc-unlinked-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* ══════════════════════════════════════
      USER DETAIL MODAL
      ══════════════════════════════════════ */
.user-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.user-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.user-modal {
  background: #071213;
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}
.user-modal-backdrop.open .user-modal {
  transform: none;
}

/* modal header */
.um-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border-purple);
  flex-shrink: 0;
  background: rgba(168, 85, 247, 0.02);
}
.um-header-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(168, 85, 247, 0.3);
  flex-shrink: 0;
  background: rgba(168, 85, 247, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.um-header-info {
  flex: 1;
  min-width: 0;
}
.um-header-name {
  font-family: 'Oxanium', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.um-header-sub {
  font-size: 11px;
  color: var(--muted);
}
.um-header-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.um-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.um-close:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.um-close svg {
  width: 14px;
  height: 14px;
}

/* modal scroll body */
.um-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}
.um-body::-webkit-scrollbar {
  width: 3px;
}
.um-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* section label inside modal */
.um-section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.um-section-label:first-child {
  margin-top: 0;
}
.um-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(168, 85, 247, 0.1);
}

/* action buttons row */
.um-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
.um-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
  background: transparent;
  white-space: nowrap;
}
.um-action-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.um-action-btn.gift {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}
.um-action-btn.gift:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: #4ade80;
}
.um-action-btn.remove-prod {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}
.um-action-btn.remove-prod:hover {
  background: rgba(248, 113, 113, 0.08);
  border-color: #f87171;
}
.um-action-btn.give-jewels {
  color: var(--purple);
  border-color: var(--border-purple);
}
.um-action-btn.give-jewels:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.um-action-btn.set-jewels {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.um-action-btn.set-jewels:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: #fbbf24;
}

/* dropdown picker inside modal */
.um-dropdown-wrap {
  position: relative;
  margin-top: 8px;
}
.um-picker {
  width: 100%;
  background: rgba(4, 9, 10, 0.8);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  overflow: hidden;
  animation: slideDown 0.15s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.um-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
  font-size: 12px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.um-picker-item:last-child {
  border-bottom: none;
}
.um-picker-item:hover {
  background: rgba(168, 85, 247, 0.06);
}
.um-picker-label {
  flex: 1;
  font-weight: 600;
}
.um-picker-sub {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.um-picker-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.um-picker-check.owned {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
}
.um-picker-check svg {
  width: 10px;
  height: 10px;
  color: #4ade80;
}

/* expiry picker sub-panel */
.um-expiry-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: rgba(249, 115, 22, 0.03);
  flex-wrap: wrap;
}
.um-expiry-label {
  font-size: 11px;
  color: var(--muted2);
  font-weight: 600;
  white-space: nowrap;
}
.um-expiry-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.um-expiry-preset {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.um-expiry-preset:hover {
  border-color: var(--bor-or);
  color: var(--or-b);
  background: rgba(249, 115, 22, 0.06);
}
.um-expiry-preset.selected {
  border-color: var(--or);
  color: var(--or-b);
  background: rgba(249, 115, 22, 0.1);
}
.um-expiry-custom {
  flex: 1;
  min-width: 100px;
  background: rgba(10, 7, 4, 0.6);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--text);
  font-size: 11px;
  outline: none;
  transition: border-color 0.2s;
}
.um-expiry-custom:focus {
  border-color: var(--bor-or);
}
.um-expiry-confirm {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.15s;
  white-space: nowrap;
}
.um-expiry-confirm:hover {
  background: rgba(74, 222, 128, 0.18);
  border-color: #4ade80;
}

/* jewel input row */
.um-jewel-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.um-jewel-input {
  flex: 1;
  background: rgba(4, 10, 10, 0.7);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Oxanium', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.um-jewel-input:focus {
  border-color: var(--purple-bright);
}
.um-jewel-input:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.um-jewel-confirm {
  padding: 10px 18px;
  border-radius: 9px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-purple);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.um-jewel-confirm:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--or);
}

/* account section */
.um-account-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.um-account-input {
  flex: 1;
  background: rgba(4, 10, 10, 0.7);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.um-account-input:focus {
  border-color: var(--purple-bright);
}

.um-account-input:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.um-account-input::placeholder {
  color: var(--muted);
}
.um-account-save {
  padding: 9px 16px;
  border-radius: 9px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.um-account-save:hover {
  background: rgba(34, 197, 94, 0.16);
  border-color: #4ade80;
}

/* owned products list */
.um-products-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.um-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  transition: background 0.15s;
}
.um-product-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.um-product-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.um-product-row-icon svg {
  width: 14px;
  height: 14px;
}
.um-product-row-info {
  flex: 1;
  min-width: 0;
}
.um-product-row-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.um-product-row-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.um-product-row-expiry {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
}
.um-product-row-expiry.expired {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* empty state in modal */
.um-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* ── STORE CATEGORY MODAL ── */
.store-cat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.store-cat-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.store-cat-card {
  background: #130e07;
  border: 1px solid var(--bor-or);
  border-radius: 18px;
  padding: 28px 32px;
  max-width: 420px;
  width: 100%;
  transform: translateY(12px);
  transition: transform 0.25s;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}
.store-cat-backdrop.open .store-cat-card {
  transform: none;
}
.store-cat-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.store-cat-sub {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 22px;
  line-height: 1.6;
}
.store-cat-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.store-cat-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(18, 12, 6, 0.9);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.store-cat-opt:hover {
  border-color: var(--bor-or);
  background: rgba(249, 115, 22, 0.06);
}
.store-cat-opt.selected {
  border-color: var(--or);
  background: rgba(249, 115, 22, 0.1);
}
.store-cat-opt svg {
  width: 24px;
  height: 24px;
}
.store-cat-opt-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}
.store-cat-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.store-cat-cancel {
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}
.store-cat-cancel:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.store-cat-save {
  padding: 10px 22px;
  border-radius: 9px;
  border: 1px solid rgba(45, 207, 116, 0.4);
  background: rgba(45, 207, 116, 0.1);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.store-cat-save:hover {
  background: rgba(45, 207, 116, 0.2);
  border-color: #4ade80;
}
.store-cat-save:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── DEPLOY OVERLAY ── */
.kb-deploy-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.kb-deploy-overlay.open {
  opacity: 1;
  visibility: visible;
}
.kb-deploy-card {
  background: #130e07;
  border: 1px solid var(--bor-or);
  border-radius: 18px;
  padding: 28px 32px;
  max-width: 480px;
  width: 100%;
  transform: translateY(12px);
  transition: transform 0.25s;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}
.kb-deploy-overlay.open .kb-deploy-card {
  transform: none;
}
.kb-deploy-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.kb-deploy-sub {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 20px;
  line-height: 1.6;
}
.kb-deploy-server-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.kb-deploy-server-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(18, 12, 6, 0.9);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  color: white;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}
.kb-deploy-server-btn:hover {
  border-color: var(--bor-or);
  background: rgba(249, 115, 22, 0.06);
}
.kb-deploy-server-btn.selected {
  border-color: var(--or);
  background: rgba(249, 115, 22, 0.1);
}
.kb-deploy-server-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.kb-deploy-server-name {
  font-size: 13px;
  font-weight: 700;
  flex: 1;
}
.kb-deploy-server-tag {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.kb-deploy-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.kb-deploy-cancel {
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}
.kb-deploy-cancel:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.kb-deploy-go {
  padding: 10px 22px;
  border-radius: 9px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.12);
  color: var(--or-b);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kb-deploy-go:hover {
  background: rgba(249, 115, 22, 0.22);
  border-color: var(--or);
}
.kb-deploy-go:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.kb-deploy-progress {
  margin-top: 16px;
  display: none;
}
.kb-deploy-progress.visible {
  display: block;
}
.kb-deploy-progress-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.kb-deploy-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.kb-deploy-bar-fill {
  height: 100%;
  background: var(--or);
  border-radius: 3px;
  transition: width 0.2s ease;
  width: 0%;
}
.kb-deploy-terminal {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.kb-deploy-term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(18, 12, 6, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.kb-term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.kb-term-dot.r {
  background: #ff5f57;
}
.kb-term-dot.y {
  background: #febc2e;
}
.kb-term-dot.g {
  background: #28c840;
}
.kb-term-title {
  margin-left: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}
.kb-term-body {
  background: rgba(4, 3, 2, 0.98);
  padding: 10px 12px;
  height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kb-term-body::-webkit-scrollbar {
  width: 3px;
}
.kb-term-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.kb-term-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.kb-term-prompt {
  color: var(--or-b);
  font-weight: 700;
  flex-shrink: 0;
}
.kb-term-cmd {
  color: #e2ecf8;
  word-break: break-all;
}
.kb-term-ok {
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
}
.kb-term-err {
  color: #f87171;
  font-weight: 700;
  flex-shrink: 0;
}
.kb-term-sys {
  color: var(--muted);
  font-style: italic;
}

/* ── EXPORT SIZE MODAL ── */
.kb-size-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}
.kb-size-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.kb-size-modal {
  background: #130e07;
  border: 1px solid var(--bor-or);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 360px;
  width: 100%;
  transform: translateY(8px);
  transition: transform 0.2s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.kb-size-modal-backdrop.open .kb-size-modal {
  transform: none;
}
.kb-size-modal-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.kb-size-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.kb-size-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(18, 12, 6, 0.8);
  color: var(--muted2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
}
.kb-size-btn:hover {
  color: var(--text);
  border-color: var(--bor-or);
  background: rgba(249, 115, 22, 0.06);
}
.kb-size-btn.accent {
  background: rgba(45, 207, 116, 0.08);
  border-color: rgba(45, 207, 116, 0.25);
  color: #4ade80;
}
.kb-size-cancel {
  width: 100%;
  padding: 9px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}
.kb-size-cancel:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* ── SHARED ── */
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 12px;
  padding: 48px;
}
.empty-state svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}
.empty-state p {
  font-size: 13px;
}
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #1c140d;
  border: 1px solid var(--bor-or);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  max-width: 320px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.success {
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.toast.error {
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.toast.info {
  border-color: rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #130e07;
  border: 1px solid var(--bor-or);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 400px;
  width: 90%;
  transform: translateY(8px);
  transition: transform 0.2s;
}
.modal-backdrop.open .modal {
  transform: none;
}
.modal-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.modal-body {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 22px;
}
.modal-preview {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  max-height: 120px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--muted2);
  line-height: 1.8;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.modal-cancel {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-cancel:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.modal-confirm {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-confirm:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #f87171;
}
.modal-confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── QTY MODAL ── */
.qty-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}
.qty-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.qty-modal {
  background: #130e07;
  border: 1px solid var(--bor-or);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 340px;
  width: 100%;
  transform: translateY(8px);
  transition: transform 0.2s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.qty-modal-backdrop.open .qty-modal {
  transform: none;
}
.qty-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.qty-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    160deg,
    rgba(20, 14, 7, 0.98),
    rgba(14, 9, 4, 0.98)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qty-modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.qty-modal-icon span {
  font-size: 9px;
  font-weight: 800;
  color: var(--muted2);
}
.qty-modal-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.qty-modal-code {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.qty-modal-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 6px;
}
.qty-modal-input {
  width: 100%;
  background: rgba(10, 7, 4, 0.7);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  font-family: 'Oxanium', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.qty-modal-input:focus {
  border-color: var(--bor-or);
}
.qty-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.qty-modal-cancel {
  flex: 1;
  padding: 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}
.qty-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.qty-modal-save {
  flex: 2;
  padding: 10px;
  border-radius: 9px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.1);
  color: var(--or-b);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.qty-modal-save:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--or);
}
.qty-modal-remove {
  flex: 1;
  padding: 10px;
  border-radius: 9px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}
.qty-modal-remove:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: #f87171;
}

@media (max-width: 900px) {
  .revenue-cards {
    grid-template-columns: 1fr 1fr;
  }
  .shop-grid-2 {
    grid-template-columns: 1fr;
  }
  .shop-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .topnav {
    padding: 0 14px;
    height: 54px;
  }
  .uc-name {
    display: none;
  }
  .shell {
    padding-top: 54px;
  }
  .dashboard-section {
    height: calc(100vh - 54px);
  }
  .tab-panel {
    padding: 10px;
  }
  .players-grid {
    grid-template-columns: 1fr;
  }
  .pp-btn {
    min-width: 90px;
    font-size: 10px;
    padding: 8px 10px;
  }
  .kb-wrap {
    grid-template-columns: 1fr;
  }
  .kb-side {
    display: none;
  }
  .kb-slot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .revenue-cards {
    grid-template-columns: 1fr;
  }
  .shop-grid-3 {
    grid-template-columns: 1fr;
  }
  .tx-row {
    grid-template-columns: auto 1fr;
  }
  .tx-right {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 50px;
    margin-top: 4px;
  }
  .um-actions {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .kb-slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tx-right {
    padding-left: 0;
  }
  .um-actions {
    grid-template-columns: 1fr;
  }
}

/* ── JEWEL LOGS ── */
.jl-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.jl-search {
  flex: 1;
  min-width: 200px;
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
}
.jl-search:focus {
  border-color: var(--purple-bright);
}
.jl-search:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.jl-search::placeholder {
  color: var(--muted);
}
.jl-count {
  padding: 9px 14px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.jl-type-filter {
  background: var(--dashbord-background);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  font-size: 12px;
  outline: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.jl-type-filter option {
  background: #071213;
}
.jl-type-filter:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}
.jl-type-filter:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}

.jl-list {
  min-height: 70px;
  flex-shrink: 0;
}

.jl-row {
  background: var(--dashbord-background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.jl-row:hover {
  border-color: var(--purple-bright);
  background: rgba(192, 132, 252, 0.06);
}
.jl-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 0 2px 2px 0;
}
.jl-row.purchase::before {
  background: rgba(34, 197, 94, 0.6);
}
.jl-row.declined::before {
  background: rgba(239, 68, 68, 0.6);
}
.jl-row.hourly_award::before {
  background: rgba(168, 85, 247, 0.6);
}

.jl-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jl-icon svg {
  width: 17px;
  height: 17px;
}
.jl-icon.purchase {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.jl-icon.declined {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.jl-icon.hourly_award {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.jl-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jl-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.jl-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.jl-chip svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  flex-shrink: 0;
}
.jl-chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
.jl-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.jl-type-badge.purchase {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.jl-type-badge.declined {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.jl-type-badge.hourly_award {
  background: rgba(22, 234, 249, 0.1);
  color: var(--purple);
  border: 1px solid var(--border-purple);
}

.jl-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 8px;
}
.jl-cost {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.jl-cost.purchase {
  color: #f87171;
}
.jl-cost.hourly_award {
  color: var(--or-b);
}
.jl-cost.declined {
  color: var(--muted);
}
.jl-bal {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.jl-time {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.jl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}
.jl-empty svg {
  width: 40px;
  height: 40px;
  opacity: 0.25;
}
.jl-empty p {
  font-size: 13px;
}
