body {
  margin: 0;
  font-family: "Google Sans", sans-serif;
  background: #18121e;
  color: #f8f8f8;
  transition: background 0.5s;
}
header {
  background: #1a1022 !important;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 0 16px #7c5cff, 0 0 32px #ff0040 inset;
  animation: fadeInDown 0.7s;
}
a {
  text-decoration: none;
  color: #fff;
}
nav {
  margin: 20px 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  position: relative;
  transition: color 0.3s;
}
nav a::after {
  display: none;
}
nav a:hover {
  color: #e200ff;
}
.container {
  max-width: 85vw;
  width: 85vw;
  min-width: 320px;
  margin: 40px auto;
  padding: 30px;
  animation: fadeInUp 0.7s;
  margin-top: 0px;
}
h1, h2 {
  color: #fff !important;
  text-shadow: 0 0 8px #ff4d4f, 0 0 2px #fff;
  letter-spacing: 1px;
}
.tabs {
  display: flex;
  border-bottom: 2px solid #333;
  margin-bottom: 30px;
}
.tab {
  padding: 12px 32px;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  font-size: 18px;
  transition: background 0.3s, color 0.3s;
  border-radius: 8px 8px 0 0;
  margin-right: 8px;
}
.tab.active, .tab:hover {
  background: #181818;
  color: #e200ff;
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}
.tab-content.active {
  display: block;
}
.donate-btn {
  background: #7c5cff;
  color: #fff;
  border: 2px solid #ff00cc;
  border-radius: 10px;
  padding: 12px 32px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  box-shadow:
    0 0 8px #ff00cc,
    0 0 16px #ff0040,
    0 0 2px #fff inset;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}
.donate-btn:hover {
  background: #ff4d4f;
  color: #fff200;
  box-shadow:
    0 0 16px #ff00cc,
    0 0 32px #ff0040,
    0 0 4px #fff inset;
}
footer {
  text-align: center;
  color: #888;
  padding: 20px 0;
  margin-top: 40px;
  animation: fadeIn 1s;
}
.header-top__auth-logo {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}
.svg-steam-connect {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.btn-steam-connect {
  display: flex;
  align-items: center;
  border: 0 #232435 solid;
  background-color: #232435;
  padding: 10px 25px;
  border-radius: 12px;
  transition: filter .2s ease;
}
.forms{
  border: 0 #232435 solid;
  background-color: #232435;
  padding: 10px 25px;
  border-radius: 12px;
}
.server-modern-address{
  border: 0 #232435 solid;
  background-color: #232435;
  padding: 10px 25px;
  border-radius: 12px; 
}
.btn-steam-connect:hover {
  border: 0 #ff00cc solid;
  background-color: #ff00cc;
  color: #000;
  transition: filter .2s ease;
  animation: fadeIn .3s;
}

.header-top__auth {
  display: flex;
  align-items: center;
  border: 0 #6ea844 solid;
  background-color: #6ea844;
  padding: 10px 25px;
  border-radius: 12px;
  transition: filter .2s ease;
}
/* Popup styles */
.popup-bg {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  animation: fadeIn 0.3s;
}
.popup-bg.active {
  display: block;
}
.popup {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #232323;
  color: #fff;
  padding: 32px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px #000a;
  z-index: 1001;
  min-width: 320px;
  min-height: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.popup-bg.active .popup {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.popup-close {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  border: none;
  color: #e200ff;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover {
  color: #fff;
}
.shop-section {
  margin: 0 auto;
  max-width: 1400px;
  padding: 32px 0 0 0;
}
.shop-server-select {
  color: #bfc4d1;
  font-size: 1.15em;
  margin-bottom: 18px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.shop-tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 32px;
}
.shop-tab {
  background: #232435;
  color: #fff;
  border: none;
  border-radius: 10px 10px 10px 10px;
  padding: 12px 32px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.shop-tab.active, .shop-tab:hover {
  background: #2d2f44;
  color: #e200ff;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.shop-item {
  background: #23132b;
  border: 1.5px solid #7c5cff;
  box-shadow: 0 2px 12px #2d1436;
  border-radius: 18px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 270px;
  transition: box-shadow 0.2s, border 0.2s;
  overflow: visible;
  z-index: 1;
}
.shop-item:hover {
  
  border-color: #ff4d4f;
  box-shadow: 0 0 32px #ff0040, 0 0 48px #7c5cff inset;
}
.shop-item-img {
  width: 180px;
  height: 170px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.shop-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #232435;
  transition: transform 0.25s cubic-bezier(.4,2,.6,1);
}
.shop-item:hover .shop-item-img img {
  transform: scale(1.12);
  z-index: 2;
}
.shop-item-title {
  font-size: 1.15em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 18px;
  text-align: center;
}
.shop-item-bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}
.shop-item-price {
  color: #e200ff;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shop-item-price .old-price {
  color: #888;
  font-size: 0.95em;
  text-decoration: line-through;
  margin-bottom: 2px;
}
.shop-server-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ff4d4f;
  color: #fff;
  font-size: 0.7em;
  font-weight: bold;
  border-radius: 50px;
  padding: 5px 9px 5px 10px;
  box-shadow: 0 0 8px #ff0040, 0 0 2px #fff inset;
  z-index: 3;
  pointer-events: none;
}
.shop-buy-btn {
  background: #7c5cff;
  color: #fff;
  border: 2px solid #ff00cc;
  border-radius: 10px;
  padding: 10px 28px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow:
    0 0 8px #ff00cc,
    0 0 16px #ff0040,
    0 0 2px #fff inset;
}
.shop-buy-btn:hover {
  background: #ff4d4f;
  color: #fff;
  box-shadow:
    0 0 16px #ff00cc,
    0 0 32px #ff0040,
    0 0 4px #fff inset;
}
.shop-buy-btn.free {
  background: #5ecb4c;
  color: #fff;
}
.shop-buy-btn.free:hover {
  background: #7be86a;
}
.shop-item-price.free {
  color: #5ecb4c;
  font-weight: bold;
}
.shop-discount {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #7c5cff;
  color: #fff;
  font-size: 0.95em;
  font-weight: bold;
  border-radius: 50px;
  padding: 5px 16px;
  box-shadow: 0 0 8px #7c5cff, 0 0 2px #fff inset;
  z-index: 2;
}
/* --- Новое меню --- */
.main-header {
  background: #181a23;
  box-shadow: 0 2px 8px #0006;
  padding: 0;
  position: relative;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
}
.logo-block {
  font-family: 'Russo One', Arial, sans-serif;
  font-size: 2.1em;
  color: #fff;
  letter-spacing: 2px;
  font-weight: bold;
  margin-right: 32px;
  user-select: none;
  text-shadow: 0 2px 8px #000a;
}
.logo-text {
  display: inline-block;
  transform: skew(-8deg);
  letter-spacing: 2px;
  color: #fff;
  font-size: 1.3em;
  font-family: inherit;
}
.logo-img {
  max-height: 120px;
  max-width: 180px;
  width: auto;
  height: auto;
  display: block;
  margin: 0;
}
.main-nav {
  display: flex;
  gap: 16px;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #232435;
  color: #e0e0e0;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 1.08em;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px #0002;
  animation: fadeInUp 0.7s;
}
.nav-btn:hover, .nav-btn:focus {
  background: #23243f;
  color: #e200ff;
  filter: brightness(1.15);
  transform: none;
}
.nav-ico {
  font-size: 1.2em;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  position: relative;
  margin-left: 15px;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #232435;
  border-radius: 10px;
  box-shadow: 0 4px 16px #0007;
  min-width: 160px;
  z-index: 20;
  flex-direction: column;
  animation: fadeIn 0.3s;
  
}
.nav-dropdown.open .dropdown-content {
  display: flex;
  margin-top: 4px;
  flex-direction: column;
  align-items: center;
}
.nav-dropdown svg {
  transition: transform 0.2s;
  vertical-align: middle;
}
.nav-dropdown.open svg {
  transform: rotate(180deg);
}
/* Удаляем открытие по hover/focus */
/*
.nav-dropdown:hover .dropdown-content,
.nav-dropdown:focus .dropdown-content,
.nav-dropdown .dropdown-content:hover {
  display: block;
}
.nav-dropdown:focus {
  outline: none;
}
*/
.dropdown-content {
  pointer-events: auto;
}
.dropdown-content a {
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  margin-top: 5px;
  margin-bottom: 5px;
}
.dropdown-content a:hover {
  background: #181a23;
  color: #e200ff;
}
.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.balance-wallet {
  display: flex;
  border: 1px solid #e200ff;
  border-radius: 11px;
  align-items: center;
  justify-content: space-around;
}
.balance-block {
  border-radius: 10px;
  padding: 7px 18px;
  font-size: 1.1em;
  font-weight: 600;
  margin-right: 4px;
  box-shadow: 0 2px 8px #0002;
  animation: fadeInDown 0.7s;
}
.wallet-btn {
  background: #e200ff !important;
  border: 2px solid #ff00cc;
  border-radius: 10px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 1.2em;
  color: #e200ff;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 0 8px #ff00cc, 0 0 16px #ff0040, 0 0 2px #fff inset;
  animation: fadeInDown 0.7s;
}
.wallet-btn:hover {
  background: #e200ff;
  
  color: #fff;
  box-shadow:
    0 0 16px #ff00cc,
    0 0 32px #ff0040,
    0 0 4px #fff inset;
}
.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 4px;
  border: 1.5px solid #e200ff;
  box-shadow: 0 2px 8px #0004;
  animation: fadeInDown 0.7s;
}
.lang-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-btn {
  background: #232435;
  display: flex;
  color: #bfc4d1;
  border: none;
  border-radius: 7px;
  padding: 2px 10px;
  font-size: 0.65em;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.lang-btn:hover {
  background: #e200ff;
  color: #232435;
}
.wallet-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.wallet-form label {
  color: #e200ff;
  font-weight: 500;
  margin-bottom: 2px;
}
.wallet-form input, .wallet-form select {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1.5px solid #7c5cff;
  background: #1a1022;
  color: #fff;
  font-size: 1em;
  margin-bottom: 6px;
  transition: border 0.2s, box-shadow 0.2s;
}
.wallet-form input:focus, .wallet-form select:focus {
  border: 1.5px solid #ff4d4f;
  box-shadow: 0 0 12px #ff0040;
}
.wallet-form button[type="submit"] {
  margin-top: 10px;
}
.cart-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
}
.cart-list li {
  background: #232435;
  color: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05em;
}
.cart-date {
  color: #aaa;
  font-size: 0.95em;
  margin-left: 12px;
}
.cart-empty {
  color: #888;
  margin: 18px 0;
  text-align: center;
}
/* --- Личный кабинет --- */
.lk-layout {
  display: flex;
  gap: 32px;
  min-height: 520px;
}
.lk-sidebar {
  background: #1a0022;
  border: 2px solid #7c5cff;
  border-radius: 18px;
  padding: 32px 24px 24px 24px;
  min-width: 260px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 16px #7c5cff, 0 0 32px #ff0040 inset;
}
.lk-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.lk-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e200ff;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px #0005;
}
.lk-nick {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 4px;
}
.lk-steamid {
  color: #bfc4d1;
  font-size: 0.98em;
  margin-bottom: 12px;
  word-break: break-all;
}
.lk-menu-btn {
  width: 100%;
  background: #1a0022;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 1.08em;
  font-weight: 500;
  margin-bottom: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px #0002;
}
.lk-menu-btn.active, .lk-menu-btn:hover {
  background: #7c5cff;
  color: #fff;
}
.lk-balance {
  background: #2d1436;
  color: #ff4d4f;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 1em;
  font-weight: 600;
  margin-left: 8px;
}
.lk-logout {
  color: #ff4d4f;
  margin-top: 24px;
  text-align: center;
  display: block;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.lk-logout:hover {
  color: #fff;
}
.lk-main {
  flex: 1;
  background: #23243a;
  border-radius: 18px;
  padding: 32px 32px 24px 32px;
  min-width: 0;
  box-shadow: 0 2px 16px #0003;
}
.lk-section {
  display: none;
}
.lk-section.active {
  display: block;
}
.lk-wallet-block {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.lk-wallet {
  background: #23243a;
  border-radius: 14px;
  padding: 18px 32px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 2px 8px #0002;
}
.lk-wallet-amount {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 4px;
}
.lk-wallet-label {
  color: #bfc4d1;
  font-size: 1em;
}
.lk-history-block {
  margin-top: 18px;
}
.lk-history-title {
  color: #bfc4d1;
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 12px;
}
.lk-history-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.lk-history-table th, .lk-history-table td {
  background: #23243a;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 1em;
  text-align: left;
}
.lk-history-table th {
  color: #bfc4d1;
  font-weight: 600;
  background: none;
}
.lk-cart-title {
  color: #bfc4d1;
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 12px;
}
.lk-cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.lk-cart-table th, .lk-cart-table td {
  background: #23243a;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 1em;
  text-align: left;
}
.lk-cart-table th {
  color: #bfc4d1;
  font-weight: 600;
  background: none;
}
.lk-cart-status {
  background: #e200ff;
  color: #23243a;
  border-radius: 8px;
  padding: 4px 16px;
  font-weight: 600;
  font-size: 0.98em;
  display: inline-block;
}
.server-progress-bar {
  width: 100%;
  height: 18px;
  background: #23243a;
  border-radius: 8px;
  margin: 8px 0 12px 0;
  overflow: hidden;
  box-shadow: 0 1px 2px #0002;
}
.server-progress {
  height: 100%;
  background: linear-gradient(90deg, #ff4d4f, #7c5cff);
  box-shadow: 0 0 8px #ff0040, 0 0 2px #fff inset;
}
.servers-page {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}
.servers-filter {
  min-width: 260px;
  max-width: 320px;
  background: #20223a;
  border-radius: 16px;
  box-shadow: 0 0 16px #7c5cff, 0 0 32px #ff0040 inset;
  padding: 28px 22px 22px 22px;
  color: #bfc4d1;
  font-size: 1.08em;
  height: fit-content;
}
.filter-block {
  margin-bottom: 24px;
  padding: 10px 25px;
  border: 1.5px solid #7c5cff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #2d1436;
}
.filter-title {
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.08em;
}
.servers-filter label {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
  padding-left: 2px;
}
.filter-reset-btn {
  width: 100%;
  background: #1a0022;
  color: #ff00cc;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.08em;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-reset-btn:hover {
  background: #2d0036;
  color: #ff00cc;
}
.servers-list-block {
  flex: 1;
}
.servers-list-modern {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.server-modern-card {
  background: #23132b;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0004;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  position: relative;
  transition: box-shadow 0.2s, background 0.2s;
}
.server-modern-card:hover {
  box-shadow: 0 4px 24px #0006;
  background: #282a44;
}
.server-modern-info {
  flex: 1;
  min-width: 0;
}
.server-modern-title {
  font-size: 1.18em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.server-modern-address {
  color: #bfc4d1;
  font-size: 0.98em;
  margin-bottom: 6px;
  word-break: break-all;
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy-ip-btn {
  background: #23243a;
  border: none;
  border-radius: 6px;
  padding: 2px 8px;
  color: #e200ff;
  font-size: 0.98em;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.2s, color 0.2s;
}
.copy-ip-btn:hover {
  background: #e200ff;
  color: #23243a;
}
.server-modern-online {
  color: #e200ff;
  font-size: 1.08em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 120px;
}
.server-modern-progress-bar {
  width: 220px;
  height: 12px;
  background: #23243a;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 1px 2px #0002;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .shop-grid { flex-direction: column; gap: 18px; }
  .shop-item { min-width: unset; max-width: unset; width: 100%; }
  .server-modern-progress-bar { width: 100px; }
  .kit-items-grid { grid-template-columns: repeat(2, 1fr); }
  .kit-block { padding: 12px 6px; }
}
@media (max-width: 900px) {
    .header-inner { flex-direction: column; height: auto; padding: 12px; }
    .main-nav { margin: 10px 0; }
    .header-user { margin-top: 10px; }
    .lk-layout { flex-direction: column; gap: 0; }
    .lk-sidebar { max-width: 100%; min-width: 0; margin-bottom: 18px; }
    .lk-main { padding: 18px 8px; }
    .servers-page { flex-direction: column; gap: 0; }
    .servers-filter { max-width: 100%; min-width: 0; margin-bottom: 18px; }
    .servers-list-block { padding: 0; }
    .shop-popup { max-width: 98vw; padding: 18px 4vw 18px 4vw; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Loader spinner */
.loader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}
.loader-circle {
    border: 6px solid #232435;
    border-top: 6px solid #e200ff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- УБРАТЬ НЕОНОВЫЕ СТИЛИ --- */

/* Кнопки */
.neon-btn, .shop-buy-btn, .donate-btn, .filter-reset-btn, .wallet-btn {
  background: #232435;
  color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: none;
  text-shadow: none;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.neon-btn:hover, .shop-buy-btn:hover, .donate-btn:hover, .filter-reset-btn:hover, .wallet-btn:hover {
  background: #2d2f44;
  color: #e200ff;
  box-shadow: none;
}

/* Формы */
input, select, textarea {
  background: #232435;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: none;
  outline: none;
  transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid #e200ff;
  box-shadow: none;
}

/* Карточки */
.shop-item, .server-modern-card {
  background: #20212b;
  border: none;
  box-shadow: 0 2px 12px #0005;
  border-radius: 18px;
  transition: box-shadow 0.2s, background 0.2s;
}
.shop-item:hover, .server-modern-card:hover {
  box-shadow: 0 4px 24px #0006;
  
  border: none;
}

/* Бейджи */
.shop-server-badge {
  background: #ffb400;
  color: #232435;
  box-shadow: 0 2px 8px #0003;
  border: none;
}
.shop-discount {
  background: #ff4d4f;
  color: #fff;
  box-shadow: 0 2px 8px #0003;
  border: none;
}

/* Прогресс-бар */
.server-modern-progress-bar, .server-progress-bar {
  background: #636595;
  box-shadow: 0 1px 2px #0002;
}
.server-modern-progress, .server-progress {
  background: linear-gradient(90deg, #2ecc40, #e200ff);
  box-shadow: none;
}

/* Фильтр */
.servers-filter, .lk-sidebar {
  background: #20223a;
  border: none;
  box-shadow: 0 2px 16px #0003;
}

/* Header/footer */
header, footer, .main-header {
  background: #181a23 !important;
  box-shadow: 0 2px 8px #0006;
}

/* Текст */
h1, h2, .shop-item-title, .server-modern-title {
  color: #fff !important;
  text-shadow: none;
}
.shop-popup-bg {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10,8,20,0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
}
.shop-popup-bg.active {
  display: flex;
}
.shop-popup {
  background: #1a1022;
  border-radius: 22px;
  box-shadow: 0 8px 32px #000a;
  padding: 36px 36px 28px 36px;
  min-width: 340px;
  max-width: 700px;
  width: 100%;
  color: #fff;
  position: relative;
  animation: fadeInUp 0.4s;
}
.shop-popup-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  color: #7c5cff;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.shop-popup-close:hover {
  color: #ff4d4f;
}
.shop-popup-content {
  width: 100%;
  min-height: 540px;
}
.kit-block {
  background: #23132b;
  border: 1.5px solid #7c5cff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #2d1436;
  margin-bottom: 64px;
  padding: 22px 24px 18px 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.kit-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.kit-block-title {
  font-size: 1.18em;
  font-weight: bold;
  color: #fff;
}
.kit-block-usage {
  font-size: 1em;
  color: #7c5cff;
  background: #18121e;
  border-radius: 8px;
  padding: 4px 14px;
  font-weight: 600;
}
.kit-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.kit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.kit-item-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #232435;
  box-shadow: 0 2px 8px #0004;
  margin-bottom: 6px;
}
.kit-item-amount {
  font-size: 1em;
  color: #fff;
  background: rgba(44,0,0,0.18);
  border-radius: 6px;
  padding: 2px 10px;
  margin-top: 2px;
  font-weight: 600;
}
.kit-block-lock {
  background: rgba(255,77,79,0.13);
  color: #ff4d4f;
  border-radius: 8px;
  padding: 7px 0;
  text-align: center;
  font-size: 1em;
  font-weight: 600;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .kit-items-grid { grid-template-columns: repeat(2, 1fr); }
  .kit-block { padding: 12px 6px; }
}
/* Привилегии - попап */
.popup-privilege-layout {
  display: flex;
  flex-direction: row;
  gap: 28px;
  min-height: 320px;
  max-height: 480px;
  justify-content: space-between;
}
.popup-privilege-img {
  flex: 0 0 30%;
  display: flex;
  min-width: 120px;
  max-width: 220px;
  flex-direction: column;
  align-items: flex-start;
}
.popup-privilege-img img {
  width: 100%;
  max-width: 180px;
  max-height: 220px;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0006;
  object-fit: contain;
}
.popup-privilege-content-scroll {
  flex: 1 1 0;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-privilege-content-scroll h2 {
  margin-top: 30px;
    margin-bottom: 30px;
    color: #fff;
    font-size: 1.2em;
}
.popup-privilege-desc {
  color: #bfc4d1;
  margin-bottom: 8px;
  margin-left: 10px;
}
.popup-privilege-bonuses ul {
  margin: 6px 0 0 18px;
  padding: 0;
  color: #fff;
}
.popup-privilege-bonuses li {
  margin-bottom: 2px;
}
.popup-privilege-kit {
  margin-bottom: 8px;
}
.popup-privilege-buy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  width: 95%;
  padding-top: 18px;
  background: linear-gradient(to top, #1a1022 90%, transparent 100%);
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .popup-privilege-layout {
    flex-direction: column;
    gap: 12px;
    min-height: unset;
    max-height: unset;
  }
  .popup-privilege-img {
    max-width: 100%;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
  }
  .popup-privilege-content-scroll {
    max-height: 220px;
    padding-right: 0;
  }
  .popup-privilege-buy {
    position: static;
    padding-top: 12px;
    background: none;
  }
  .popup-privilege-bonuses-img {
    display: flex;
    background: #23132b;
    border: 1.5px solid #7c5cff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #2d1436;
    margin-top: 0px;
    /* min-width: 160px; */
    min-height: 159px;
    padding: 10px 10px;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    justify-content: center;
  }
}
/* --- Кастомный скроллбар для всего сайта --- */
body, .popup-privilege-content-scroll, .shop-popup-content, .kit-items-grid {
  scrollbar-width: thin;
  scrollbar-color: #7c5cff rgba(0,0,0,0);
}
body::-webkit-scrollbar, .popup-privilege-content-scroll::-webkit-scrollbar, .shop-popup-content::-webkit-scrollbar, .kit-items-grid::-webkit-scrollbar {
  width: 7px !important;
  background: transparent !important;
}
body::-webkit-scrollbar-thumb, .popup-privilege-content-scroll::-webkit-scrollbar-thumb, .shop-popup-content::-webkit-scrollbar-thumb, .kit-items-grid::-webkit-scrollbar-thumb {
  background: #7c5cff;
  border-radius: 8px;
  min-height: 32px;
  border: 2px solid rgba(0,0,0,0);
  background-clip: padding-box;
}
body::-webkit-scrollbar-track, .popup-privilege-content-scroll::-webkit-scrollbar-track, .shop-popup-content::-webkit-scrollbar-track, .kit-items-grid::-webkit-scrollbar-track {
  background: transparent;
}
.popup-privilege-content-scroll {
  /* ...existing code... */
  scrollbar-width: none; /* Для Firefox */
  scrollbar-color: #7c5cff rgba(0,0,0,0); /* Для Firefox */
}

/* Для Chrome, Edge, Opera */
.popup-privilege-content-scroll::-webkit-scrollbar {
  width: 7px !important;
  background: transparent !important;
  position: absolute;
}

.popup-privilege-content-scroll::-webkit-scrollbar-thumb {
  background: #7c5cff;
  border-radius: 8px;
  min-height: 32px;
  border: 2px solid rgba(0,0,0,0);
  background-clip: padding-box;
}

.popup-privilege-content-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* Убираем стрелки (кнопки) у скроллбара */
.popup-privilege-content-scroll::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}
.icon-tooltip {
  position: relative;
  display: inline-block;
  width: min-content;
}
.icon-img {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0006;
  cursor: pointer;
  transition: transform 0.18s;
  margin-left: 10px;
}
.icon-tooltip:hover .icon-img {
  transform: scale(1.07);
}
.icon-tooltip-popup, .global-tooltip {
  min-width: 90px;
  max-width: 170px;
  background: #7c5cff;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.7em;
  box-shadow: 0 4px 24px #0007;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  text-align: left;
  transition: opacity 0.18s, transform 0.18s;
  position: absolute;
}
.global-tooltip {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(-6px) scale(1);
}
.icon-tooltip-popup b {
  color: #fff;
  font-size: 1.08em;
  margin-bottom: 4px;
  display: block;
}
.popup-privilege-alert {
  background: #23132b;
  border: 1.5px solid #7c5cff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #2d1436;
  padding: 10px 16px;
  margin: 0px 5px 18px 0;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.popup-privilege-alert span {
  font-size: 1.2em;
  margin-right: 6px;
}
.popup-privilege-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.popup-privilege-bonuses-img {
  display: flex;
  background: #23132b;
  border: 1.5px solid #7c5cff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #2d1436;
  margin-top: 20px;
  min-width: 160px;
  min-height: 190px;
  padding: 10px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header__wrapper {
  border-radius: 16px;
  background: url(../img/header-bg.png) center center / cover no-repeat;
  position: relative;
  z-index: 2;
  padding: 0 64px;
  overflow: hidden;
}
.header__title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 65px;
  line-height: 120%;
}
.header__subtitle {
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  width: 50%;
  line-height: 120%;
  position: relative;
  z-index: 2;
}
.header__btn-container {
  margin-top: 30px;
  margin-bottom: 65px;
}
.header__btn {
  display: inline-flex
;
  align-items: center;
  font-weight: 500;
}
.btn-flare {
  position: relative;
  overflow-x: hidden;
}
.btn-white {
  color: #6542ff;
  background-color: #fff;
  border: 2px #fff solid;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.btn-white:hover {
  color: #FFF;
  background-color: #ff00cc;
  border: 2px #ff00cc solid;
  
}
.btn {
  outline: 0;
  cursor: pointer;
  text-decoration: none;
  border: 2px transparent solid;
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 16px;
  transition: all .2s ease;
}
.header__btn-icon {
  margin-right: 6px;
}
.site-footer {
  background: #181a23;
  color: #bfc4d1;
  padding: 32px 0 16px 0;
  font-size: 15px;
  margin-top: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 12px auto;
  padding: 0 32px;
  flex-wrap: wrap;
}
.footer-info {
  max-width: 60%;
}
.footer-legal {
  margin-bottom: 18px;
  color: #bfc4d1;
  font-size: 1em;
}
.footer-copyright {
  color: #888;
  font-size: 0.95em;
  line-height: 1.5;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-lang {
  background: #23243a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  display: inline-block;
  background: #23243a;
  border-radius: 8px;
  margin-right: 4px;
  transition: background 0.2s;
  background-size: 60% 60%;
  background-repeat: no-repeat;
  background-position: center;
}
.footer-social-btn.vk { background-image: url('/img/svg/vk.svg'); }
.footer-social-btn.discord { background-image: url('/img/svg/discord.svg'); }
.footer-social-btn.tg { background-image: url('/img/svg/telegram.svg'); }
.footer-social-btn:hover { background: #2d2f3a; }
.footer-bottom {
  text-align: right;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  color: #888;
  font-size: 0.95em;
}
.footer-bottom a {
  color: #888;
  margin-left: 24px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #fff;
}
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-info { max-width: 100%; }
  .footer-bottom { text-align: left; }
}

/* --- Бургер-меню и мобильная адаптация --- */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1201;
}
.burger-menu span {
  display: block;
  height: 4px;
  width: 28px;
  margin: 4px 0;
  background: #8990be;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .main-header .header-inner {
    flex-wrap: wrap;
    padding: 0 8px;
    display: flex;
    flex-direction: row;
  }
  .logo-img {
    max-height: 70px;
    max-width: 180px;
    width: auto;
    height: auto;
    display: block;
    margin: 0;
  }
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #23243a;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 0 0 0;
    height: 100vh;
    width: 80vw;
    max-width: 320px;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 1200;
    box-shadow: 2px 0 16px #0005;
    border-radius: 0 18px 18px 0;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-header .header-user {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .mobile-user-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px 0 18px;
    border-bottom: 1px solid #333;
    background: #23243a;
  }
  .mobile-user-block .balance-block {
    font-size: 1.2em;
    margin-bottom: 0px;
  }
  .mobile-user-block .wallet-btn {
    margin-bottom: 0px;
  }
  .mobile-user-block .header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 8px;
  }
  .header__title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 65px;
    line-height: 120%;
    text-align: center;
  }
  .header__subtitle {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    line-height: 120%;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .shop-tabs {
    display: flex;
    justify-content: space-evenly;
    gap: 18px;
    margin-bottom: 32px;
    flex-direction: column;
  }
  .shop-grid {
    gap: 18px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
  }
  .shop-item {
    min-width: unset;
    max-width: unset;
    width: 55%;
  }
  .shop-popup {
    background: #1a1022;
    border-radius: 22px;
    box-shadow: 0 8px 32px #000a;
    padding: 36px 36px 28px 36px;
    min-width: 340px;
    max-width: 700px;
    width: 70%;
    color: #fff;
    position: relative;
    animation: fadeInUp 0.4s;
  }
  .popup-privilege-bonuses-img {
    display: flex;
    background: #23132b;
    border: 1.5px solid #7c5cff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #2d1436;
    margin-top: 0px; 
    /* min-width: 160px; */
    min-height: 159px;
    padding: 10px 10px;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .main-nav {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
  .shop-item {
    min-width: unset;
    max-width: unset;
    width: 55%;
  }
  .header__title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 65px;
    line-height: 120%;
    text-align: center;
  }
  .header__subtitle {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    line-height: 120%;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .shop-tabs {
    display: flex;
    justify-content: space-evenly;
    gap: 18px;
    margin-bottom: 32px;
    flex-direction: column;
  }
  .shop-grid {
    gap: 18px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
  }
  .shop-popup {
    background: #1a1022;
    border-radius: 22px;
    box-shadow: 0 8px 32px #000a;
    padding: 36px 36px 28px 36px;
    min-width: 340px;
    max-width: 700px;
    width: 70%;
    color: #fff;
    position: relative;
    animation: fadeInUp 0.4s;
  }
  .popup-privilege-bonuses-img {
    display: flex;
    background: #23132b;
    border: 1.5px solid #7c5cff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #2d1436;
    margin-top: 0px;
    /* min-width: 160px; */
    min-height: 159px;
    padding: 10px 10px;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    justify-content: center;
  }
  .logo-img {
    max-height: 70px;
    max-width: 180px;
    width: auto;
    height: auto;
    display: block;
    margin: 0;
  }
  
}

/* Скрыть скролл при открытом меню */
/* --- Mobile Burger Menu --- */
.mobile-burger-menu {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0;
  background: #1a1022;
  z-index: 2000;
  box-shadow: 0 8px 32px #000a;
  border-radius: 0 0 18px 18px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-burger-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-burger-menu .mobile-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 32px;
}
.mobile-burger-menu .mobile-menu-item {
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  padding: 12px 0;
  width: 70%;
  text-align: center;
  border-color: #e200ff;
  background: none;
  transition: color 0.2s;
  cursor: pointer;
  border-radius: 10px;
}
.mobile-burger-menu .mobile-menu-item.active,
.mobile-burger-menu .mobile-menu-item:hover {
  color: #e200ff;
}
.mobile-burger-menu .mobile-user-block {
  padding: 18px 0 12px 0;
  background: #232435;
  border-radius: 0 0 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  box-shadow: 0 -2px 12px #0006;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .mobile-burger-menu { display: block; }
}
body.menu-open {
  overflow: hidden;
}