   * { box-sizing: border-box; }
body {
      margin: 0;
      font-family: 'Russo One', sans-serif;
/*      
        background:
        linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%),
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.02) 0%, transparent 60%),
        url('https://www.transparenttextures.com/patterns/asfalt-dark.png') repeat;

      background-blend-mode: overlay, overlay, overlay, normal;
*/
      color: #0f172a;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      padding: 1rem;
    }

.footer-absolute {
  position: fixed;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  z-index: 10;
  pointer-events: none;
  user-select: none;
  font-family: sans-serif;
  font-weight: normal;
  line-height: 1.2;
  padding: 0 10px;
}
.container {
  padding-bottom: 60px; /* до этого было padding: 1.5rem 2rem; */
}
/* Адаптация на мобилках */
@media (max-width: 600px) {
  .footer-absolute {
    font-size: 0.6rem;
    bottom: 16px;
  }
}

    .container {
      width: 100%;
      max-width: 860px;
      background-color: rgba(21, 21, 21, 0.97);
      border: 1px solid #2b2b2b;
      padding: 1.5rem 2rem;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }
.social {
      display: flex;
      justify-content: flex-end;
      gap: 1.5rem;
      margin-bottom: 1.5rem;
    }
.social a {
      display: inline-block;
      width: 32px;
      height: 32px;
    }
.social img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      opacity: 0.8;
      transition: opacity 0.3s;
    }
.social img:hover {
      opacity: 1;
    }
.header {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }
.header img {
      height: 64px;
    }
.header h1 {
      font-size: 1.8rem;
      color: #ffffff;
      margin: 0;
    }
.subtitle {
      font-size: 0.95rem;
      color: #b0b0b0;
      margin-bottom: 1rem;
    }
.total-online {
	  color: #ffebb3;
	  text-shadow: 0 0 6px rgba(0, 255, 85, 0.4);
	  letter-spacing: 2px;
	}
.server-info {
      background-color: #202020;
      border: 1px solid #333;
      padding: 0.8rem 1.5rem;
      font-size: 0.92rem;
      color: #d0d0d0;
      margin-bottom: 1rem;
    }
.features {
      background-color: #1a1a1a;
      padding: 1rem 1.5rem;
      border: 1px solid #333;
      margin-bottom: 1.5rem;
      font-size: 0.92rem;
      color: #d2d2d2;
      line-height: 1.5;
    }
.features li:last-child {
	  margin-bottom: 0;
	}
.buttons {
      display: flex;
      gap: 0.75rem;
      justify-content: space-between;
      flex-wrap: wrap;
    }
.btn {
      flex: 1;
      min-width: 120px;
      text-align: center;
	  letter-spacing: 1px;
	  transition: transform 0.3s ease, filter 0.3s ease, text-shadow 0.3s ease;
      text-decoration: none;
      padding: 0.85rem 1.2rem;
      font-weight: bold;
      border: none;
      cursor: pointer;
      font-family: 'Russo One', sans-serif;
    }
.btn-site { background-color: #164264; color: #429ddd; }
/* глубокий синий */
	.btn-neutral { background-color: #2e2e2e; color: #948d86; }
/* тёмно-серый */
	.btn-connect { background-color: #4b5c2d; color: #7ea637; }
/* ярко-зелёный */


    @media (max-width: 600px) {
      .header { flex-direction: column; text-align: center; }
.social { justify-content: center; margin-bottom: 1rem; }
.buttons { flex-direction: column; }
.btn { width: 100%; }
}

    .status-indicator {
      display: inline-block;
      width: 10px;
      height: 10px;
      margin-right: 8px;
      border-radius: 50%;
      background-color: #00ff55;
      box-shadow: 0 0 8px #00ff55;
      animation: blink 1.2s infinite;
    }
@keyframes blink {
        0%, 100% { opacity: 1; box-shadow: 0 0 8px #00ff55; }
        50% { opacity: 0.4; box-shadow: 0 0 2px #007f2f; }
    }

    .server-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      max-width: 400px;
      height: 100%;
      background: #111;
      color: white;
      padding: 1rem;
      box-shadow: -2px 0 10px rgba(0,0,0,0.5);
      z-index: 999;
      transition: right 0.3s ease;
      display: flex;
      flex-direction: column;
    }
.server-menu.open { right: 0; }
.menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
.menu-header h2 { margin: 0; font-size: 1.2rem; }
.menu-header button {
      background: none; border: none; color: white;
      font-size: 1.5rem; cursor: pointer;
    }
.server-list { list-style: none; padding: 0; }
.server-list li {
      padding: 0.75rem 1rem;
      background: #222;
      border: 1px solid #333;
      margin-bottom: 0.5rem;
      cursor: pointer;
      transition: background 0.2s;
    }
.server-list li:hover { background: #333; }
.server-list .ip { color: #ffebb3; font-size: 0.85rem; }
.online { margin-left: 6px; font-size: 0.85rem; color: #aaa; }
.status-circle {
      display: inline-block;
      width: 8px;
      height: 8px;
      margin-right: 6px;
      border-radius: 50%;
      animation: blink 1.5s infinite;
    }
.status-circle.green {
      background-color: #00ff55;
      box-shadow: 0 0 6px #00ff55;
    }
.status-circle.red {
      background-color: #ff4444;
      box-shadow: 0 0 6px #ff4444;
    }
#copied-toast {
      position: fixed;
      bottom: 1rem;
      right: 1rem;
      background: #00aa55;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
#copied-toast.show {
      opacity: 1;
    }
.tags {
      margin-top: 6px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
.tag {
      background-color: #1e3a5f;
      color: #ffffff;
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 4px;
      display: inline-block;
    }
.ip-tags-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      margin-top: 4px;
    }
.ip {
      color: #77ff88;
      font-size: 0.85rem;
    }
.tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
.tag {
      background-color: #1e3a5f;
      color: #ffffff;
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 4px;
    }
#effect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  background-image: url("https://i.ibb.co/JRSmsD0v/noise.png");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.5; /* можно увеличить до 0.8 для сильнее эффекта */
  mix-blend-mode: overlay;
}
.overlay-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("https://i.ibb.co/JRSmsD0v/noise.png");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}
.layer1 {
  opacity: 0.25;
  z-index: 1000;
  background-size: auto;
}
.layer2 {
  opacity: 0.15;
  z-index: 1001;
  background-size: 200px 200px;
}
.layer3 {
  opacity: 0.1;
  z-index: 1002;
  background-size: 300px 300px;
}
#overlay-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background-image: url("https://i.ibb.co/JRSmsD0v/noise.png");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.15;
}
.server-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.server-title {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: white;
  gap: 6px;
}
.server-online {
  font-size: 0.75rem;
  color: #ccc;
}
.hover-effect {
  position: relative;
  overflow: visible;
}
.hover-effect .preview-container {
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}
.hover-effect:hover .preview-container {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}
.preview-container img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
  background: #222;
}
/* Общий стиль при наведении */
.social a:hover img {
  transform: scale(1.3);
  opacity: 1;
  transition: transform 0.3s, filter 0.3s;
}
/* VK */
.social a[href*="vk"] img:hover {
  filter: drop-shadow(0 0 5px #0077FF) brightness(1.2);
}
/* Telegram */
.social a[href*="tg"], 
.social a[href*="t.me"], 
.social a[href*="telegram"] {
  display: inline-block;
}
.social a[href*="tg"] img:hover,
.social a[href*="t.me"] img:hover,
.social a[href*="telegram"] img:hover {
  filter: drop-shadow(0 0 5px #0088CC) brightness(1.2);
}
/* Discord */
.social a[href*="discord"] img:hover {
  filter: drop-shadow(0 0 5px #5865F2) brightness(1.2);
}
.social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}
body {
  margin: 0;
  font-family: 'Russo One', sans-serif;
  /*
  #background:
  #  linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%),
  #  radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 0%, transparent 60%),
  #  radial-gradient(circle at 75% 75%, rgba(255,255,255,0.02) 0%, transparent 60%),
  #  url('https://www.transparenttextures.com/patterns/asfalt-dark.png') repeat;
  background-blend-mode: overlay, overlay, overlay, normal;
*/  
  color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  letter-spacing: 0.5px;
    /*    background-image: url('https://files.facepunch.com/wiki/files/8348b/8da7d1f8dbd9bdd.jpg'); */
        background-image: url('https://cdn.roserust.ru/aboba/img/bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        width: 100vw;
        height: 100vh;
        z-index: -1; 
}
.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  text-shadow: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-site:hover,
.btn-neutral:hover,
.btn-connect:hover {
  text-shadow: none !important;
}
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}
#noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999; 
  background-image: url("https://i.ibb.co/JRSmsD0v/noise.png");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.08; /* тонкий эффект, можно 0.1–0.2 */
}
#noise-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2147483647;
  background-image: url("https://i.ibb.co/JRSmsD0v/noise.png");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.08;
/*  mix-blend-mode: overlay; */
}
body::after {
    background-image: url(https://files.facepunch.com/garry/1b1011b1/test.png?1=);
    content: " ";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2147483647;
    pointer-events: none;
    opacity: 0.4;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
    filter: none;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    filter: drop-shadow(0 0 5px #0077FF) brightness(1.2);
  }
}

.social a.vk img.pulse {
  animation: pulse 0.6s ease-in-out forwards;
  filter: drop-shadow(0 0 5px #0077FF) brightness(1.2);
}

.social a.tg img.pulse {
  animation: pulse 0.6s ease-in-out forwards;
  filter: drop-shadow(0 0 5px #0088CC) brightness(1.2);
}

.social a.ds img.pulse {
  animation: pulse 0.6s ease-in-out forwards;
  filter: drop-shadow(0 0 5px #5865F2) brightness(1.2);
}
.map-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}
.map-icon img {
  display: block;
  width: 20px;
  height: 20px;
}
.header img {
  transition: transform 0.7s ease;
}

.header img:hover {
  transform: rotate(360deg);
}
.subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #b0b0b0;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
  width: 100%; /* или max-width по макету */
  box-sizing: border-box;
}


.subtitle .status-indicator {
  flex-shrink: 0;
}

.subtitle .label-text {
  white-space: nowrap;
}

.subtitle .total-online {
  font-weight: bold;
  color: #ffebb3;
  white-space: nowrap;
  flex-shrink: 0;
}

.online-progress-bar-container {
  flex-shrink: 0;
  width: 180px;
  height: 12px;
  position: relative;
  margin-left: auto; /* сдвигает прогресс-бар вправо */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}