*,
*::before,
*::after {
  box-sizing: border-box;
}
/* В начало файла — подключение шрифта */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none;
}

body {
  position: relative;
}

.wrapper {
  position: relative;
  z-index: 1;
}

:root {
  --bg-main: #050712;
  --bg-card: rgba(15, 18, 35, 0.92);
  --bg-card-soft: rgba(17, 24, 45, 0.78);
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.15);
  --accent-strong: rgba(139, 92, 246, 0.4);
  --danger: #f97373;
  --success: #4ade80;
  --text-main: #f9fafb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.15);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 0%, rgba(129, 140, 248, 0.18), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(236, 72, 153, 0.2), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(45, 212, 191, 0.16), transparent 45%),
    linear-gradient(135deg, #020617, #020617 40%, #020617);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  z-index: 0;
}

.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px 26px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-bottom: 28px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 253, 0.25), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.24), transparent 55%),
              rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(15, 15, 45, 0.5) inset;
}

.logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

nav ul li a:hover {
  color: var(--text-main);
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.35), transparent 60%);
  border-color: rgba(129, 140, 248, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(129, 140, 248, 0.4);
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  backdrop-filter: blur(12px);
}

.profile-buttons button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  color: #f9fafb;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
  transition: all 0.2s ease;
}

.profile-buttons button i {
  font-size: 14px;
}

.profile-buttons button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.65);
}

.rating-btn {
  background: linear-gradient(135deg, #facc15, #f97316);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.45);
}

.activate-key-btn {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45);
}

.admin-btn {
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
}

.user-balance {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  transition: all 0.25s ease;
}

.user-balance i {
  color: #facc15;
}

.user-balance:hover {
  color: var(--text-main);
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.35), transparent 60%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.user-avatar {
  position: relative;
  cursor: pointer;
}

.user-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(236, 252, 203, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 20px rgba(236, 252, 203, 0.45);
  object-fit: cover;
  transition: all 0.2s ease;
}

.user-avatar img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.85), 0 0 28px rgba(251, 191, 36, 0.65);
}

.logout-btn {
  display: none;
  position: absolute;
  right: -2px;
  top: 50px;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fecaca;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

.user-avatar.active .logout-btn {
  display: block;
}

main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.site-banner {
  position: relative;
  min-height: 220px;
  margin: -8px 0 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(132, 170, 215, 0.18);
  background: rgba(9, 18, 38, 0.9);
  box-shadow: 0 18px 44px rgba(2, 8, 18, 0.44);
}

.site-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-banner__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.82), rgba(2, 8, 18, 0.36), rgba(2, 8, 18, 0.72)),
    linear-gradient(180deg, rgba(2, 8, 18, 0.08), rgba(2, 8, 18, 0.72));
}

.site-banner__content {
  position: relative;
  z-index: 1;
  width: min(var(--banner-text-width), 760px);
  min-height: 220px;
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.site-banner--center .site-banner__content {
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.site-banner--right .site-banner__content {
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}

.site-banner__content h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.site-banner__content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.site-banner.is-loading .site-banner__image,
.site-banner.is-loading .site-banner__shade,
.site-banner.is-loading .site-banner__content {
  opacity: 0;
}

.site-banner.is-loading::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  background:
    linear-gradient(#273249, #273249) 0 0 / 100% 100% no-repeat,
    linear-gradient(#33415c, #33415c) 42px 50% / 42% 34px no-repeat,
    linear-gradient(#20293a, #20293a) 42px calc(50% + 52px) / 54% 16px no-repeat;
  animation: bannerSkeleton 1.15s ease-in-out infinite;
}

@keyframes bannerSkeleton {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 0.58; }
}

@media (max-width: 700px) {
  .site-banner {
    min-height: 180px;
    border-radius: 14px;
  }

  .site-banner__content {
    width: 100%;
    min-height: 180px;
    padding: 24px;
  }
}

@media (max-width: 1024px) {
  main {
    gap: 18px;
  }
}

.user-info {
  width: 100%;
}

.user-card {
  position: relative;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 0, rgba(109, 40, 217, 0.55), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.45), transparent 55%),
    var(--bg-card-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.user-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  border: 3px solid rgba(236, 252, 203, 0.85);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.95), 0 0 32px rgba(251, 191, 36, 0.6);
  object-fit: cover;
}

.user-details h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.user-details p {
  margin: 4px 0;
  font-size: 15px;
  color: var(--text-soft);
}

.user-details strong {
  color: var(--text-main);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
  margin-left: 6px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  transition: all 0.25s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 999px;
  background: #e5e7eb;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.5);
  transition: all 0.25s ease;
}

input:checked + .slider {
  background: linear-gradient(135deg, #22c55e, #a3e635);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(190, 242, 100, 0.6);
}

input:checked + .slider::before {
  transform: translateX(26px);
  background: #f9fafb;
}

.slider.round {
  border-radius: 999px;
}

.toggle-text {
  margin-left: 12px;
  font-size: 14px;
  color: var(--text-soft);
}

body .linked-servers,
body .mod-linking {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.9);
  width: 100%;
}

body .linked-servers {
  margin-top: 12px;
}

body .linked-servers h2,
body .mod-linking h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-align: center;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.3), transparent 55%),
              rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.9);
  transition: all 0.2s ease;
}

.toggle-btn::before {
  content: "+";
  font-weight: 900;
  font-size: 15px;
}

.toggle-btn:hover {
  transform: translateY(-2px);
  background: radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.5), transparent 55%),
              rgba(15, 23, 42, 0.98);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.85);
}

.hidden {
  display: none;
}

#mod-form {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.3), transparent 60%),
              rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

#mod-form label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

#mod-form input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

#mod-form input:focus {
  border-color: rgba(129, 140, 248, 0.85);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
  background: rgba(15, 23, 42, 1);
}

.ip-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ip-field .ip-input {
  flex: 1 1 auto;
}

.add-ip,
.remove-ip {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.9);
  transition: all 0.15s ease;
}

.add-ip {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
}

.remove-ip {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fee2e2;
}

.add-ip:hover,
.remove-ip:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.95);
}

#save-mod {
  margin-top: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #f9fafb;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.7);
  transition: all 0.2s ease;
}

#save-mod:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.9);
}

body .linked-servers table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 14px;
  overflow: hidden;
}

body .linked-servers thead {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(139, 92, 246, 0.9));
}

body .linked-servers th,
body .linked-servers td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  text-align: center;
}

body .linked-servers th {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(249, 250, 251, 0.95);
}

body .linked-servers tbody tr:hover {
  background: rgba(139, 92, 246, 0.12);
}

body .purchases-container {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  margin-top: 8px;
  width: 100%;
}

body .purchases-container h2 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

body .purchases-container p {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--text-soft);
  text-align: center;
}

body .purchases-container table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
}

body .purchases-container thead {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(139, 92, 246, 0.9));
}

body .purchases-container th,
body .purchases-container td {
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(31, 41, 55, 0.95);
  vertical-align: middle;
}

body .purchases-container th {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(249, 250, 251, 0.95);
}

body .purchases-container tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.7);
}

body .purchases-container tbody tr:nth-child(even) {
  background: rgba(17, 24, 39, 0.8);
}

body .purchases-container tbody tr:hover {
  background: radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.18), transparent 55%),
              rgba(15, 23, 42, 1);
}

body .purchases-container td span[style*="#7dffa1"],
body .purchases-container td span[style*="7dffa1"] {
  color: var(--success) !important;
  font-weight: 600;
}

body .purchases-container td span[style*="#ff7676"],
body .purchases-container td span[style*="ff7676"] {
  color: var(--danger) !important;
  font-weight: 600;
}

.extend-rental-btn {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #f9fafb;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.8);
  transition: all 0.2s ease;
}

.extend-rental-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.95);
}

.extend-rental-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.8);
}

.dl-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(139, 92, 246, 0.75);
  background: radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.35), transparent 55%),
              rgba(15, 23, 42, 1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.95);
}

.icon-btn[data-tooltip]:hover::after,
.plugin-chip[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.96);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.95);
  z-index: 10;
}

.icon-btn[data-tooltip]:hover::before,
.plugin-chip[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(15, 23, 42, 0.96) transparent;
}

.mods-cell {
  max-width: 420px;
}

.plugin-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.plugin-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  transition: all 0.2s ease;
  position: relative;
}

.plugin-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.95);
  background: radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.35), transparent 60%),
              rgba(15, 23, 42, 1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.9);
}

.plugin-chip--ghost {
  border-style: dashed;
  opacity: 0.85;
}

.plugin-chip--none {
  opacity: 0.65;
  border-color: rgba(148, 163, 184, 0.45);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(16px);
  z-index: 50;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.modal.is-open {
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.35), transparent 60%),
    var(--bg-card-soft);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transform: translateY(14px) scale(0.96);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.modal.is-open .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-content h2 {
  margin: 4px 0 16px;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.98);
  color: #f9fafb;
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: all 0.2s ease;
}

.modal-content input:focus,
.modal-content select:focus {
  border-color: rgba(129, 140, 248, 0.85);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
  background: rgba(15, 23, 42, 1);
}

.modal-content button {
  margin-top: 6px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #f9fafb;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.9);
  transition: all 0.2s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 44px rgba(59, 130, 246, 0.95);
}

.close {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 22px;
  cursor: pointer;
  color: rgba(209, 213, 219, 0.9);
  transition: all 0.2s ease;
}

.close:hover {
  transform: scale(1.1);
  color: #e5e7eb;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.25), transparent 55%),
              rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #ecfdf5;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
  display: none;
  z-index: 60;
  animation: fadeInNotif 0.3s ease-out;
}

.notification.show {
  display: block;
}

.toast-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.site-toast {
  min-width: 220px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(18, 48, 82, 0.96);
  border: 1px solid rgba(132, 170, 215, 0.26);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(2, 8, 18, 0.34);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 13px;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast--error {
  background: rgba(128, 32, 48, 0.96);
  border-color: rgba(255, 128, 148, 0.32);
}

.site-toast--success {
  background: rgba(20, 92, 70, 0.96);
  border-color: rgba(105, 220, 175, 0.28);
}

@keyframes fadeInNotif {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  margin-top: 28px;
  margin-bottom: 16px;
  padding: 18px 28px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(14px);
  min-height: auto;
  height: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer p {
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.footer-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

#site-footer {
  color: #ffffff;
}

#site-footer a,
#site-footer a:link,
#site-footer a:visited {
  color: #a78bfa !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.25s ease;
}

#site-footer a:hover,
#site-footer a:active,
#site-footer a:focus {
  color: #c4b5fd !important;
  text-decoration: underline !important;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

#site-footer,
#site-footer * {
  color: #ffffff;
}

#site-footer a,
#site-footer a * {
  color: #a78bfa !important;
}

#site-footer a:hover,
#site-footer a:hover * {
  color: #c4b5fd !important;
}

@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 12px 16px;
  }

  nav ul {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .profile-info {
    order: 2;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .profile-buttons {
    flex: 1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: wrap;
  }

  main {
    gap: 16px;
  }

  .user-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .wrapper {
    padding: 12px 14px 20px;
  }

  .nav-container {
    border-radius: 18px;
  }

  .user-card {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .user-avatar-large {
    margin: 0 auto 16px;
  }

  .mods-cell {
    max-width: 100%;
  }

  body .purchases-container table,
  body .linked-servers table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body .purchases-container th,
  body .purchases-container td,
  body .linked-servers th,
  body .linked-servers td {
    padding: 10px 8px;
    white-space: nowrap;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  body .purchases-container {
    padding: 16px;
  }

  body .purchases-container h2 {
    font-size: 18px;
  }
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 1300px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.product-card {
  position: relative;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.3), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  transition: all 0.25s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.8);
  background:
    radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.45), transparent 60%),
    rgba(15, 23, 42, 1);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.95);
}

.product-card.is-loading-card {
  pointer-events: none;
}

.product-card.is-loading-card > * {
  opacity: 0;
}

.product-card-skeleton {
  display: none;
  position: absolute;
  inset: 12px;
  z-index: 2;
  pointer-events: none;
  animation: cardSkeleton 1.15s ease-in-out infinite;
}

.product-card.is-loading-card > .product-card-skeleton {
  display: block;
  opacity: 1;
}

.product-card-skeleton span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  background: #2b3448;
  border-radius: 999px;
}

.product-card-skeleton .skeleton-image {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 48%;
  border-radius: 14px 14px 10px 10px;
  background: #273249;
}

.product-card-skeleton .skeleton-title {
  top: 56%;
  width: 58%;
  height: 18px;
  background: #20293a;
}

.product-card-skeleton .skeleton-stats {
  bottom: 116px;
  width: 72%;
  height: 22px;
  background: #20293a;
}

.product-card-skeleton .skeleton-price {
  bottom: 78px;
  width: 46%;
  height: 28px;
}

.product-card-skeleton .skeleton-button {
  bottom: 34px;
  width: 64%;
  height: 30px;
}

@keyframes cardSkeleton {
  0%, 100% { opacity: 0.86; }
  50% { opacity: 0.58; }
}

.product-card h3 {
  font-size: 19px;
  margin: 8px 0 6px;
  letter-spacing: 0.03em;
  text-align: center;
}

.product-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

.product-image-slider {
  position: relative;
  width: calc(100% + 24px);
  aspect-ratio: 1 / 1;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  margin: -12px -12px 8px -12px;
}

.product-image-slider .image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.product-image-slider .image-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  border-radius: 0;
  transition: opacity 0.3s ease;
}

.product-image-slider .image-container img.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.9);
  transition: all 0.2s ease;
}

.slider-btn.prev {
  left: 8px;
}

.slider-btn.next {
  right: 8px;
}

.slider-btn:hover {
  background: rgba(55, 65, 81, 0.95);
  transform: translateY(-50%) translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.95);
}

.new-label,
.free-label,
.sale-label {
  position: absolute;
  top: 12px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #f9fafb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.new-label {
  left: 12px;
  background: linear-gradient(135deg, #f97316, #ec4899);
}

.free-label {
  right: 12px;
  background: linear-gradient(135deg, #22c55e, #a3e635);
}

.sale-label {
  left: 12px;
  background: rgba(128, 32, 48, 0.92);
  border: 1px solid rgba(255, 128, 148, 0.32);
  color: #ffffff;
  box-shadow: none;
}

.sale-label + .new-label {
  top: 46px;
}

.card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-soft);
}

.card-rating .stars i {
  color: #facc15;
  font-size: 14px;
}

.card-rating .rating-numbers {
  font-size: 12px;
  color: var(--text-soft);
}

.card-rating .rating-numbers .count {
  margin-left: 3px;
  opacity: 0.8;
}

.card-rating.is-loading {
  visibility: hidden;
}

.card-rating--overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  min-width: 54px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  line-height: 1;
  box-shadow: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.card-rating--overlay:hover {
  transform: translateY(-1px);
  background: rgba(30, 41, 59, 0.92);
}

.card-rating--overlay.active {
  background: rgba(127, 29, 29, 0.72);
  border-color: rgba(248, 113, 113, 0.48);
}

.card-rating--overlay.active i {
  color: #fecaca !important;
}

.card-rating--overlay:disabled {
  cursor: pointer;
  opacity: 0.82;
}

.card-rating--overlay.is-saving i {
  opacity: 0;
}

.card-rating--overlay.is-saving::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: likeSpin 0.7s linear infinite;
}

@keyframes likeSpin {
  to { transform: rotate(360deg); }
}

.card-rating--overlay i {
  color: #fff !important;
  font-size: 13px;
}

.card-rating--overlay .count {
  font-size: 12px;
  font-weight: 700;
}

.product-card-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 12px;
}

.product-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-rating.is-likes .stars {
  color: #e5e7eb;
}

.card-rating.is-likes .stars i {
  color: #e5e7eb;
}

.card-rating.is-likes .rating-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.old-price,
.product-discount {
  font-size: 13px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.58);
  text-decoration: line-through;
  opacity: 1;
}

.new-price,
.new-price2,
.final-price {
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  background: rgba(18, 48, 82, 0.92);
  color: #ffffff;
  border: 1px solid rgba(132, 170, 215, 0.22);
  box-shadow: none;
}

.new-price2 {
  font-size: 16px;
}

.final-price {
  background: rgba(18, 48, 82, 0.92);
  color: #f9fafb;
  box-shadow: none;
}

.details-btn {
  margin-top: auto;
  align-self: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #f9fafb;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.8);
  transition: all 0.2s ease;
}

.details-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.95);
}

.details-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.85);
}

.product-card.hide {
  display: none !important;
}

.product-card.fade-in {
  animation: fadeInCard 0.3s ease-out forwards;
}

.product-card.fade-out {
  animation: fadeOutCard 0.2s ease-out forwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeOutCard {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 20px;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cat-btn {
  position: relative;
  z-index: 1;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 170, 215, 0.16);
  background: rgba(18, 48, 82, 0.58);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 170, 215, 0.28);
  background: rgba(28, 68, 112, 0.76);
  box-shadow: none;
}

.cat-btn.active {
  background: #123052;
  border-color: rgba(132, 170, 215, 0.32);
  box-shadow: none;
}

.auth-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 26px 26px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.32), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.9) inset;
  text-align: center;
  backdrop-filter: blur(18px);
  animation: fadeInCard 0.4s ease-out;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.auth-logo img {
  max-height: 64px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(129, 140, 248, 0.8));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.auth-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 24px rgba(167, 139, 250, 1));
}

.auth-title {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.auth-description {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.auth-steam-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5f2ff;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.32), transparent 65%),
    linear-gradient(135deg, #0f172a, #020617);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(37, 99, 235, 0.7);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-steam-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg,
    rgba(59, 130, 246, 0.0),
    rgba(59, 130, 246, 0.6),
    rgba(56, 189, 248, 0.8),
    rgba(96, 165, 250, 0.0)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

.auth-steam-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 65%),
              linear-gradient(135deg, #020617, #020617);
  z-index: 0;
}

.auth-steam-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.98),
    0 0 0 1px rgba(56, 189, 248, 0.9);
  filter: brightness(1.05);
}

.auth-steam-btn:hover::before {
  opacity: 0.8;
}

.auth-steam-icon,
.auth-steam-text {
  position: relative;
  z-index: 1;
}

.auth-steam-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.8);
}

.auth-steam-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.auth-steam-text {
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.auth-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.auth-hint a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

.auth-hint a:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.7);
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 22px 18px 20px;
  }

  .auth-title {
    font-size: 20px;
  }

  .auth-description {
    font-size: 13px;
  }

  .auth-steam-btn {
    font-size: 13px;
    padding: 11px 14px;
  }
}
.discord-link-box{
  margin-top: 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.discord-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  margin-bottom: 15px;
}

.discord-btn--link{
  border-color: rgba(88, 101, 242, 0.45);
}
.discord-btn--link:hover{
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.9);
  box-shadow: 0 12px 34px rgba(88, 101, 242, 0.25);
}

.discord-btn--unlink{
  border-color: rgba(239, 68, 68, 0.35);
}
.discord-btn--unlink:hover{
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow: 0 12px 34px rgba(239, 68, 68, 0.20);
}

.discord-linked{
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(88,101,242,.22), transparent 55%),
              rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(88, 101, 242, 0.28);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.discord-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.discord-avatar{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(88,101,242,.45);
  box-shadow: 0 10px 26px rgba(88,101,242,.18);
  flex: 0 0 auto;
}
.discord-avatar--stub{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe;
  font-size: 18px;
  background: rgba(88,101,242,.12);
}

.discord-text{
  min-width: 0;
  text-align: left;
}
.discord-title{
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
}
.discord-sub{
  color: rgba(226,232,240,.75);
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

@media (max-width: 700px){
  .discord-linked{
    flex-direction: column;
    align-items: stretch;
  }
  .discord-sub{
    max-width: 100%;
  }
  .discord-btn--unlink{
    width: 100%;
    justify-content: center;
  }
}
.slider-btn {
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease, opacity 0.2s ease;
}

.product-card:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}
.profile-buttons .rating-btn,
.profile-buttons .activate-key-btn,
.profile-buttons .admin-btn,
.user-balance {
  font-family: 'Montserrat', sans-serif;
}
