.header-btn {
  height: 48px;
  padding: 0 18px;
  border: 1px solid #3d3425;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f3f3f1;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
}
.header-btn i { font-size: 17px; }
.header-btn:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-1px); }
.header-btn--download {
  color: #15110a;
  border-color: #e3b355;
  background: linear-gradient(180deg, #f0c86f, #c99536);
  box-shadow: 0 0 18px rgba(213, 165, 65, .22);
}
.header-btn--download:hover { color: #15110a; filter: brightness(1.06); }
.header-btn--register { border-color: #9b722d; box-shadow: inset 0 0 18px rgba(213, 165, 65, .08), 0 0 12px rgba(213, 165, 65, .12); }

.btn-gold-outline {
  min-width: 150px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid #bd8427;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  background: rgba(6, 8, 11, .55);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
}
.btn-gold-outline:hover { color: #111; background: var(--gold-bright); }

.quick-action {
  min-height: 104px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}
.quick-action:hover { transform: translateY(-2px); filter: brightness(1.08); }
.quick-action--gold { border-color: #6f5427; background: linear-gradient(120deg, rgba(92, 61, 19, .72), rgba(33, 28, 20, .72)); }
.quick-action--red { border-color: #5f2923; background: linear-gradient(120deg, rgba(66, 25, 23, .72), rgba(31, 21, 22, .72)); }
.quick-action--blue { border-color: #273c59; background: linear-gradient(120deg, rgba(24, 42, 66, .78), rgba(18, 25, 36, .75)); }
.quick-action--stream {
  border-color: rgba(45, 214, 130, .72);
  background:
    radial-gradient(circle at 18% 50%, rgba(45, 214, 130, .24), transparent 34%),
    linear-gradient(120deg, rgba(17, 111, 72, .9), rgba(13, 54, 42, .88));
  box-shadow: inset 0 0 0 1px rgba(116, 240, 180, .08), 0 12px 28px rgba(0, 0, 0, .18);
}
.quick-action__icon {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; color: var(--gold-bright);
  background: rgba(213, 165, 65, .09);
}
.quick-action--red .quick-action__icon, .quick-action--red .quick-action__arrow { color: #e59a72; background: rgba(183, 90, 72, .08); }
.quick-action--blue .quick-action__icon, .quick-action--blue .quick-action__arrow { color: #a8c1e1; background: rgba(113, 141, 180, .08); }
.quick-action--stream .quick-action__icon, .quick-action--stream .quick-action__arrow {
  color: #74f0b4;
  background: rgba(63, 214, 143, .14);
}
.quick-action__copy { display: flex; flex-direction: column; min-width: 0; }
.quick-action__copy strong { color: var(--text); font-size: 18px; line-height: 1.2; text-transform: uppercase; }
.quick-action__copy small { margin-top: 4px; color: var(--text-soft); font-size: 13px; }
.quick-action__arrow { margin-left: auto; color: var(--gold-bright); font-size: 18px; background: transparent; }

.panel-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: linear-gradient(150deg, rgba(15, 20, 27, .96), rgba(10, 14, 20, .94));
  box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
}
.panel-heading {
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-bright);
}
.panel-heading h3 { margin: 0; font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: .15px; }
.panel-heading h3 i { margin-right: 10px; color: var(--gold); }
.panel-heading > i { color: var(--gold); font-size: 13px; }
.panel-action, .ranking-footer {
  height: 42px;
  margin: 14px 18px 16px;
  border: 1px solid #3b342a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}
.panel-action:hover, .ranking-footer:hover { color: #111; border-color: var(--gold); background: var(--gold-bright); }
.empty-state { padding: 22px 16px; color: var(--text-muted); text-align: center; font-size: 12px; }

.ranking-table { padding: 0 18px; }
.ranking-row {
  min-height: 41px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.ranking-row--head { min-height: 38px; color: var(--text-muted); font-size: 11px; text-transform: uppercase; }
.ranking-row > :last-child { text-align: right; }
.ranking-row strong { color: var(--gold-bright); font-size: 12px; font-variant-numeric: tabular-nums; }
.rank-number { color: var(--gold-bright); font-weight: 400; }
.rank-name { min-width: 0; display: flex; align-items: center; gap: 7px; }
.rank-name img { width: 20px; height: 20px; object-fit: contain; }
.rank-name a { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.rank-name a:hover { color: var(--gold-bright); }
.ranking-footer { width: max-content; min-width: 170px; margin: 12px auto 16px; border: 0; }

/* Server Switcher Dropdown Styling */
.header-top-strip__left {
  position: absolute;
  top: 9px;
  left: 18px;
  z-index: 1100;
  display: flex;
  align-items: center;
}
.server-switcher {
  position: relative;
  display: inline-block;
}
.server-switcher-btn {
  background: rgba(7, 11, 16, 0.48) !important;
  border: 1px solid rgba(213, 165, 65, 0.42) !important;
  color: #f3f1eb !important;
  padding: 0 16px !important;
  height: 36px !important;
  border-radius: 999px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.22s ease !important;
}
.server-switcher-btn:hover {
  color: #fff !important;
  border-color: var(--gold-bright) !important;
  background: rgba(213, 165, 65, 0.08) !important;
}
.server-switcher-btn::after {
  display: none !important;
}
.server-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
}
.dot-original { background-color: #2ecc71; color: #2ecc71; }
.dot-academy { background-color: #e74c3c; color: #e74c3c; }
.server-switcher-menu {
  background: linear-gradient(180deg, rgba(23, 27, 38, 0.98) 0%, rgba(15, 18, 26, 0.99) 100%) !important;
  border: 1px solid rgba(255, 226, 160, 0.15) !important;
  border-radius: 8px !important;
  padding: 8px !important;
  min-width: 220px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
  margin-top: 5px !important;
}
.server-switcher-menu .dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  color: #8d9299 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
.server-switcher-menu .dropdown-item:hover,
.server-switcher-menu .dropdown-item.active {
  background: rgba(213, 165, 65, 0.08) !important;
  color: #fff !important;
}
.server-switcher-menu .dropdown-item.active {
  border-left: 2px solid var(--gold);
}
.server-info { display: flex; flex-direction: column; }
.server-info strong { font-size: 13px; font-weight: 600; color: #fff; }
.server-info small { font-size: 10px; color: rgba(255, 255, 255, 0.4); margin-top: 2px; }
