* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #ff8c00 rgba(0, 0, 0, 0.1);
}
html { scrollbar-gutter: stable; }

body {
  position: relative;
  background-color: #161616;
  background-image: url('http://194.147.90.101:5003/img/839a5ee757cd4bbe94675cba8aa1f701.png');
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.432);
  z-index: 0;
}

body.winter-on .snowflake {
  position: fixed;
  top: -10vh;
  left: 0;
  color: #fff;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.9;
  animation-name: snowFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  user-select: none;
  will-change: transform;
}

@keyframes snowFall {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); }
  100% { transform: translate3d(30px, 110vh, 0) rotate(360deg); }
}

.container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1400px;
  padding: 0 20px;
  margin: 20px auto;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo img:hover { transform: scale(1.1); }

.menu {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex: 1;
}

.menu-item {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.3s ease, transform 0.25s ease;
  cursor: pointer;
  padding: 4px 0;
}

.menu-item-link {
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #ff5c5c, #f33c3c);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.9;
}

.menu-item:hover {
  color: #ff5c5c;
  transform: translateY(-1px);
}

.menu-item:hover::after { transform: scaleX(1); }

.steam-login-link {
  text-decoration: none;
  display: inline-block;
}

.steam-login {
  display: flex;
  align-items: center;
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.steam-login:hover {
  background: linear-gradient(90deg, #ff5c5c, #f33c3cc4);
  box-shadow: 0 4px 15px rgb(255 0 0 / 50%);
}

.steam-login .steam-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

.steam-login span {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.banner {
  width: 100%;
  height: 294px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
}

.banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.server-name {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.server-status {
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  font-weight: 500;
}

.server-icon {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 22px;
  right: 20px;
}

.categories {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.category-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, #16161670, #8d8c8ca9);
  z-index: 0;
  transition: all 0.6s ease;
  opacity: 0.2;
}

.category-item:hover::before { left: 0; opacity: 0.3; }

.category-item:hover,
.category-item.active-category {
  color: white;
  font-weight: 600;
  box-shadow: 0 0 5px rgb(143 143 143 / 38%);
  transform: translateY(-2px);
}

.category-item span { position: relative; z-index: 2; }

.product-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 30px 0;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(53,53,53,0.116);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(50px);
  transition: all .3s ease;
  min-height: 340px;
  height: auto;
  text-align: center;
}

.product-item:hover {
  background: rgba(255,255,255,0.20);
  box-shadow: 0 8px 16px rgba(0,0,0,.2);
  transform: translateY(-5px);
}

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.3;
  height: 1.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-description {
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  height: 1.3em;
  margin: 4px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-purchase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: rgba(255,255,255,0.14);
  padding: 12px 0;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
  margin-top: 0;
}

.product-purchase:hover {
  background: linear-gradient(90deg, #ff5c5c, #f33c3cc4);
  transform: translateY(-1px);
}

.product-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-weight: 700;
  background: #fff;
  color: #00aaff;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 41px;
}

.product-price .old-price,
.purchase-button .price .old-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-weight: 500;
  color: #00aaff;
}

.product-price .new-price {
  font-size: 1.05em;
  color: #ff9800;
}

.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e53935;
  color: #fff;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
  z-index: 2;
}

.days-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #1e88e5;
  color: #fff;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(30, 136, 229, 0.35);
  z-index: 2;
}

.discount-badge, .days-badge { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35)); }

.category-badge,
.category-label {
  margin: 10px auto;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #42a5f5;
  border: 1.5px solid rgba(66, 165, 245, 0.6);
  background: rgba(66, 165, 245, 0.08);
  backdrop-filter: blur(4px);
}

.fade-in { opacity: 0; animation: fadeInAnimation .5s ease-in-out forwards; }

@keyframes fadeInAnimation {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-section:not(.fade-in) .product-item { opacity: 0; }

.footer {
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 20px;
}

.footer-logo {
  color: white;
  font-size: 20px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease, transform 0.25s ease;
  padding: 4px 0;
  cursor: pointer;
  overflow: hidden;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #ff5c5c, #f33c3c);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.9;
}

.footer-links a:hover {
  color: #ff5c5c;
  transform: translateY(-1px);
}

.footer-links a:hover::after { transform: scaleX(1); }

.footer-icons {
  display: flex;
  gap: 15px;
}

.icon {
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img { width: 20px; height: 20px; }

.icon-vk { background-color: #4c75a3; }
.icon-youtube { background-color: #FF0000; }
.icon-telegram { background-color: #37AEE2; }
.icon-discord { background-color: #5865F2; }
.icon:hover { background-color: rgba(255, 255, 255, 0.5); }

.footer-brand {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.footer-created {
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.footer-created span {
  font-weight: 700;
  color: #4fc3f7;
}

.footer-created:hover {
  text-decoration: underline;
  color: #fff;
}

.priz-modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
}

.priz-modal.is-open { display: flex; }

.priz-modal__content {
  background: rgba(20,20,30,.35);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 32px;
  width: 560px;
  max-width: 95%;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  animation: priz-zoomIn .35s ease forwards;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@keyframes priz-zoomIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.priz-modal__close {
  position: absolute; top: 14px; right: 18px;
  font-size: 26px; color: #fff; cursor: pointer; opacity: .75;
  transition: opacity .2s ease, transform .2s ease; font-weight: bold; z-index: 10;
}

.priz-modal__close:hover { opacity: 1; transform: rotate(90deg) scale(1.1); }

.priz-modal h2 {
  margin-bottom: 20px; font-size: 24px; font-weight: 700;
  text-shadow: 0 0 8px rgba(151,25,255,.5); color: #fff;
}

#winInfo img {
  margin-top: 14px;
  max-width: 320px;
  border-radius: 12px;
  border: 2px solid #9719FF;
  box-shadow: 0 0 18px rgba(151,25,255,.6);
  transition: transform .3s;
}

#winInfo img:hover { transform: scale(1.05); }

.modal-buttons { display: flex; justify-content: center; gap: 14px; margin-top: 24px; }

.modal-buttons .save-button {
  padding: 12px 20px; font-size: 14px; font-weight: 600; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #9719FF, #6a11cb); color: #fff;
  box-shadow: 0 0 10px rgba(151,25,255,.4);
}

.modal-buttons .save-button:hover {
  background: linear-gradient(135deg, #7d17cc, #5b0fa7);
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(151,25,255,.5);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  backdrop-filter: blur(50px);
}

.modal.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal.is-closing {
  opacity: 0;
  pointer-events: none;
}

.modal[aria-hidden="true"] { display: none !important; }

.modal-content {
  width: min(720px, 94vw);
  max-height: min(82vh, 880px);
  overflow: auto;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 16px 18px;
  transform: translateY(8px) scale(0.985);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.42s ease;
}

.modal.is-open .modal-content { transform: translateY(0) scale(1); opacity: 1; }

#modalImageContainer {
  width: 100%;
  height: clamp(220px, 36vw, 400px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin: 0 auto;
}

#modalImage {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#modalTitle {
  margin-top: 14px;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: .2px;
  text-align: center;
  width: 100%;
  flex: 0 0 auto;
}

#modalDescription {
  margin: 6px 0 14px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  text-align: center;
  width: 100%;
  flex: 0 0 auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#modalDescription blockquote,
.product-description blockquote {
  margin: 10px 0;
  padding: 10px 14px;
  border-left: 3px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  font-style: italic;
}

.category-badge.under-image {
  margin: 10px auto 0;
  font-weight: 600;
  display: inline-block;
  flex: 0 0 auto;
}

.quantity-control {
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
  flex: 0 0 auto;
}

.quantity-control div {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; cursor: pointer; color: #fff;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  font-size: 18px; font-weight: 700;
}

.quantity-control div:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.quantity-control .quantity {
  flex: 1 1 auto;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

#serverSelect {
  width: 100%;
  height: 48px;
  line-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
  font-family: Montserrat, sans-serif; font-weight: 600; font-size: 14px;
  margin: 6px 0 8px;
  position: relative; z-index: 2;
  flex: 0 0 auto;
}

#serverSelect:hover:not(:disabled) {
  transform: translateY(-1px);
  background-color: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

#serverSelect:active:not(:disabled) { transform: translateY(0); box-shadow: 0 4px 10px rgba(0,0,0,.22); }

#serverList {
  display: none;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 6px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
  box-sizing: border-box;
  flex: 0 0 auto;
}

#serverList::-webkit-scrollbar { width: 6px; }
#serverList::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 4px; }
#serverList::-webkit-scrollbar-track { background: transparent; }

.server-item {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.85);
  font-weight: 600; letter-spacing: .2px;
  background: rgba(255,255,255,.10);
  transition: background .15s, transform .12s, color .15s;
  cursor: pointer;
  margin-bottom: 6px; text-align: center;
}

.server-item:last-child { margin-bottom: 0; }
.server-item:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); color: #00aaff; }
.server-item:active { transform: translateY(1px); }
.server-item.is-last-used { outline: 1px dashed rgba(255,255,255,.25); }

.purchase-button {
  width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 12px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .12s;
  flex: 0 0 auto;
}

.purchase-button:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

.purchase-button span {
  color: #fff; font-size: 14px; font-family: Montserrat, sans-serif; font-weight: 500;
}

.purchase-button .price {
  background: #fff; color: #00aaff; font-size: 14px; font-weight: 500;
  padding: 6px 10px; border-radius: 41px;
}

.purchase-button.is-loading { cursor: wait; transition: opacity .2s ease; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff8c00, #ffd700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ffd700, #ff8c00); }

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  animation: progress 3s linear forwards;
}

@keyframes progress {
  from { width: 100%; }
  to { width: 0; }
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 14px;
  margin-bottom: 20px;
}

.profile-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  transition: transform .15s ease, border-color .2s ease, background .25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.profile-section:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  width: 100%;
  color: inherit;
}

.profile-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
}

.profile-balance {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.profile-section:hover .profile-name { color: #ff5c5c; }

.profile-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.profile-section:hover .profile-avatar { border-color: rgba(255, 92, 92, 0.8); }

.profile-section:hover .profile-avatar img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.info-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
}

.info-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.info-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-balance {
  display: flex;
  gap: 5px;
  align-items: center;
}

.info-balance .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.info-balance .value {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.info-container {
  width: 50%;
  max-width: 600px;
  margin: 0;
  background: rgba(0, 0, 0, 0.20);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.info-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.info-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-nickname {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: white;
}

.info-label {
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.info-value {
  color: white;
  text-align: right;
  flex-grow: 1;
}

.info-row.steam-id {
  justify-content: space-between;
  padding: 0 20px;
}

.top-up-button {
  background: white;
  color: #9719FF;
  padding: 10px 20px;
  border-radius: 41px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  align-self: flex-start;
}

.top-up-button:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(151, 25, 255, 0.5);
  color: #9719FF;
}

.info-data {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchases-section {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.20);
}

.header-item {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: white;
  text-align: left;
  flex: 1;
}

.header-item:nth-child(1) { text-align: left; }
.header-item:nth-child(2) { text-align: center; }
.header-item:nth-child(3) { text-align: center; }
.header-item:nth-child(4) { text-align: right; }
.header-item:nth-child(5) { text-align: right; }

.table-body {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
}

.table-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  transition: background-color 0.3s ease;
}

.table-row:nth-child(odd) { background: rgba(255, 255, 255, 0.1); }
.table-row:nth-child(even) { background: rgba(255, 255, 255, 0.05); }
.table-row:hover { background: rgba(255, 255, 255, 0.2); }

.row-item {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: white;
  text-align: left;
  flex: 1;
}

.row-item:nth-child(1) { text-align: left; }
.row-item:nth-child(2) { text-align: center; }
.row-item:nth-child(3) { text-align: center; }
.row-item:nth-child(4) { text-align: right; }
.row-item:nth-child(5) { text-align: right; }

.status-completed { color: #10b981; }
.status-pending { color: #FFA500; }
.status-failed { color: #FF6347; }

#purchases .table-header .header-item:nth-child(1),
#purchases .table-body .table-row .row-item:nth-child(1) { text-align: left; }
#purchases .table-header .header-item:nth-child(n+2),
#purchases .table-body .table-row .row-item:nth-child(n+2) { text-align: center; }

#payments .table-header .header-item:nth-child(1),
#payments .table-body .table-row .row-item:nth-child(1) { text-align: left; }
#payments .table-header .header-item:nth-child(n+2),
#payments .table-body .table-row .row-item:nth-child(n+2) { text-align: center; }

#payments .table-body .row-item.status-completed { color: #10b981; font-weight: 700; }
#payments .table-body .row-item.status-pending { color: #f59e0b; font-weight: 700; }
#payments .table-body .row-item.status-failed { color: #ef4444; font-weight: 700; }

.promocode-section {
  width: 100%;
  background: rgba(0, 0, 0, 0.20);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promocode-header { display: flex; flex-direction: column; gap: 10px; }

.promocode-title {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
}

.promocode-description {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
}

.promocode-input {
  width: 100%;
  max-width: 344px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  padding: 0 20px;
  height: 57px;
}

.promocode-input input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: white;
}

.promocode-input input::placeholder { color: rgba(255, 255, 255, 0.70); }

.promocode-button {
  width: 100%;
  max-width: 344px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9719FF;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.promocode-button:hover {
  background: #7d17cc;
  box-shadow: 0 4px 15px rgba(151, 25, 255, 0.5);
}

.promocode-button span {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: white;
}

.info-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.popolnenie-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 48px;
  background: linear-gradient(90deg, #9719FF, #7d17cc);
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(151, 25, 255, 0.3);
}

.popolnenie-button:hover {
  background: linear-gradient(90deg, #7d17cc, #9719FF);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(151, 25, 255, 0.45);
}

.popolnenie-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(151, 25, 255, 0.3);
}

.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-width: 120px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.logout-button:hover {
  color: #ff5c5c;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 92, 92, 0.35);
}

.logout-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(255, 92, 92, 0.25);
}

.transfers-container {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.transfer-section {
  flex: 1;
  background: rgba(0, 0, 0, 0.20);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transfer-title {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
}

.transfer-description {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
}

.transfer-input {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  padding: 0 20px;
  height: 57px;
}

.transfer-input input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: white;
}

.transfer-input input::placeholder { color: rgba(255, 255, 255, 0.70); }

.transfer-notice {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.50);
}

.transfer-button {
  height: 57px;
  background: #9719FF;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.transfer-button:hover {
  background: #7d17cc;
  box-shadow: 0 4px 15px rgba(151, 25, 255, 0.5);
}

.history-section {
  flex: 2;
  background: rgba(0, 0, 0, 0.20);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-title {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: white;
}

.history-header {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.20);
  padding: 15px 20px;
  border-radius: 8px;
}

.history-body { display: flex; flex-direction: column; gap: 10px; }

.history-row {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.10);
  padding: 15px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.history-row:hover { background: rgba(255, 255, 255, 0.20); }

.roulette-section {
  width: 100%;
  position: relative;
  border-radius: 8px;
  backdrop-filter: blur(50px);
  padding: 50px 0;
  text-align: center;
  margin-top: 30px;
}

.roulette-title {
  color: white;
  font-size: 34px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.roulette-description {
  color: white;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  max-width: 550px;
  margin: 0 auto 40px;
}

.roulette-images {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}

.roulette-images-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.try-luck-button {
  padding: 14px 24px;
  background: #9719FF;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.try-luck-button-free {
  padding: 19px 24px;
  background: #9719FF;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.try-luck-button:hover,
.try-luck-button-free:hover { background-color: #7d17cc; }

.button-price {
  padding: 6px 10px;
  background: white;
  border-radius: 41px;
  color: #9719FF;
  font-size: 14px;
  font-weight: 500;
}

.server-select {
  height: 57px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  margin-top: 20px;
}

.center-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #ffffff;
  opacity: 0.7;
  z-index: 10;
}

.roulette-image {
  width: 232px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 42px;
}

.roulette-image img {
  width: 232px;
  height: 64px;
  border-radius: 8px;
}

.dropdown-icon { display: flex; align-items: center; justify-content: center; }
.arrow { width: 10px; height: 5px; background: rgba(255, 255, 255, 0.50); }

.prizes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 20px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.20);
  padding: 20px;
  border-radius: 8px;
  backdrop-filter: blur(50px);
}

.prize-card {
  flex: 1 1 calc(100% / 6 - 20px);
  max-width: calc(100% / 6 - 20px);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.prize-card img {
  width: 140px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.prize-title {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.prize-description {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.70);
  text-align: center;
}

.server-list {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
  position: relative;
  text-align: left;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  background-color: #9719FF;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover { background-color: #7d17cc; }

.server-status-online { color: #32CD32; }
.server-status-offline { color: #FF6347; }

.admin-link {
  margin-left: 12px;
  display: flex;
  align-items: center;
}

.admin-link-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}

.admin-link-button:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  color: #ff5c5c;
  transform: translateY(-1px);
}

.admin-link-button:hover i { transform: rotate(90deg); transition: transform 0.4s ease; }

.admin-link-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-link-button:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.admin-link-button::before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease, bottom 0.25s ease;
}

.admin-link-button:hover::before { bottom: -5px; opacity: 1; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tab {
  flex: 1 1 0;
  text-align: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  user-select: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}

.tab.active {
  background: linear-gradient(90deg, #696969, #989898);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tab-content { display: none !important; animation: fadeIn 0.3s ease forwards; }
.tab-content.active { display: block !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.confirm-replace-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.confirm-replace-content {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 15px;
  width: 500px;
  max-width: 90%;
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  animation: zoomIn 0.3s ease forwards;
}

.confirm-replace-content p { font-size: 20px; margin-bottom: 25px; }

.confirm-replace-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.confirm-replace-buttons button {
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.confirm-replace-buttons button:hover { background: rgba(255, 255, 255, 0.35); }

@keyframes zoomIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.pagination {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
}

.pagination-dots {
  padding: 5px 8px;
  color: #999;
  user-select: none;
  align-self: flex-end;
}

.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff; text-decoration: none; font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}

.page-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

.page-info { color: #fff; opacity: 1; font-weight: 700; }

.roulette-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}

.server-select select {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.global-server-select {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 12px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.global-server-select label {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.global-server-select select {
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.global-server-select select:hover { background: rgba(255, 255, 255, 0.3); }
.global-server-select select:focus { outline: none; background: rgba(255, 255, 255, 0.4); box-shadow: 0 0 5px #00aaff; }

.left-align { margin-left: 0; justify-content: flex-start; }

.server-bar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0;
  margin-bottom: 0px;
}

.global-server-select-custom {
  position: relative;
  width: 250px;
  font-family: 'Montserrat', sans-serif;
}

.custom-select {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 25px 15px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.custom-select:hover { background: rgba(255, 255, 255, 0.3); }

.arrow-down {
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin-left: 10px;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(50, 50, 50, 0.9);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  display: none;
  margin-top: 6px;
}

.custom-options.show { display: block; }

.custom-option {
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s ease;
}

.custom-option:hover { background: rgba(255, 255, 255, 0.1); color: white; }

.server-monitoring { display: flex; flex-wrap: wrap; gap: 15px; justify-content: flex-start; flex: 1; }

.server-monitoring.on-banner {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: calc(100% - 32px);
}

.server-monitoring.on-banner .server-status-box {
  min-width: 180px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.192);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
}

.server-status-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  min-width: 160px;
  flex: 1 1 160px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.server-status-box:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.15);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.server-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.server-info-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-info-name::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0 2px rgba(0,0,0,.25) inset, 0 0 10px rgba(255,77,79,.35);
  flex: 0 0 10px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.server-status-box.is-online .server-info-name::before {
  background: #36e46f;
  box-shadow: 0 0 0 2px rgba(0,0,0,.2) inset, 0 0 12px rgba(54,228,111,.55);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.server-status-box.is-offline .server-info-name { opacity: .95; }

@keyframes status-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.server-info-online { font-size: 12px; color: rgba(255, 255, 255, 0.8); margin-top: 3px; }
.server-info-map-time { font-size: 11px; color: rgba(255, 255, 255, 0.6); margin-top: 3px; font-style: italic; }

.server-play {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  padding: 0;
}

.server-play svg { fill: #fff; opacity: .9; }
.server-status-box.is-online .server-play { border-color: rgba(76,175,80,.45); }
.server-status-box.is-offline .server-play { border-color: rgba(244,67,54,.45); }

.server-play:hover { transform: scale(1.05); box-shadow: 0 6px 18px rgba(0,0,0,.28); background: rgba(255,255,255,.12); }
.server-play:active { transform: scale(.98); }

.ServerSelectBlock { position: relative; width: 100%; max-width: 250px; }

.Server_Select {
  background-color: #343333;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  height: 45px;
  line-height: 45px;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  transition: all .2s ease-in-out;
  user-select: none;
  white-space: nowrap;
}

.Server_Select:after {
  content: "";
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  display: block;
  height: 5px;
  width: 5px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: all .15s ease-in-out;
}

.Server_Select.Open:after { transform: translateY(-50%) rotate(-135deg); }

.Server_SelectedInp {
  background-color: #343333;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgb(68 68 68 / 11%);
  margin-top: 4px;
  position: absolute;
  top: 58px;
  left: 0; right: 0;
  transform-origin: 50% 0;
  transform: scale(0.75) translateY(-21px);
  transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

.Server_SelectedInp::-webkit-scrollbar { width: 6px; }
.Server_SelectedInp::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }

.Server_SelectedInp.Open { transform: scale(1) translateY(0); opacity: 1; visibility: visible; }

.Server_SelOption {
  padding-left: 18px;
  padding-right: 29px;
  line-height: 48px;
  min-height: 48px;
  color: #ffffff85;
  transition: all .2s;
  cursor: pointer;
}

.Server_SelOption:hover { background-color: rgba(255, 255, 255, 0.1); color: white; }
.Server_SelOption.Selected { color: white; }

.select-wrapper { position: relative; flex-grow: 1; }

.select-wrapper select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.select-wrapper select:hover { background: rgba(255, 255, 255, 0.3); }
.select-wrapper select:focus { outline: none; background: rgba(255, 255, 255, 0.4); box-shadow: 0 0 5px #00aaff; }

.select-wrapper .select-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  opacity: 0.7;
}

:root {
  --ss-bg: rgba(255,255,255,.06);
  --ss-bg-hover: rgba(255,255,255,.10);
  --ss-stroke: rgba(255,255,255,.22);
  --ss-stroke-strong: rgba(255,255,255,.45);
  --ss-text: rgba(255,255,255,.95);
}

.server-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.server-toolbar .global-server-select-custom {
  position: relative;
  z-index: 20;
}

.server-toolbar .custom-select {
  height: 56px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ss-bg);
  border: 1px solid var(--ss-stroke);
  color: var(--ss-text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.server-toolbar .custom-select:hover {
  background: var(--ss-bg-hover);
  border-color: var(--ss-stroke-strong);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  transform: translateY(-1px);
}

.server-toolbar .arrow-down {
  width: 8px; height: 8px;
  border-right: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  transform: rotate(45deg);
  transition: transform .2s ease, opacity .2s ease;
  opacity: .9;
}

.server-toolbar .global-server-select-custom:has(.custom-options.show) .custom-select {
  background: rgba(255,255,255,.12);
  border-color: var(--ss-stroke-strong);
  box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
}

.server-toolbar .global-server-select-custom:has(.custom-options.show) .arrow-down {
  transform: rotate(225deg);
}

.server-toolbar .custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  display: none;
  background: rgba(15, 15, 15, 0.274);
  border: 1px solid var(--ss-stroke);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
  z-index: 9999;
}

.server-toolbar .custom-options.show { display: block; }
.server-toolbar .custom-options::-webkit-scrollbar { width: 6px; }
.server-toolbar .custom-options::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 4px; }
.server-toolbar .custom-options::-webkit-scrollbar-track { background: transparent; }

.server-toolbar .custom-option {
  display: flex; align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ss-text);
  font-weight: 600;
  letter-spacing: .2px;
  transition: background .15s ease, transform .12s ease;
  cursor: pointer;
}

.server-toolbar .custom-option:hover { background: rgba(255,255,255,.10); transform: translateY(-1px); }
.server-toolbar .custom-option:active { transform: translateY(0); background: rgba(255,255,255,.16); }
.server-toolbar .custom-select:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

.server-toolbar .categories {
  display: contents !important;
}

.server-toolbar .category-item {
  height: 60px;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.92);
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  position: relative;
  z-index: 1;
}

.server-toolbar .category-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.04);
  color: #fff;
}

.server-toolbar .category-item.active-category {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.roulette-actions .global-server-select-custom {
  position: relative;
  flex: 0 0 260px;
  z-index: 20;
  font-family: 'Montserrat', sans-serif;
}

.roulette-actions .custom-select {
  height: 56px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ss-bg, rgba(255,255,255,.06));
  border: 1px solid var(--ss-stroke, rgba(255,255,255,.22));
  color: var(--ss-text, rgba(255,255,255,.95));
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.roulette-actions .custom-select:hover {
  background: var(--ss-bg-hover, rgba(255,255,255,.10));
  border-color: var(--ss-stroke-strong, rgba(255,255,255,.45));
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  transform: translateY(-1px);
}

.roulette-actions .arrow-down {
  width: 8px; height: 8px;
  border-right: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  transform: rotate(45deg);
  transition: transform .2s ease, opacity .2s ease;
  opacity: .9;
}

.roulette-actions .global-server-select-custom:has(.custom-options.show) .custom-select {
  background: rgba(255,255,255,.12);
  border-color: var(--ss-stroke-strong, rgba(255,255,255,.45));
  box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
}

.roulette-actions .global-server-select-custom:has(.custom-options.show) .arrow-down {
  transform: rotate(225deg);
}

.roulette-actions .custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  display: none;
  background: rgba(15,15,15,0.27);
  border: 1px solid var(--ss-stroke, rgba(255,255,255,.22));
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
  z-index: 9999;
}

.roulette-actions .custom-options.show { display: block; }
.roulette-actions .custom-options::-webkit-scrollbar { width: 6px; }
.roulette-actions .custom-options::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 4px; }

.roulette-actions .custom-option {
  display: flex; align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ss-text, rgba(255,255,255,.95));
  font-weight: 600;
  letter-spacing: .2px;
  transition: background .15s ease, transform .12s ease;
  cursor: pointer;
}

.roulette-actions .custom-option:hover { background: rgba(255,255,255,.10); transform: translateY(-1px); }
.roulette-actions .custom-option:active { transform: translateY(0); background: rgba(255,255,255,.16); }

#toast-container {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, 90vw);
  pointer-events: none;
}

.toast {
  --bg: rgba(18, 20, 24, 0.432);
  --fg: #E5E7EB;
  --stroke: rgba(255,255,255,.08);
  --accent: #9CA3AF;
  --bar-bg: rgba(255,255,255,.10);
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  min-height: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transform: translateY(-10px) scale(.98);
  opacity: 0;
  transition: transform .25s cubic-bezier(.22,.85,.35,1), opacity .25s ease;
}

.toast.show { transform: translateY(0) scale(1); opacity: 1; }

.toast::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 12px 0 0 12px;
}

.toast .icon { font-size: 14px; line-height: 1; margin: 0; align-self: center; }

.toast .content {
  font: 600 14px/1 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.toast .bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--bar-bg);
}

.toast .bar>i {
  display: block; height: 100%; width: 100%;
  transform-origin: left; transform: scaleX(1);
  background: var(--accent);
}

.toast.info { --accent: #7AA2FF; }
.toast.success { --accent: #22C55E; }
.toast.error { --accent: #EF4444; }
.toast.warn { --accent: #F59E0B; }

:root[data-theme="light"] .toast {
  --bg: #fff; --fg: #111827; --stroke: #E5E7EB; --bar-bg: rgba(17,24,39,.08);
  background: #fff; color: var(--fg);
  box-shadow: 0 8px 20px rgba(17,24,39,.10);
}

.info-two-col {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.info-two-col > .info-container { width: auto !important; max-width: 600px !important; margin: 0 !important; }

.info-two-col > .info-container .popolnenie-button {
  align-self: flex-start;
  min-height: 44px;
  line-height: 1;
  margin-top: 6px;
}

.stats-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }

.stats-chip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff; backdrop-filter: blur(12px);
  border-radius: 16px; padding: 10px 14px;
  font-size: 16px; font-weight: 300; letter-spacing: .3px;
}

.profile-stats-card {
  background: rgba(18,18,22,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

.server-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.server-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.88);
  background: rgba(22,22,22,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .12s ease, box-shadow .22s ease, color .2s ease;
  backdrop-filter: blur(8px);
}

.server-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #b3b3b3; }

.server-chip:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.server-chip:active { transform: translateY(0); box-shadow: none; }
.server-chip.active { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.server-chip.online .dot { background: #36e46f; box-shadow: 0 0 0 2px rgba(0,0,0,.25) inset, 0 0 10px rgba(54,228,111,.45); }

.stats-modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(12px, 2vw, 28px);
  background: radial-gradient(1200px 1200px at 50% 50%, rgba(0,0,0,.28), rgba(0,0,0,.42));
  backdrop-filter: blur(2px);
  z-index: 1000;
}

.stats-modal__content {
  width: min(960px, 96vw);
  border-radius: 16px;
  background: rgba(18, 18, 22, 0.61);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
  overflow: clip;
  animation: modalPop .18s ease-out;
}

@keyframes modalPop {
  from { transform: translateY(6px) scale(.985); opacity: .0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.stats-modal__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 8px 18px;
}

.stats-modal__title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: #fff;
  display: flex; align-items: center; gap: 10px;
}

.stats-modal__close {
  appearance: none; border: 0; outline: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.stats-modal__close:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 8px 20px rgba(0,0,0,.32);
}

.stats-modal__body {
  padding: 10px 18px 18px 18px;
  color: #fff;
  max-height: 70vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent;
}

.stats-modal__body::-webkit-scrollbar { width: 6px; }
.stats-modal__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 4px; }
.stats-modal__body::-webkit-scrollbar-track { background: transparent; }

.stats-placeholder { color: rgba(255,255,255,.75); }

.stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-pill {
  position: relative;
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-pill:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 10px 20px rgba(0,0,0,.28);
}

.stat-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.stat-name {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.stat-val {
  margin-top: 4px;
  font-weight: 800;
  font-size: clamp(18px, 3.2vw, 24px);
  line-height: 1.1;
  color: #fff;
  text-align: center;
}

.loading-dot {
  display: inline-block; width: 6px; height: 6px; margin-left: 6px;
  border-radius: 50%; background: #42a5f5;
  animation: dotPulse .9s infinite ease-in-out; vertical-align: middle;
}

@keyframes dotPulse {
  0%,100% { transform: scale(.6); opacity: .65; }
  50% { transform: scale(1); opacity: 1; }
}

#variationsBlock .variation-heading { font-size: 13px; opacity: .8; margin-bottom: 6px; }

#variationsList { display: flex; flex-wrap: wrap; gap: 8px; }

.variation-btn {
  font-family: inherit;
  height: 56px;
  padding: 0 18px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-weight: 600;
  letter-spacing: .2px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.variation-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.06);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.variation-btn:focus-visible { outline: none; border-color: rgba(255,255,255,.7); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

.variation-btn.is-active {
  border-color: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 8px 18px rgba(0,0,0,.28);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
}

.daily-container {
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.daily-bonus-header { margin: 0 0 6px; }
.daily-bonus-header h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #fff; }
.daily-bonus-header p { margin: 0; opacity: .8; font-size: 13px; color: #f3f3f3; }

.daily-bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 14px;
}

.bonus-card {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bonus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.4);
}

.bonus-step { display: flex; align-items: center; gap: 8px; }

.step-dot {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.4);
}

.step-label { font-size: 13px; color: #fff; opacity: .85; }
.bonus-amount { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; }
.bonus-amount .amount { font-size: 26px; line-height: 1; font-weight: 800; color: #fff; }
.bonus-amount .currency { color: #fff; opacity: .9; font-weight: 600; }
.bonus-status { margin-top: -2px; }

.status-pill {
  display: inline-block; font-size: 11px; letter-spacing: .2px; padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); color: #fff;
}

.status-pill.is-today { background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.55); }
.status-pill.is-locked { background: rgba(255,140,0,0.25); border-color: rgba(255,140,0,0.55); color: #fff; }

.bonus-claim {
  width: 100%; height: 44px; margin-top: 6px;
  border: none; border-radius: 10px; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.bonus-claim:active { transform: translateY(1px); }

.bonus-claim.active {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.bonus-claim.active:hover { background: #16a34a; box-shadow: 0 6px 14px rgba(0,0,0,0.35); }

.bonus-claim.disabled {
  background: rgba(0,0,0,0.1);
  color: rgba(255,255,255,0.6);
  cursor: not-allowed;
  border: 1px dashed rgba(255,255,255,0.2);
  box-shadow: none;
}

.bonus-claim.disabled.locked {
  background: #ff8c00;
  color: #fff;
  border: 1px dashed rgba(255,255,255,0.25);
  opacity: .9;
  cursor: not-allowed;
}

.bonus-card.bonus-claimed { opacity: .9; }
.bonus-card.bonus-locked { opacity: .85; }
.bonus-card.bonus-today { border-color: rgba(34,197,94,0.65); box-shadow: 0 8px 22px rgba(34,197,94,0.25); }

.refund-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  margin-top: 0 !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.2s;
}

.refund-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.refund-btn:active { transform: scale(0.97); background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.35); }
.refund-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.product-image-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 14px;
}

.product-image-slider img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease, opacity .25s ease;
}

.product-image-slider.is-anim img { opacity: .7; transform: scale(1.02); }

.product-slider-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.product-image-slider:hover .product-slider-arrow { opacity: 1; }

.product-slider-arrow:hover { background: rgba(0,0,0,.55); transform: translateY(-50%) scale(1.05); }
.product-slider-arrow.prev { left: 10px; }
.product-slider-arrow.next { right: 10px; }
.product-slider-arrow i { font-size: 14px; pointer-events: none; }

.modal-image-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

#modalImage {
  width: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: none;
  transition: transform .35s ease, opacity .25s ease;
}

.modal-image-slider.is-anim #modalImage { opacity: .75; transform: scale(1.02); }

#modalImageWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-slider-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 6;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.modal-image-slider:hover .modal-slider-arrow { opacity: 1; }
.modal-slider-arrow:hover { background: rgba(0,0,0,.55); transform: translateY(-50%) scale(1.05); }
.modal-slider-arrow.prev { left: 10px; }
.modal-slider-arrow.next { right: 10px; }
.modal-slider-arrow i { font-size: 14px; pointer-events: none; }

.modal-image-slider.is-single .modal-slider-arrow { display: none !important; }
.modal-image-slider.is-single #modalImage,
.modal-image-slider.is-single.is-anim #modalImage {
  transition: none !important;
  opacity: 1 !important;
  transform: scale(1.03) !important;
}

#galleryRows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 2px;
}

#galleryRows .gallery-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

#galleryRows .gallery-url {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  outline: none;
}

#galleryRows .gallery-url::placeholder { color: rgba(255,255,255,.45); }
#galleryRows .gallery-url:focus { border-color: rgba(0,170,255,.8); box-shadow: 0 0 0 3px rgba(0,170,255,.18); }

@media (max-width: 560px) {
  .modal-content { border-radius: 12px; }
  #modalTitle { font-size: 17px; }
  .days-badge, .category-badge, .category-label { padding: 4px 8px; font-size: 11px; }
  .variation-btn { height: 48px; padding: 0 14px; font-size: 13px; }
  .daily-container { padding: 14px; border-radius: 10px; }
  .daily-bonus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .bonus-card { padding: 12px; border-radius: 10px; }
  .bonus-amount .amount { font-size: 22px; }
}

@media (max-width: 600px) {
  .profile-section { padding: 10px 12px; gap: 10px; }
  .profile-avatar { width: 34px; height: 34px; }
  .profile-name { font-size: 13px; }
  .profile-balance { font-size: 12px; }
  .admin-link-button { width: 38px; height: 38px; font-size: 15px; }
  .admin-link-button::after { bottom: -34px; font-size: 10.5px; }
  .info-buttons { flex-direction: row; justify-content: center; gap: 8px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .tab { flex: 0 0 auto; min-width: max-content; font-size: 13px; padding: 8px 14px; }
  .tabs::-webkit-scrollbar { height: 5px; }
  .tabs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 10px; }
}

@media (min-width: 560px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 920px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .container { width: 95%; padding: 0 10px; }
  
  .navigation { flex-direction: column; padding: 15px; gap: 15px; }
  .logo img { width: 100px; }
  .menu { flex-direction: column; gap: 15px; width: 100%; text-align: center; align-items: center; }
  .menu-item { font-size: 14px; }
  .profile-section { width: 100%; justify-content: center; }
  .admin-link { margin-left: 0; margin-top: 10px; }
  .banner { height: 200px; margin-top: 15px; }
  .server-monitoring.on-banner { left: 10px; bottom: 10px; max-width: calc(100% - 20px); gap: 8px; }
  .server-monitoring.on-banner .server-status-box { min-width: 140px; padding: 8px 10px; }
  .server-info-name { font-size: 12px; }
  .server-info-online { font-size: 11px; }
  .server-info-map-time { font-size: 10px; display: none; }
  .server-toolbar { flex-direction: column; gap: 12px; }
  .server-toolbar .global-server-select-custom { flex: 1 1 100%; width: 100%; }
  .server-toolbar .categories { width: 100%; gap: 8px; }
  .server-toolbar .category-item { min-height: 48px; padding: 0 14px; font-size: 13px; }
  .product-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 20px 0; }
  .product-item { height: auto; padding: 12px; }
  .product-image { height: 120px; }
  .product-title { font-size: 14px; }
  .product-description { font-size: 11px; }
  .product-purchase { padding: 10px 0; font-size: 13px; }
  .product-price { font-size: 13px; padding: 5px 8px; }
  .discount-badge, .days-badge { padding: 4px 8px; font-size: 11px; }
  .modal-content { width: 95vw; padding: 12px; }
  #modalImageContainer { height: clamp(160px, 30vw, 220px); }
  #modalTitle { font-size: 16px; }
  #modalDescription { font-size: 13px; }
  .quantity-control { padding: 8px 10px; }
  .quantity-control div { min-width: 32px; height: 32px; font-size: 16px; }
  #serverSelect { height: 44px; font-size: 13px; }
  .purchase-button { padding: 10px 12px; }
  .info-two-col { grid-template-columns: 1fr; gap: 15px; }
  .info-container { width: 100% !important; max-width: 100% !important; padding: 20px; }
  .info-avatar { width: 60px; height: 60px; }
  .info-nickname { font-size: 16px; }
  .info-balance .value { font-size: 16px; }
  .info-buttons { flex-direction: row; justify-content: center; gap: 8px; }
  .popolnenie-button, .logout-button { min-width: 100px; height: 42px; font-size: 13px; }
  .profile-stats-card { padding: 14px; }
  .stats-chip { font-size: 14px; padding: 8px 12px; }
  .server-chips { gap: 6px; }
  .server-chip { font-size: 12px; padding: 8px 12px; }
  .table-header, .table-row { padding: 12px 15px; font-size: 12px; }
  .header-item, .row-item { font-size: 12px; }
  .table-header .header-item:nth-child(3), .table-row .row-item:nth-child(3) { display: none; }
  .promocode-section { padding: 20px; }
  .promocode-title { font-size: 16px; }
  .promocode-input, .promocode-button { max-width: 100%; height: 50px; }
  .transfers-container { flex-direction: column; gap: 20px; }
  .transfer-section, .history-section { padding: 20px; }
  .transfer-title { font-size: 16px; }
  .transfer-input, .transfer-button { height: 50px; }
  .roulette-section { padding: 30px 0; }
  .roulette-title { font-size: 24px; }
  .roulette-description { font-size: 14px; max-width: 90%; }
  .roulette-actions { flex-direction: column; gap: 15px; }
  .try-luck-button, .try-luck-button-free { padding: 12px 20px; font-size: 13px; }
  .prizes-container { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 15px; }
  .prize-card { padding: 20px; }
  .prize-card img { width: 100px; height: 28px; }
  .prize-title { font-size: 14px; }
  .footer { flex-direction: column; padding: 20px; height: auto; gap: 15px; text-align: center; }
  .footer-links { flex-direction: column; gap: 15px; }
  .footer-icons { justify-content: center; }
  .tabs { gap: 6px; }
  .tab { font-size: 12px; padding: 8px 12px; }
  .stats-modal__content { width: 95vw; }
  .stats-modal__head { padding: 14px; }
  .stats-modal__title { font-size: 16px; }
  .stats-modal__body { padding: 8px 14px 14px 14px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-pill { padding: 10px; min-height: 60px; }
  .stat-name { font-size: 11px; }
  .stat-val { font-size: 18px; }
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); }
}

@media (max-width: 900px) {
  .server-monitoring.on-banner .server-status-box { min-width: 160px; padding: 8px 10px; }
  .server-monitoring.on-banner .server-info-map-time { display: none; }
  .server-toolbar { flex-wrap: wrap; }
  .server-toolbar .global-server-select-custom { flex: 1 1 100%; }
  .roulette-actions { flex-wrap: wrap; }
  .roulette-actions .global-server-select-custom { flex: 1 1 100%; }
}

@media (max-width: 1100px) {
  .info-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-section { grid-template-columns: 1fr; }
  .product-item { height: auto; }
  .product-image { height: 180px; }
  .table-header .header-item:nth-child(4), .table-row .row-item:nth-child(4) { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .prizes-container { grid-template-columns: 1fr; }
  .daily-bonus-grid { grid-template-columns: 1fr; }
  .variation-btn { height: 48px; padding: 0 14px; font-size: 13px; }
  .popolnenie-button, .logout-button, .transfer-button, .promocode-button { width: 100%; }
  .menu { gap: 10px; }
  .menu-item { font-size: 13px; }
  .banner { height: 160px; }
  .footer { padding: 15px; }
  .footer-logo { font-size: 16px; }
  .footer-links a { font-size: 13px; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .banner { height: 150px; }
  .roulette-section { padding: 20px 0; }
  .modal-content { max-height: 90vh; overflow-y: auto; }
}

@media (hover: none) and (pointer: coarse) {
  .product-purchase, .purchase-button, .category-item, .server-chip, .tab, .variation-btn { min-height: 44px; }
  .product-item:hover, .category-item:hover, .server-status-box:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .modal, .modal-content { transition: none !important; transform: none !important; }
  .toast { transition: none; transform: none; }
  .toast .bar>i { transition: none !important; }
}
@media (max-width: 768px) {
  .server-toolbar .categories {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .server-toolbar .category-item {
    flex: 1 1 160px; 
    max-width: 100%;
    min-width: 0 !important;

    justify-content: center;
    text-align: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 1400px){.product-section{grid-template-columns: repeat(3, minmax(0, 1fr));}}
@media (max-width: 768px){.product-section{grid-template-columns: repeat(2, minmax(0, 1fr));gap: 12px;padding: 20px 0;}}
@media (max-width: 480px){.product-section{grid-template-columns: 1fr;}}