:root {
  --bg-main: #050508;
  --bg-panel: rgba(10, 10, 20, 0.88);
  --bg-panel-soft: rgba(15, 15, 30, 0.92);
  --accent: #00ffb2;
  --accent-soft: rgba(0, 255, 178, 0.15);
  --accent-red: #ff3b3b;
  --text-main: #f5f5f7;
  --text-muted: #a0a4b8;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-xl: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1a1a2e 0, #050508 55%, #000 100%);
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 255, 178, 0.09), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(88, 101, 242, 0.08), transparent 55%),
    radial-gradient(circle at 0% 80%, rgba(255, 0, 80, 0.06), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: bgSmoke 18s ease-in-out infinite alternate;
}

@keyframes bgSmoke {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-14px, 10px, 0) scale(1.03);
  }
}

ol {
    list-style-type: none;
}


/* WRAP */
.wrap {
  min-height: 100vh;
  max-width: 1700px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
      120deg,
      rgba(0, 255, 178, 0.02),
      rgba(255, 0, 80, 0.06)
    ),
    rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 12px;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  
}

.logo svg {
  width: 22px;
  height: 22px;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.tag {
  font-size: 12px;
  opacity: 0.8;
}

/* NAV */
.nav-menu {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-menu a {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text-main);
  border-color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.6);
}

/* LANG SWITCH */
.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-btn {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
  background: rgba(5, 5, 10, 0.9);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.lang-btn.active {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
}

/* PANELS/SECTIONS */
.panel {
  background: var(--bg-panel);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  margin-top: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-top: 24px;
}

.hero-left h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.lead {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* BUTTONS */
.btn {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgb(193 17 17 / 90%);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #34ffd8);
  color: #02040a;
  border-color: transparent;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent-soft);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

/* HERO STATS */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.stat-card {
  padding: 10px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(0, 255, 178, 0.14), #050509);
  min-width: 160px;
}

.stat-value {
  font-weight: 800;
  font-size: 17px;
}

.small {
  font-size: 11px;
  color: var(--text-muted);
}

/* QUICK LINKS */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-panel-soft);
}

.quick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.quick-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: 0.2s;
}

.quick-links a:hover {
  border-color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.7);
}

/* GENERIC */
.section-title {
  margin-top: 0;
  margin-bottom: 6px;
}

.text-center {
  text-align: center;
}

.muted {
  color: var(--text-muted);
  font-size: 13px;
}

/* DISCORD */
.discord-widget-wrapper {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* WIPE */
.wipe-card {
  background: radial-gradient(circle at top left, #1a1a33, #070710);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border-soft);
}

.wipe-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.timer {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wipe-type-value {
  font-weight: 700;
}

.wipe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wipe-info {
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  min-width: 140px;
}

.wipe-info-value {
  font-weight: 700;
}

/* PLUGINS */
.plugins-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.plugin-card {
  display: flex;
  gap: 14px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.86);
  border: 1px solid rgba(0, 255, 178, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  position: relative;
}

.plugin-icon {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 0 0, #00ffb2, #00412c);
  font-size: 24px;
}

.plugin-details h3 {
  margin: 0 0 6px;
  color: #00ffb2;
}

.plugin-features {
  margin: 6px 0 6px 18px;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.plugin-features li {
  margin-bottom: 3px;
}

.plugin-command {
  font-size: 13px;
  color: rgb(255, 255, 255);
  background: rgba(23, 231, 164, 0.1);
  padding: 10px 15px;
  border-style: groove;
  border-color: white;
  border-radius: 7px;
  border-width: 1px;

  display: inline-block;
  margin-top: 10px;

}

.plugin-command code {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 999px;
  color: #88ff00;

}

/* COMMANDS TABLE */
.cmd-search-input {
  width: 100%;
  margin: 10px 0 12px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.75);
  color: var(--text-main);
  font-size: 13px;
}

.cmd-search-input:focus {
  outline: none;
  border-color: var(--accent-soft);
}

.commands-table-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

.commands-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.commands-table thead {
  background: #00583a;
}

.commands-table thead th {
  padding: 10px;
  text-align: left;
}

.commands-table tbody tr {
  background: rgba(5, 5, 10, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.commands-table tbody tr:nth-child(2n) {
  background: rgba(8, 18, 18, 0.96);
}

.commands-table td {
  padding: 9px 10px;
  vertical-align: top;
}

.commands-table code {
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 999px;
}

/* SHOP */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.shop-card {
  position: relative;
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(0, 255, 178, 0.14), #050509);
  border: 1px solid rgba(0, 255, 178, 0.18);
  cursor: pointer;
  transition: 0.2s;
}

.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.65);
}

.shop-card .icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 6px;
}

.shop-card strong {
  display: block;
  margin-bottom: 3px;
}

.shop-card .muted {
  font-size: 12px;
}

.shop-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.shop-price-row .small {
  font-size: 12px;
}

/* FAQ */
.faq-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.8);
}

.faq-q {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  background: #00412c;
}

.faq-toggle-icon {
  transition: transform 0.2s;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease,
    padding 1.25s ease;
  background: rgba(94, 0, 0, 0.342);
}

.faq-item.open .faq-a {
  opacity: 1;
  transform: translateY(0);
  padding: 8px 14px 62px;
}

/* MODAL */
.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-window {
  position: relative;
  max-width: 440px;
  margin: 80px auto;
  background: rgba(6, 8, 18, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 178, 0.25);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.modal-body {
  padding: 18px 18px 16px;
}

.modal-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.modal-details {
  font-size: 13px;
  color: var(--text-muted);
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* FOOTER */
/* ===== RUST FOOTER ===== */
.rust-footer{
  position:relative;
  overflow:hidden;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(0,255,170,.16);
  border-radius:20px;
  padding:22px 18px 14px;
  margin-top:30px;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
}

.rust-footer .footer-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(0,255,170,.14), transparent 60%),
    radial-gradient(800px 420px at 80% 0%, rgba(255,120,0,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.85));
  filter:saturate(1.2);
  pointer-events:none;
}

.footer-top,
.footer-bottom{
  position:relative;
  z-index:2;
}

.footer-top{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:22px;
  margin-bottom:14px;
}

.footer-col h4{
  margin:0 0 8px;
  color:#00ff99;
  font-weight:800;
  letter-spacing:.3px;
}

.footer-col p,
.footer-col ul{
  margin:0;
  font-size:13px;
  line-height:1.5;
  opacity:.85;
}

.footer-col ul{
  list-style:none;
  padding:0;
}

.footer-col li{
  margin-bottom:6px;
}

.footer-col a{
  color:#fff;
  text-decoration:none;
  opacity:.85;
  transition:.2s;
}

.footer-col a:hover{
  opacity:1;
  text-decoration:underline;
}

/* IP COPY */
.footer-ip{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.footer-ip-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,255,170,.18);
  background:rgba(0,0,0,.35);
  color:#00ff99;
  cursor:pointer;
  font-weight:800;
  transition:.2s;
}

.footer-ip-btn:hover{
  border-color:rgba(0,255,170,.35);
  transform:translateY(-1px);
}

.footer-ip-status{
  font-size:12px;
  opacity:.75;
  min-height:16px;
}

/* Actions */
.footer-actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}





.side-social {
  position: relative;
  z-index: 99999;
}

/* tooltip box */
.side-social::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;

  background: rgb(88, 0, 0);
  color: #fdfdfd;
  font-size: 12px;
  padding: 6px 10px;
  white-space: nowrap;
  border-radius: 30px;
  border: solid;
  border-color: wheat;
  border-width: 1px;
  box-shadow: 0 8px 20px rgb(0, 0, 0);
  transition: .18s ease;
  z-index: 9999;
}

/* маленькая стрелочка */
.side-social::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;

  border: 6px solid transparent;
  border-bottom-color: rgb(0, 0, 0);
  transition: .18s ease;
}

.side-social:hover::after,
.side-social:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}





.footer-action-btn2{
  padding:1px 4px;
  border-radius:14px;

  font-weight:800;
  font-size:13px;
  text-decoration:none;
  transition:.2s;
  color: rgb(255, 255, 255);
  text-decoration: underline;
}

.footer-action-btn2:hover{
  transform:translateY(-22px);
  filter:brightness(1.1);
  color: red;
}


.footer-action-btn2.red{
  background:rgba(255,80,80,.14);
  border-color:rgba(255,80,80,.35);
  color:#ff5a5a;
}




.footer-action-btn{
  padding:10px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  transition:.2s;
}

.footer-action-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.1);
}

.footer-action-btn.green{
  background:rgba(0,255,153,.18);
  border-color:rgba(0,255,153,.35);
  color:#00ff99;
}

.footer-action-btn.red{
  background:rgba(255,80,80,.14);
  border-color:rgba(255,80,80,.35);
  color:#ff5a5a;
}

/* Social */
.footer-socials{
  display:flex;
  gap:10px;
  margin-top:8px;
}

.social-circle{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  font-weight:800;
  transition:.2s;
}

.social-circle:hover{
  transform:translateY(-2px);
  filter:brightness(1.2);
}

.social-circle.vk{ color:#7aa2ff; }
.social-circle.tg{ color:#00c3ff; }
.social-circle.dc{ color:#b18cff; }

/* mini status */
.footer-mini-info{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  opacity:.9;
}

.footer-mini-line{
  display:flex;
  align-items:center;
  gap:10px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}

.dot.online{
  background:#00ff99;
  box-shadow:0 0 12px rgba(0,255,153,.7);
}
.dot.wipe{
  background:#ff9f1c;
  box-shadow:0 0 12px rgba(255,159,28,.6);
}

/* bottom */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:10px;
  font-size:12px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  opacity:.9;
}

/* ===== Torch decoration ===== */
.footer-torch{
  position:absolute;
  right:-40px;
  bottom:-30px;
  width:240px;
  height:240px;
  z-index:1;
  pointer-events:none;
  opacity:.95;
  transform:rotate(-10deg);
}

.footer-torch .torch-img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 25px 45px rgba(0,0,0,.65));
  z-index: 1;
}

.torch-glow{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 30%, rgba(255,120,0,.25), transparent 60%);
  filter:blur(14px);
  animation:glowPulse 2.2s ease-in-out infinite;
}

.torch-flame{
  position:absolute;
  left:55%;
  top: 1%;
  width: 80px;
  height:110px;
  transform:translateX(-50%);
  background:radial-gradient(circle at 50% 70%, rgba(255,220,120,.9), rgba(255,120,0,.55), transparent 70%);
  filter:blur(10px);
  opacity:.9;
  border-radius:50%;
  animation:flameMove 1.2s ease-in-out infinite;
  z-index: -999;
}

.torch-smoke{
  position:absolute;
  left:50%;
  top:5%;
  width:160px;
  height:160px;
  transform:translateX(-50%);
  background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 70%);
  filter:blur(14px);
  opacity:.5;
  animation:smoke 3.8s ease-in-out infinite;
}


/* ====== Torch particles ====== */
.footer-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.footer-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 170, 60, 0.85);
  box-shadow: 0 0 12px rgba(255, 120, 0, 0.45);
  opacity: 0;
  animation: sparkUp linear forwards;
}

@keyframes sparkUp {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  15% { opacity: 1; }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(1);
    opacity: 0;
  }
}

/* ====== Parallax ====== */
.footer-torch {
  transform: rotate(-10deg);
  transition: transform 0.08s linear;
  will-change: transform;
}

.footer-torch .torch-img {
  transition: transform 0.08s linear;
  will-change: transform;
}

.footer-torch .torch-glow,
.footer-torch .torch-flame,
.footer-torch .torch-smoke{
  transition: transform 0.08s linear;
  will-change: transform;
}

/* ====== Mobile: softer ====== */
@media (max-width: 720px){
  .footer-spark{
    width: 2px;
    height: 2px;
    opacity: .75;
  }
}







@keyframes flameMove{
  0%{ transform:translateX(-50%) scale(1) translateY(0); opacity:.9; }
  50%{ transform:translateX(-50%) scale(1.08) translateY(-6px); opacity:1; }
  100%{ transform:translateX(-50%) scale(1) translateY(0); opacity:.9; }
}

@keyframes glowPulse{
  0%,100%{ opacity:.7; }
  50%{ opacity:1; }
}

@keyframes smoke{
  0%{ transform:translateX(-50%) translateY(0); opacity:.35; }
  60%{ transform:translateX(-50%) translateY(-16px); opacity:.55; }
  100%{ transform:translateX(-50%) translateY(-20px); opacity:.2; }
}

/* mobile */
@media (max-width: 720px){
  .footer-top{
    grid-template-columns:1fr;
  }
  .footer-torch{
    right:-80px;
    width:200px;
    height:200px;
    opacity:.7;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-card,
.plugin-card {
  position: relative;
}

.shop-card::before,
.plugin-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 0 0,
    rgba(0, 255, 179, 0.13),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.plugin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgb(29, 247, 0);
  opacity: 0.12;
  pointer-events: none;
}

.shop-card:hover::before,
.plugin-card:hover::before {
  opacity: 1;
}

@keyframes pulse-soft {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.16);
  }
  100% {
    transform: scale(1);
  }
}

.shop-card .icon,
.plugin-icon {
  animation: pulse-soft 3s ease-in-out infinite;
}

.commands-table tbody tr {
  transition: background 0.18s ease, transform 0.15s ease;
}

.commands-table tbody tr:hover {
  background: rgba(0, 80, 52, 0.9);
  transform: translateY(-1px);
}

/* HERO BANNER */

.hero-banner {
  padding: 30px 20px 28px;
  background: radial-gradient(
      circle at top,
      rgba(190, 0, 0, 0.932),
      transparent 55%
    );
  text-align: center;
  overflow: hidden;
}

.hero-main {
  max-width: 720px;
  margin: 0 auto;
  z-index: 2;
}

.hero-logo {
  width: 86px;
  height: 86px;
  margin: 0 auto 10px;
  border-radius: 26px;
}

.hero-logo-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 10px;
  border-radius: 26px;
  display: grid;
  place-items: center;

}

.logos {
  width: 826px;
  height: 526px;
}

.hero-title {
  margin: 6px 0 4px;
  font-size: 30px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  color: rgb(206, 240, 255);
}

/* IP карточка */

.ip-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(0, 255, 178, 0.4);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.ip-label {
  font-weight: 600;
  color: #00ffb2;
}

.ip-value {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

.ip-copy-btn {
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #00ffb2;
  color: #020304;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ip-copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 255, 178, 0.45);
  background: #2affc4;
}

.ip-copy-btn.copied {
  background: #1ed760;
}

/* Статы */

.hero-stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-stat {
  min-width: 180px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.hero-stat-value {
  font-size: 16px;
  font-weight: 700;
}

/* Кнопки */

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-play {
  background: linear-gradient(120deg, #00ffb2, #31ffd4);
  color: #010305;
  border-color: transparent;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.btn-discord {
  background: #23272a;
  border-color: #23272a;
}

.btn-shop {
  background: #ff3b3b;
  border-color: #ff3b3b;
}

/* Подпись под баннером */

.hero-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-note-accent {
  color: #00ffb2;
  text-decoration: underline;
}

/* Плавное появление  */



.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .hero-banner {
    padding: 24px 14px 24px;
  }
  .hero-title {
    font-size: 24px;
  }
  .ip-card {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero-stat-value.online-updated,
[data-online-slot].online-updated {
  color: #00ffb2;
  text-shadow: 0 0 10px rgba(0, 255, 178, 0.7);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}


.notify {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  background: rgba(0, 255, 178, 0.15);
  border: 1px solid rgba(0, 255, 178, 0.6);
  border-radius: 12px;
  color: #00ffb2;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 255, 178, 0.25);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

.notify.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.notify.hidden {
  display: none;
}

/* Wipe lock block */

.wipe-lock-card {
  margin-top: 12px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 178, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 0, 80, 0.2), transparent 55%),
    rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(0, 255, 178, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8);
}

.wipe-lock-card h4 {
  margin: 0 0 10px;
  text-align: center;
}

.wipe-lock-timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.wipe-lock-cell {
  min-width: 80px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(0, 255, 178, 0.35);
  text-align: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
}

.wipe-lock-cell span {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.wipe-lock-cell small {
  font-size: 11px;
  color: var(--text-muted);
}

/* баннер "блокировка снята" */

.wipe-lock-banner {
  display: none;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #00ffb2;
  color: #00ffb2;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  align-items: center;
  gap: 10px;
}

.wipe-lock-banner.visible {
  display: flex;
}

.wipe-lock-banner .banner-icon {
  font-size: 20px;
}

.wipe-lock-banner .banner-text {
  flex: 1;
}

/* Заблокированное оружие — сетка */

.wipe-lock-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.weapon-card {
  position: relative;
  padding: 10px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(0, 255, 178, 0.18), #040509);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(0) translateZ(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.weapon-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 178, 0.6),
    rgba(88, 101, 242, 0.4)
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.weapon-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.85));
}

.weapon-card span {
  font-size: 13px;
}

.weapon-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.95);
  border-color: var(--accent);
}

.weapon-card:hover::before {
  opacity: 0.5;
}


.card {
    color: red;
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
  width: 7px;
  height: 1px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 194, 103, 0.637);
}

::-webkit-scrollbar-thumb {
  background: #e71717;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  border: 2px solid #ff0000;
}


.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.wipe-history-timeline {
  margin-top: 10px;
  border-left: 2px solid var(--border-soft);
  padding-left: 14px;
}

.wipe-history-item {
  position: relative;
  margin-bottom: 10px;
  padding-left: 6px;
}

.wipe-history-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border-soft);
}

.wipe-history-item.wipe-next::before {
  background: var(--accent);
}

.wipe-history-date {
  font-weight: 600;
}

.wipe-history-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.guides-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.7fr);
  gap: 16px;
  margin-top: 12px;
  align-items: flex-start;
}

.guide-viewer {
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}

.guide-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.guide-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.guide-content h4 {
  margin-top: 0;
  margin-bottom: 6px;
}

.guide-content p {
  margin-top: 0;
}

.guide-content ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.guide-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8);
  border-color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.96);
}

.guide-card.active {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 255, 178, 0.25);
}

.guide-card.active h4 {
  color: var(--accent);
}

@media (max-width: 880px) {
  .guides-layout {
    grid-template-columns: 1fr;
  }

  .guide-viewer {
    order: -1; /* сначала видео, потом список гайдов */
  }
}

.logo-icon2 {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  
}

.bad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.bad-card {
  padding: 18px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(0,255,178,0.25);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  transition: 0.25s ease;
  cursor: grab;
}

.bad-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0,255,178,0.3);
}

.bad-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bad-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0,255,178,0.5);
}

.bad-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bad-name {
  font-size: 18px;
  font-weight: 700;
}

.bad-desc {
  margin-top: 10px;
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.4;
}

.bad-socials {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}

.bad-socials a {
  font-size: 22px;
  color: var(--text-main);
  transition: 0.2s;
}

.bad-socials a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent);
}


.bad-tox {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.bad-tox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.tox-critical {
  color: #ff4b6e;
  border: 1px solid rgba(255, 75, 110, 0.6);
}

.tox-high {
  color: #ffb347;
  border: 1px solid rgba(255, 179, 71, 0.6);
}

.tox-medium {
  color: #ffd447;
  border: 1px solid rgba(255, 212, 71, 0.6);
}

.tox-low {
  color: #57ff9a;
  border: 1px solid rgba(87, 255, 154, 0.6);
}

/* glow для соцсетей */
.bad-socials a {
  font-size: 22px;
  color: var(--text-main);
  transition: 0.18s ease;
}

.bad-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px) scale(1.12);
  text-shadow: 0 0 8px var(--accent), 0 0 18px var(--accent);
}

/* модалка профиля */
.bad-modal-content {
  max-width: 520px;
}

.bad-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.bad-avatar-big {
  width: 64px;
  height: 64px;
}

.bad-modal-violations {
  margin-top: 14px;
}

.bad-viol-title {
  margin: 0 0 6px;
  font-size: 14px;
}

.bad-viol-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.9;
}

.bad-socials-modal {
  margin-top: 16px;
}



#bad-modal {
  position: fixed;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 9999;
}

#bad-modal.hidden {
  display: none !important;
}

#bad-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.bad-modal-content {
  position: relative;
  z-index: 10;
  max-width: 520px;
  width: 95%;
  padding: 26px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(0, 255, 178, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85);
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
  background: none;
  border: none;
  color: #aaa;
}

.modal-close:hover {
  color: #fff;
}


/* кружок-аватарка с буквой ника */
.lb-player-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-right: 8px;
  background: #333;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.25);
}

/* цвета мест */
.lb-pos-1 {
  background: linear-gradient(135deg, #ffcc33, #ff8800);
  color: #231b00;
}

.lb-pos-2 {
  background: linear-gradient(135deg, #c0c7d3, #8f9bb3);
  color: #111722;
}

.lb-pos-3 {
  background: linear-gradient(135deg, #e2b28a, #c27c43);
  color: #2a1408;
}

/* подсветка всей строки по месту */
.lb-row-pos-1 {
  box-shadow: 0 0 14px rgba(255, 187, 51, 0.4);
}

.lb-row-pos-2 {
  box-shadow: 0 0 10px rgba(190, 200, 220, 0.35);
}

.lb-row-pos-3 {
  box-shadow: 0 0 10px rgba(230, 180, 120, 0.35);
}

/* анимация появления/обновления */
@keyframes lb-pop {
  0% {
    transform: translateY(6px);
    opacity: 0;
  }
  60% {
    transform: translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}

.lb-row-animate {
  animation: lb-pop 0.35s ease-out;
}

/* подсветка строки по ховеру */
.lb-table tbody tr.lb-row:hover {
  background: rgba(255, 1, 1, 0.03);
}


.lb-player-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  
  background: #333;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.25);
}

/* PIXEL EXPLOSION MASK */
#pp-pixel-mask {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(20, 1fr); /* 20 колонок пикселей */
    grid-template-rows: repeat(12, 1fr);   /* 12 строк пикселей */
    pointer-events: none;
    opacity: 0;
    z-index: 999;
}

.pp-pixel {
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translate(0,0) scale(1);
}

/* Анимация рассыпания */
@keyframes pixelExplode {
    0% {
        opacity: 1;
        transform: translate(0,0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.3);
    }
}

#burger-menu {
    width: 32px;
    height: 28px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2000;
}

#burger-menu span {
    display: block;
    height: 4px;
    background: #00ffa3;
    border-radius: 6px;
    transition: 0.3s ease;
}

/* Анимация крестика */
#burger-menu.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}
#burger-menu.active span:nth-child(2) {
    opacity: 0;
}
#burger-menu.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}


@media (max-width: 720px) {
    #burger-menu {
        display: flex;
        margin-left: 320px;
        
    }

    .lang-switch {
      margin-left: -7px;
    }

    .tag {
      margin-left: -54px;
    }


    .brand h1 {
      margin-left: -54px;
      
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 65%;
        height: 100%;
        background: rgba(0,0,0,0.92);
        backdrop-filter: blur(8px);
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: 0.35s;
        z-index: 1500;
    }
    .nav-menu.open {
        right: 0;
    }
}


.events-box {
    height:410px;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;

    scrollbar-width: thin;
    scrollbar-color: #00ffc8 #0b0f12;
}

/* Chrome */
.events-box::-webkit-scrollbar {
    width: 6px;
}
.events-box::-webkit-scrollbar-thumb {
    background: #00ffc8;
    border-radius: 4px;
}
.events-box::-webkit-scrollbar-track {
    background: #0b0f12;
}

.event-item {
    padding: 6px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,255,180,0.2);
    background: rgba(0, 0, 0, 0.35);
}

.event-time {
    font-weight: bold;
    opacity: 0.8;
    color: rgb(0, 225, 255);
}

.event-pvp { border-left: 4px solid #ff4444; }
.event-raid { border-left: 4px solid #ff8800; }
.event-join { border-left: 4px solid #00ff95; }
.event-leave { border-left: 4px solid #0094ff; }
.event-npc { border-left: 4px solid #ffd000; }
.event-death { border-left: 4px solid #a0a0a0; }
.event-animal { border-left: 4px solid #2ecc71; }


.events-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.events-filter button {
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(0, 255, 200, 0.08);
    border: 1px solid rgba(0, 255, 200, 0.25);
    color: #00ffd0;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 14px;
}

.events-filter button:hover {
    background: rgba(255, 0, 0, 0.25);
}

.events-filter button.active {
    background: rgba(0, 255, 200, 0.45);
    border-color: #00ffc8;
    box-shadow: 0 0 10px #ff0000;
}



.lb-col-kd {
  text-align: center;
  white-space: nowrap;
}

.lb-kd-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 48px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,178,.35);
  background: rgba(0,255,178,.08);
  font-weight: 800;
  margin-left: -10px;
}

/* =========================
   TOP-3 карточки игроков
   ========================= */

#lb-top3{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* card */
.lb-top3-card{
  position: relative;
  border-radius: 18px;
  padding: 11px 11px 11px;
  cursor: pointer;
  overflow: hidden;
  top: -10px;
  background: rgba(10, 14, 20, 0.55);
  border: 1px solid rgba(0, 255, 200, 0.14);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.lb-top3-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(600px 220px at 20% 10%, rgba(0, 255, 200, .14), transparent 55%),
    radial-gradient(420px 240px at 80% 15%, rgba(255, 80, 120, .10), transparent 60%);
  opacity: .95;
}

.lb-top3-card:hover{
  transform: translateY(-3px);
  border-color: rgba(0, 255, 200, 0.28);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* avatar */
.lb-top3-avatar-circle{
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 1;
}

.lb-top3-avatar-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.lb-top3-avatar-circle span{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  font-size: 28px;
  opacity: .9;
}

/* body */
.lb-top3-body{
  position: relative;
  margin-top: 12px;
  z-index: 1;
}

.lb-top3-name-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.lb-top3-name{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-top3-sub{
  margin-top: 4px;
  font-size: 12px;
  opacity: .75;
}

/* KD pill */
.lb-kd-pill{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  white-space: nowrap;
}

.lb-kd-high{ border-color: rgb(0, 255, 200); }
.lb-kd-mid { border-color: rgb(255, 211, 80); }
.lb-kd-low { border-color: rgb(255, 121, 80); }
.lb-kd-zero{ border-color: rgb(255, 80, 121); opacity:.85; }

/* rank */
.lb-top3-rank{
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.lb-top3-medal{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.32);
}

.lb-top3-medal-1{ border-color: rgb(255, 211, 80); }
.lb-top3-medal-2{ border-color: rgb(210, 220, 235); }
.lb-top3-medal-3{ border-color: rgb(230, 151, 90); }

.lb-top3-medal-1{ background: rgba(255, 210, 80, .55); }
.lb-top3-medal-2{ background: rgba(210, 220, 235, .55); }
.lb-top3-medal-3{ background: rgba(230, 150, 90, .55); }

.lb-top3-rank-text{
  font-size: 12px;
  font-weight: 800;
  opacity: .8;
}

/* stats grid 2x2 */
.lb-top3-stats-4{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lb-top3-stat{
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 58px;

  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);

  display:flex;
  flex-direction: column;
  justify-content: center;
}

.lb-top3-stat.is-best{
  border-color: rgba(0,255,200,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(0,255,200,0.18);
}

.lb-top3-stat-label{
  font-size: 11px;
  opacity: .72;
  margin-bottom: 4px;
}

.lb-top3-stat-value{
  font-size: 16px;
  font-weight: 900;
}

/* stats */

.lb-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.lb-stat-card {
  padding: 10px 12px;
  border-radius: 14px;
    background:
    radial-gradient(600px 220px at 20% 10%, rgba(0, 255, 200, .14), transparent 55%),
    radial-gradient(420px 240px at 80% 15%, rgba(255, 80, 120, .10), transparent 60%);
  border: 1px solid rgb(255, 255, 255);
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.lb-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.lb-stat-value {
  font-size: 18px;
  font-weight: 800;
}

.lb-stat-extra {
  font-size: 11px;
  color: var(--text-muted);
}




@media (max-width: 1100px){
  #lb-top3{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 720px){
  #lb-top3{ grid-template-columns: 1fr; }
  .lb-top3-avatar-circle{ width: 78px; height: 78px; }
}



/* =========================================================
   SIDE NAV (left panel )
   ========================================================= */
:root{
  --side-nav-w: 260px;
  --side-nav-w-collapsed: 84px;
  --side-nav-gap: 18px;
}

body{
  --side-nav-w-current: var(--side-nav-w);
}


@media (min-width: 980px){
  body{ padding-left: calc(var(--side-nav-w-current) + var(--side-nav-gap)); }
  .site-header .nav-menu{ display:none; } /* optional: hide top menu on desktop */
}


body.side-nav-collapsed{
  --side-nav-w-current: var(--side-nav-w-collapsed);
}

.side-nav{
  position: fixed;
  z-index: 999;
  left: 12px;
  top: 12px;
  height: calc(100vh - 24px);
  width: var(--side-nav-w-current);
  border-radius: 18px;
  background: rgba(10, 14, 20, 0.72);
  border: 1px solid rgba(0, 255, 200, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width .2s ease, transform .2s ease;
}

.side-nav-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.side-nav-social{
  display:flex;
  gap: 8px;
}

.side-social {
  width: 34px;
  height: 34px;
  display: grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}
.side-social:hover{
  transform: translateY(-1px);
  background: rgba(0,255,200,.12);
  border-color: rgba(0,255,200,.25);
}
.side-social i{ font-size: 16px; }

.side-nav-collapse{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  cursor:pointer;
}
body.side-nav-collapsed .side-nav-collapse i{
  transform: rotate(180deg);
}

.side-nav-links{
  padding: 10px;
  display:flex;
  flex-direction: column;
  gap: 6px;
  overflow:auto;
}

.side-nav-link{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.86);
  text-decoration:none;
  border: 1px solid transparent;
  background: rgba(255,255,255,.02);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.side-nav-link i{
  width: 22px;
  display:inline-grid;
  place-items:center;
  font-size: 16px;
  color: rgba(0,255,200,.9);
}
.side-nav-link span{
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .2px;
}

.side-nav-link:hover{
  transform: translateX(2px);
  background: rgba(0,255,200,.08);
  border-color: rgba(0,255,200,.18);
}
.side-nav-link.active{
  background: rgba(0,255,200,.12);
  border-color: rgba(0,255,200,.35);
  box-shadow: 0 10px 30px rgba(0,255,200,.08);
}

.side-nav-sep{
  height: 1px;
  margin: 8px 8px;
  background: rgba(253, 151, 151, 0.562);
}

.side-nav-bottom{
  margin-top: auto;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.side-nav-hint{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}


body.side-nav-collapsed .side-nav-link span,
body.side-nav-collapsed .side-nav-hint{
  display:none;
}
body.side-nav-collapsed .side-nav-links{ padding: 10px 8px; }
body.side-nav-collapsed .side-nav-link{ justify-content: center; gap: 0; }
body.side-nav-collapsed .side-nav-link i{ width: auto; }


@media (max-width: 979px){
  body{ padding-left: 0; }
  .side-nav{
    left: 10px;
    top: 10px;
    height: calc(100vh - 20px);
    transform: translateX(-110%);
  }
  body.side-nav-open .side-nav{
    transform: translateX(0);
  }

  .side-nav-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  body.side-nav-open .side-nav-backdrop{
    opacity: 1;
    pointer-events: auto;
  }
}



/* верх сайдбара*/
body.side-nav-collapsed .side-nav-top{
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
}

/* соц-кнопки в колонку */
body.side-nav-collapsed .side-nav-social{
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

body.side-nav-collapsed .side-nav-social a,
body.side-nav-collapsed .side-nav-social button{
  width: 100%;
  justify-content: center;
}


body.side-nav-collapsed .side-nav-collapse{
  width: 100%;
  height: 38px;
  border-radius: 12px;
  justify-content: center;
}


/* ===============================
   Pages (Home / Circuit)
   =============================== */
.app-pages{ width:100%; }
.app-page{ display:none; }
.app-page.is-active{ display:block; }


.side-nav-fab{
  position: fixed;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,255,208,.28);
  background: rgba(0,0,0,.55);
  color: #00ffd0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  z-index: 10050;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.side-nav-links a.is-active-page{
  background: rgba(0,255,208,.12);
  border-color: rgba(0,255,208,.35);
  box-shadow: inset 0 0 0 1px rgba(0,255,208,.12);
}

@media (max-width: 768px){
  .side-nav-fab{ display:flex; }
  body.side-nav-open .side-nav-fab{ display:none; }
}


.side-nav-link{
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

/* свечение только при наведении */
.side-nav-link:hover{
  border-color: rgb(0, 243, 190) !important;
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.952) !important;
}

/* и когда активная */
.side-nav-link.active{
  border-color: rgba(0,255,200,.35) !important;
  box-shadow:
    0 0 0 1px rgba(0,255,200,.28),
    0 0 18px rgba(0,255,200,.22) !important;
}

/* чтобы якоря не прятались под липким хедером */
.panel
 {
  scroll-margin-top: 110px;
}

@media (max-width: 768px) {
  .panel
  {
    scroll-margin-top: 90px;
  }
}


.app-pages {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* все страницы */
.app-page {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
}

/* активная */
.app-page.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* новая страница приходит справа */
.app-page.enter-from-right {
  opacity: 1;
  transform: translateX(100%);
}

/* новая страница приходит слева */
.app-page.enter-from-left {
  opacity: 1;
  transform: translateX(-100%);
}

/* старая уходит влево */
.app-page.leave-to-left {
  opacity: 0;
  transform: translateX(-100%);
}

/* старая уходит вправо */
.app-page.leave-to-right {
  opacity: 0;
  transform: translateX(100%);
}




.map-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.map-modal.is-open {
  display: block;
}

.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
}

.map-modal__panel {
  position: absolute;
  inset: 40px;
  margin: auto;
  background: rgba(10, 10, 10,.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-modal__panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.map-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255, .08);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}


/*СТИМ АТОРИЗАЦИЯ*/
.steam-auth {
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:12px;
}

.steam-login-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 12px;
  color:#fff;
  cursor:pointer;
  font-weight:600;
  display:flex;
  gap:8px;
  align-items:center;
  transition:.2s;
}

.steam-login-btn:hover {
  background: rgba(255,255,255,0.12);
}

.steam-user {
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  border-radius:14px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
}

.steam-user img {
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
}

.steam-user .name {
  font-weight:700;
  color:#fff;
  font-size:14px;
  max-width:130px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.steam-user .logout {
  cursor:pointer;
  font-size:12px;
  opacity:.7;
  margin-left:8px;
  transition:.2s;
}

.steam-user .logout:hover {
  opacity:1;
}

.top-user{
  display:flex;
  align-items:center;
  gap:10px;
  margin-right:12px;
}

.top-login-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:.2s;
}
.top-login-btn:hover{
  background: rgba(255,255,255,0.1);
}

.top-user-profile{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}

.top-user-profile img{
  width:32px;
  height:32px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.15);
}

.top-logout {
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:12px;
  background: rgba(255, 0, 0, 0.16);
  border:1px solid rgba(255, 0, 0, 29%);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:.2s;
}






.top-logout:hover{
  text-decoration:none;
}






















/* СНЕЖИНКИ */
#snowCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

#snowCanvas {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.281));
}




.hero-v2{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  min-height:520px;
  padding:0;
}

.hero2-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:brightness(.45) saturate(1.2);
  transform:scale(1.05);
}

.hero2-vignette{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,255,170,.25), transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(255,50,50,.25), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.5));
  backdrop-filter: blur(1px);
}

.hero2-wrap{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  padding:34px;
  align-items:center;
}

.hero2-left{max-width:620px;}

.hero2-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.hero2-logo{
  width:54px;
  height:54px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.hero2-name{
  font-weight:800;
  letter-spacing:.3px;
  font-size:17px;
}

.hero2-tag{
  font-size:13px;
  opacity:.8;
}

.hero2-title{
  font-size:40px;
  font-weight:900;
  line-height:1.05;
  margin:14px 0 12px;
}

.hero2-subtitle{
  opacity:.9;
  max-width:520px;
  line-height:1.35;
  margin-bottom:18px;
}

.hero2-ip{
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(0,0,0,.4);
  border:1px solid rgba(0,255,170,.25);
  padding:12px 14px;
  border-radius:14px;
  width:max-content;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.hero2-status{
  display:flex;
  align-items:center;
  gap:14px;
  margin:16px 0 18px;
  flex-wrap:wrap;
}

.hero2-pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(0,255,140,.25);
  font-weight:800;
  font-size:13px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}
.dot.online{
  background:#00ff88;
  box-shadow:0 0 12px #00ff88;
}

.hero2-stat{
  background:rgba(0,0,0,.3);
  border:1px solid rgba(255,255,255,.07);
  padding:8px 12px;
  border-radius:12px;
  font-size:13px;
  display:flex;
  gap:6px;
  align-items:center;
}

.hero2-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.hero2-features{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.hero2-feature{
  display:flex;
  gap:10px;
  padding:12px;
  border-radius:14px;
  background:rgba(0,0,0,.32);
  border:1px solid rgba(0,255,170,.18);
  box-shadow:0 10px 22px rgba(0,0,0,.3);
}

.hero2-feature .ic{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:12px;
  background:rgba(0,255,170,.12);
  border:1px solid rgba(0,255,170,.25);
}

.hero2-feature b{display:block;font-size:14px;}
.hero2-feature span{font-size:12px;opacity:.75;}

/* RIGHT turret */
.hero-banner{
  position: relative;
  overflow: hidden;
}

/* 3D турель */
.hero-turret{
  position: absolute;
  bottom: -40px;
  right: 10%;
  width: 420px;
  height: 420px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
  filter: blur(1px);
}

/* мягкое затемнение для атмосферы */
.hero-turret::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0,0,0,.45) 75%
  );
}

/* мобилки */
@media(max-width: 980px){
  .hero-turret{
    right: -40px;
    bottom: -60px;
    width: 300px;
    height: 300px;
    opacity: 0.55;
  }
}



/* =========================
   WIPE TIMER V3
========================= */

.wipe-v3 { padding: 24px; }

.wipe-v3-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.wipe-v3-badge{
  padding:8px 14px;
  border-radius:999px;
  background: rgba(0,255,170,0.08);
  border:1px solid rgba(0,255,170,0.18);
  font-weight:700;
  color:#ccffea;
  font-size:13px;
}

.wipe-v3-grid{

  grid-template-columns: 1fr 1fr;
  gap:16px;
}

@media(max-width:900px){
  .wipe-v3-grid{ grid-template-columns:1fr; }
}

.wipe-v3-card{
  position:relative;
  padding:18px;
  border-radius:20px;
  background: rgba(0,0,0,0.40);
  border:1px solid rgba(0,255,170,0.15);
  box-shadow: 0 20px 90px rgba(0,0,0,0.50);
  overflow:hidden;


}

.wipe-v3-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at top left, rgba(0,255,170,.14), transparent 60%);
  opacity:.8;
  pointer-events:none;
}

.wipe-v3-card.global{
  border-color: rgba(255,70,70,0.32);
}
.wipe-v3-card.global::before{
  background: radial-gradient(circle at top left, rgba(255,80,80,.20), transparent 60%);
}

.wipe-v3-card.server{
  border-color: rgba(0,255,170,0.22);
}

.wipe-v3-top{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:12px;
  position:relative;
  z-index:2;
}

.wipe-v3-label{
  font-weight:900;
  font-size:14px;
  letter-spacing:.5px;
}
.wipe-v3-sub{
  font-size:12px;
  opacity:.65;
}

.wipe-v3-timer{
  font-size:38px;
  font-weight:900;
  letter-spacing:1px;
  line-height:1;
  margin-top:6px;
  position:relative;
  z-index:2;
}

.wipe-v3-date{
  margin-top:10px;
  font-size:13px;
  opacity:.75;
  position:relative;
  z-index:2;
}

.wipe-v3-footer{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.wipe-v3-info{
  font-size:14px;
  opacity:.85;
}

.wipe-v3-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  background: rgba(0,0,0,0.30);
  border:1px solid rgba(0,255,170,0.20);
  color:#fff;
  font-weight:800;
  text-decoration:none;
  transition:.2s;
}
.wipe-v3-btn:hover{
  transform:translateY(-1px);
  border-color: rgba(0,255,170,0.55);
}


.timer-wipe {
  display: none;
}


/* ==========================================
   WIPE HISTORY REWORK
========================================== */

#wipe-history {
  padding: 24px;
}

.wipe-history-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.wipe-history-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .4px;
}

.wipe-history-badge {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,255,170,0.08);
  border: 1px solid rgba(0,255,170,0.22);
  color: rgba(220,255,245,.95);
  font-weight: 700;
  white-space: nowrap;
}

.wipe-history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media(max-width: 1100px){
  .wipe-history-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px){
  .wipe-history-grid { grid-template-columns: 1fr; }
}

.wipe-h-card {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(0,255,170,.15);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.wipe-h-card::before {
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at top left, rgba(0,255,170,.12), transparent 60%);
  opacity:.8;
  pointer-events:none;
}

.wipe-h-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}

.wipe-h-type {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .92;
}

.wipe-h-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  opacity:.9;
}

.wipe-h-chip.done { color:#aaffcc; border-color: rgba(0,255,140,.25); }
.wipe-h-chip.next { color:#ffd27a; border-color: rgba(255,190,90,.25); }

.wipe-h-time {
  font-size: 22px;
  font-weight: 900;
  margin: 2px 0;
  color: #eafff7;
}

.wipe-h-meta {
  font-size: 13px;
  opacity: .75;
  line-height: 1.3;
  margin-top: 6px;
}

/* ==========================================
   WIPE HISTORY TIMELINE
========================================== */

.wipe-history-controls{
  display:flex;
  align-items:center;
  gap:10px;
}

.wipe-nav{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(0,255,170,.18);
  background:rgba(0,0,0,.25);
  color:#fff;
  cursor:pointer;
  font-weight:900;
  transition:.2s;
}
.wipe-nav:hover{
  border-color:rgba(0,255,170,.45);
  transform: translateY(-1px);
}

.wipe-timeline-wrap{
  overflow:hidden;
  position:relative;
}

.wipe-timeline{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:8px 6px 10px;
}

/* scrollbar soft */
.wipe-timeline::-webkit-scrollbar { height: 10px; }
.wipe-timeline::-webkit-scrollbar-thumb {
  background: rgba(0,255,170,.15);
  border-radius: 999px;
}
.wipe-timeline::-webkit-scrollbar-track{
  background: rgba(255,255,255,.04);
}

.wipe-event{
  min-width: 320px;
  max-width: 320px;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(0,255,170,.14);
  border-radius:18px;
  padding:16px;
  position:relative;
  overflow:hidden;
}

.wipe-event::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at top left,
    rgba(0,255,170,.16),
    transparent 65%);
  opacity:.75;
  pointer-events:none;
}

.wipe-event.global{
  border-color: rgba(255,90,90,.20);
}
.wipe-event.global::before{
  background: radial-gradient(circle at top left,
    rgba(255,80,80,.22),
    transparent 65%);
}

.wipe-event-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.wipe-event-type{
  font-weight:900;
  font-size:13px;
  letter-spacing:.8px;
  text-transform:uppercase;
  opacity:.9;
}

.wipe-event-chip{
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-weight:800;
}

.wipe-event-chip.done{
  color:#aaffcc;
  border-color: rgba(0,255,140,.25);
}

.wipe-event-chip.next{
  color:#ffd27a;
  border-color: rgba(255,190,90,.25);
}

.wipe-event-time{
  font-size:22px;
  font-weight:900;
  color:#eafff7;
}

.wipe-event-meta{
  margin-top:8px;
  font-size:13px;
  opacity:.72;
  line-height:1.35;
}

.wipe-event-small{
  margin-top:10px;
  font-size:12px;
  opacity:.65;
}

/* ==========================================
   ВАЙП БЛОК
========================================== */

/* ===============================
   WIPE BLOCK UI
================================ */

.wipe-block-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0;
}

.wipe-tab{
  padding:9px 14px;
  border-radius:12px;
  border:1px solid rgba(0,255,170,.18);
  background:rgba(0,0,0,.22);
  color:#fff;
  cursor:pointer;
  font-weight:900;
  transition:.2s;
  display:flex;
  gap:8px;
  align-items:center;
}

.wipe-tab span{
  font-size:11px;
  opacity:.7;
  font-weight:700;
}

.wipe-tab.active{
  background:rgba(0,255,170,.15);
  border-color:rgba(0,255,170,.45);
}

.wipe-block-list{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
  gap:14px;
  margin-top:10px;
}

.wipe-item-card{
  display:flex;
  gap:12px;
  padding:5px;
  border-radius:18px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
  transition:.2s;
  position:relative;
  overflow:hidden;
}

.wipe-item-card:hover{
  border-color:rgba(0,255,170,.35);
  transform:translateY(-2px);
}

.wipe-item-card.open{
  border-color:rgba(0,255,170,.45);
  background:rgba(0,255,170,.07);
}

.wipe-item-icon{
  width:58px;
  height:58px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(0,255,170,.25);
  flex-shrink:0;
}

.wipe-item-body{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.wipe-item-name{
  font-weight:1000;
  font-size:15px;
  color:#ccffea;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.wipe-item-meta{
  font-size:12px;
  opacity:.75;
}

.wipe-item-bottom{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.wipe-item-status{
  font-family:ui-monospace,monospace;
  font-weight:900;
  font-size:13px;
  opacity:.95;
}

.wipe-item-status.open{
  color:#aaffcc;
}

.wipe-item-bar{
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  overflow:hidden;
}

.wipe-item-bar-fill{
  height:100%;
  width:0%;
  background:rgba(0,255,170,.65);
  transition: width .25s ease;
}

#wipe-block-search{
  width:260px;
  max-width:100%;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(0,255,170,.2);
  background:rgba(0,0,0,.22);
  color:#fff;
  outline:none;
  font-weight:800;
}

