*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --accent: #59A8D7;
      --accent-dim: rgba(89,168,215,0.15);
      --accent-glow: rgba(89,168,215,0.35);
      --bg: #0a0c0f;
      --bg2: #0f1217;
      --bg3: #141820;
      --card: #111418;
      --border: rgba(89,168,215,0.12);
      --text: #e8edf2;
      --muted: #6b7585;
      --max: 1160px;
    }


    .debug-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 140, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 140, 255, 0.3);
    border-left: 4px solid #59A8D7;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    pointer-events: none; /* Чтобы не мешал кликать по элементам под ним */
    font-family: sans-serif;
    border-radius: 4px;
}

/* ── NEW DISCORD SECTION ── */
.discord-section {
  background: var(--bg);
}

.discord-card-alt {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  min-height: 400px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s;
}

.discord-card-alt:hover {
  border-color: #5865F2;
}

.discord-info-side {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.discord-visual-side {
  flex: 0.8;
  background: #0f1217;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

/* Сетка внутри карточки для стиля */
.d-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(88, 101, 242, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(88, 101, 242, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.d-logo-glow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.d-logo-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  background: #5865F2;
  filter: blur(60px); /* Уменьшил блюр для большей насыщенности в центре */
  opacity: 0.4;
  animation: breathe 4s ease-in-out infinite; /* Эффект "дыхания" */
}

.d-logo-svg {
  position: relative;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.8)); /* Свечение контура логотипа */
  z-index: 3;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* Фикс для мобилок: логотип поменьше */
@media (max-width: 900px) {
  .d-logo-svg {
    width: 60px;
    height: 60px;
  }
  .d-logo-glow {
    width: 100px;
    height: 100px;
  }
}

/* Статистика внутри дискорда */
.discord-stats-row {
  display: flex;
  gap: 40px;
  margin: 32px 0;
}

.d-stat {
  display: flex;
  flex-direction: column;
}

.d-stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #5865F2;
}

.d-stat-l {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Кнопка */
.discord-btn-new {
  align-self: flex-start;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.discord-btn-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(88, 101, 242, 0.4);
  filter: brightness(1.1);
}

.d-icon {
  width: 20px;
  height: 20px;
}

/* Адаптив */
@media (max-width: 900px) {
  .discord-card-alt {
    flex-direction: column;
  }
  .discord-visual-side {
    height: 200px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .discord-info-side {
    padding: 40px 20px;
    text-align: center;
    align-items: center;
  }
  .discord-btn-new {
    align-self: center;
  }
  .discord-stats-row {
      justify-content: center;
  }
}

.debug-icon {
    font-size: 24px;
    color: #59A8D7;
}

.debug-content {
    display: flex;
    flex-direction: column;
}

.debug-title {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    color: #59A8D7;
    margin-bottom: 2px;
}

.debug-text {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.8;
}

/* Скрываем на очень маленьких экранах, если мешает */
@media (max-width: 480px) {
    .debug-banner {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    .debug-text {
        font-size: 11px;
    }
}
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    /* ── SCROLLBAR ── */
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 68px;
      background: rgba(10,12,15,0.7);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 22px; font-weight: 700; letter-spacing: -0.5px;
      color: var(--text);
    }
    .nav-logo span { color: var(--accent); }

    .nav-links {
      display: flex; gap: 36px; list-style: none;
    }
    .nav-links a {
      color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
      letter-spacing: 0.02em; transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }

    .nav-cta {
      background: var(--accent); color: #fff; text-decoration: none;
      padding: 9px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
      transition: opacity 0.2s, transform 0.2s;
      display: flex; align-items: center; gap: 8px;
    }
    .nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
    
    .steam-icon {
      width: 18px; height: 18px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12c0 4.42 2.865 8.17 6.78 9.56.5-.09.68-.22.68-.5v-1.77c-2.75.6-3.34-1.33-3.34-1.33-.46-1.17-1.12-1.49-1.12-1.49-.92-.63.07-.62.07-.62 1.02.07 1.56 1.05 1.56 1.05.9 1.55 2.37 1.1 2.95.84.09-.66.35-1.11.64-1.37-2.22-.25-4.56-1.11-4.56-4.95 0-1.09.39-1.99 1.03-2.69-.1-.26-.45-1.28.1-2.66 0 0 .84-.27 2.75 1.02.8-.22 1.65-.33 2.5-.33.85 0 1.7.11 2.5.33 1.91-1.29 2.75-1.02 2.75-1.02.55 1.38.2 2.4.1 2.66.64.7 1.03 1.6 1.03 2.69 0 3.85-2.34 4.7-4.57 4.95.36.31.68.92.68 1.85v2.74c0 .28.18.58.69.5C19.14 20.17 22 16.42 22 12c0-5.52-4.48-10-10-10z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }

    /* ── HERO ── */
    .hero {
      width: 100%; min-height: 100vh;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }

    /* Video background layer */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
    }

    /* Dark overlay over the image/video */
    .hero-overlay {
      position: absolute; inset: 0; z-index: 1;
      background:
        radial-gradient(ellipse 70% 60% at 50% 30%, rgba(89,168,215,0.12) 0%, transparent 70%),
        linear-gradient(180deg, rgba(10,12,15,0.55) 0%, rgba(10,12,15,0.75) 60%, rgba(10,12,15,1) 100%);
    }

    .hero-grid {
      position: absolute; inset: 0; z-index: 2;
      background-image:
        linear-gradient(rgba(89,168,215,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(89,168,215,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
    }

    /* All hero content above overlays */
    .hero > *:not(.hero-bg):not(.hero-overlay):not(.hero-grid) {
      position: relative; z-index: 3;
    }

    .hero-tag {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--accent-dim); border: 1px solid var(--border);
      border-radius: 100px; padding: 6px 16px; font-size: 12px; font-weight: 600;
      color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
      margin-bottom: 28px;
    }
    .hero-tag::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
    }

    .hero h1 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(52px, 8vw, 100px);
      font-weight: 700; letter-spacing: -3px; line-height: 0.95;
      text-align: center;
    }
    .hero h1 .line2 { color: var(--accent); }

    .hero-sub {
      max-width: 520px; text-align: center; margin-top: 24px;
      color: var(--muted); font-size: 17px; line-height: 1.65;
    }

    .hero-btns {
      display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; justify-content: center;
    }
    .btn-primary {
      background: var(--accent); color: #fff; text-decoration: none;
      padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 700;
      letter-spacing: 0.02em; transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 0 30px var(--accent-glow);
    }
    .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 0 50px var(--accent-glow); }
    .btn-ghost {
      background: transparent; color: var(--text); text-decoration: none;
      padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 600;
      border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.2s, transform 0.2s;
    }
    .btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

    .hero-stats {
      display: flex; gap: 48px; margin-top: 72px; position: relative;
    }
    .hero-stats::before {
      content: ''; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
      width: 1px; height: 20px; background: linear-gradient(to bottom, transparent, var(--border));
    }
    .stat { text-align: center; }
    .stat-n {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1;
    }
    .stat-l { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }

    /* ── SECTION WRAPPER ── */
    .section { padding: 100px 0; }
    .container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

    .section-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--accent); margin-bottom: 14px;
    }
    .section-title {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(32px, 4vw, 48px); font-weight: 700;
      letter-spacing: -1.5px; line-height: 1.1;
    }
    .section-sub {
      color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 14px; max-width: 540px;
    }

    /* ── WIPE SCHEDULE ── */
    .wipe-section { background: var(--bg2); }
    .wipe-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px;
    }
    .wipe-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 16px; padding: 32px; position: relative; overflow: hidden;
      transition: border-color 0.3s, transform 0.3s;
    }
    .wipe-card:hover { border-color: var(--accent); transform: translateY(-4px); }
    .wipe-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0; transition: opacity 0.3s;
    }
    .wipe-card:hover::before { opacity: 1; }
    .wipe-server {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 20px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.5px;
    }
    .wipe-row {
      display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
    }
    .wipe-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; }
    .wipe-text { color: var(--muted); font-size: 14px; line-height: 1.5; }
    .wipe-time {
      background: var(--accent-dim); border: 1px solid var(--border);
      border-radius: 8px; padding: 14px 18px; margin-top: 20px;
      font-size: 16px; font-weight: 700; color: var(--accent);
      font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.02em;
    }

    /* ── SERVERS ── */
    .servers-section { background: var(--bg); }
    .servers-stack { display: flex; flex-direction: column; gap: 32px; margin-top: 56px; }

    .server-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 20px; overflow: hidden; transition: border-color 0.3s;
    }
    .server-card:hover { border-color: var(--accent); }

    .server-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 32px 40px; border-bottom: 1px solid var(--border);
      background: linear-gradient(135deg, rgba(89,168,215,0.05) 0%, transparent 60%);
    }
    .server-title-block {}
    .server-num {
      font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--accent); margin-bottom: 8px;
    }
    .server-name {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 26px; font-weight: 700; letter-spacing: -0.5px;
    }
    .server-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
    .stag {
      background: var(--accent-dim); border: 1px solid var(--border);
      border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 700;
      color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase;
    }
    .server-ip-block { text-align: right; }
    .server-ip-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
    .server-ip {
      background: #0a0c0f; border: 1px solid var(--border);
      border-radius: 10px; padding: 12px 20px;
      font-family: 'Space Grotesk', monospace; font-size: 14px; font-weight: 600;
      color: var(--text); cursor: pointer; transition: border-color 0.2s;
      display: flex; align-items: center; gap: 10px;
    }
    .server-ip:hover { border-color: var(--accent); }
    .server-ip .copy-icon { color: var(--accent); font-size: 14px; }

    .server-features {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 0;
    }
    .feat {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 18px 24px; border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      transition: background 0.2s;
    }
    .feat:hover { background: rgba(89,168,215,0.03); }
    .feat:nth-child(3n) { border-right: none; }
    .feat-dot {
      width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
      flex-shrink: 0; margin-top: 7px;
    }
    .feat-text { font-size: 13px; color: var(--muted); line-height: 1.5; }
    .feat-cmd { color: var(--accent); font-weight: 600; }

    /* ── HOW TO CONNECT ── */
    .connect-section { background: var(--bg2); }
    .connect-steps {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px;
    }
    .step-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 16px; padding: 28px; transition: border-color 0.3s, transform 0.3s;
    }
    .step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
    .step-n {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 48px; font-weight: 800; color: var(--accent-dim);
      line-height: 1; margin-bottom: 16px;
      -webkit-text-stroke: 1px rgba(89,168,215,0.3);
      color: transparent;
    }
    .step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
    .step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

    /* ── CTA BANNER ── */
    .cta-section {
      padding: 120px 0;
      background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(89,168,215,0.08) 0%, transparent 70%), var(--bg);
    }
    .cta-inner {
      text-align: center; max-width: 700px; margin: 0 auto;
    }
    .cta-inner h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -2px;
      line-height: 1.05; margin-bottom: 20px;
    }
    .cta-inner h2 span { color: var(--accent); }
    .cta-inner p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 36px; }

    /* ── FOOTER ── */
    footer {
      background: var(--bg2); border-top: 1px solid var(--border);
      padding: 48px 0;
    }
    .footer-inner {
      display: flex; align-items: center; justify-content: space-between;
    }
    .footer-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 20px; font-weight: 700; color: var(--text);
    }
    .footer-logo span { color: var(--accent); }
    .footer-copy { color: var(--muted); font-size: 13px; }

    /* ── DIVIDER ── */
    .divider {
      height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
      margin: 0;
    }

    /* ── TOAST ── */
    .toast {
      position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px);
      background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 10px;
      font-size: 14px; font-weight: 600; z-index: 9999;
      transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    }
    .toast.show { transform: translateX(-50%) translateY(0); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      .container { padding: 0 20px; }
      .wipe-grid, .connect-steps { grid-template-columns: 1fr; }
      .server-header { flex-direction: column; align-items: flex-start; gap: 20px; }
      .server-ip-block { text-align: left; }
      .server-features { grid-template-columns: 1fr 1fr; }
      .feat:nth-child(3n) { border-right: 1px solid var(--border); }
      .feat:nth-child(2n) { border-right: none; }
      .hero-stats { gap: 28px; }
    }