    :root {
      --bg: #0f0f0f;
      --text: #f0f0f0;
      --accent: #8B4513;
      --accent-glow: #cd853f;
      --card: #1a1a1a;
      --border: #2a2a2a;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    /* Замена inline-стилей на классы */
.accent-link {
  color: var(--accent);
  text-decoration: none;
}

.accent-link:hover {
  text-decoration: underline;
}

.ip-hint {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-buttons .btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
}

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }
    /* Видео-фон */
    .video-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -2;
    }
    /* Тёмная подложка */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 10, 10, 0.78);
      z-index: -1;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(50px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .fade-in {
      animation: fadeIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
      opacity: 0;
    }
    
    /* Анимация волны для текста */
    @keyframes wave {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    
    /* Пульсация с увеличенным свечением */
    @keyframes pulse-glow {
      0%, 100% { 
        box-shadow: 0 0 20px rgba(139, 69, 19, 0.4),
                    0 0 40px rgba(139, 69, 19, 0.2);
        transform: scale(1);
      }
      50% { 
        box-shadow: 0 0 30px rgba(139, 69, 19, 0.6),
                    0 0 60px rgba(139, 69, 19, 0.3),
                    0 0 80px rgba(139, 69, 19, 0.1);
        transform: scale(1.05);
      }
    }
    
    /* Вращающийся градиент */
    @keyframes rotate-gradient {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    
    /* Плавающие частицы */
    @keyframes float {
      0%, 100% { transform: translateY(0) translateX(0); }
      25% { transform: translateY(-20px) translateX(10px); }
      50% { transform: translateY(-40px) translateX(-10px); }
      75% { transform: translateY(-20px) translateX(5px); }
    }
    
    /* Анимация появления снизу с отскоком */
    @keyframes slideUpBounce {
      0% {
        opacity: 0;
        transform: translateY(100px);
      }
      60% {
        opacity: 1;
        transform: translateY(-10px);
      }
      80% {
        transform: translateY(5px);
      }
      100% {
        transform: translateY(0);
      }
    }
    /* Навигация */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 1.5rem 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 1000;
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .nav-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    }
    .nav-links {
      display: flex;
      gap: 2rem;
    }
    .nav-links a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.3s;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1.5px;
      background: var(--accent);
      transition: width 0.3s;
    }
    .nav-links a:hover {
      color: var(--accent);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    /* Герой */
    .hero {
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 5%;
      gap: 1.5rem;
    }
    .hero-logo {
      max-width: 600px;
      width: 100%;
      height: auto;
      filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
      margin-bottom: 1rem;
    }
    .hero p {
      font-size: 1.35rem;
      max-width: 680px;
      margin-bottom: 2rem;
      opacity: 0.88;
      font-weight: 400;
      background: linear-gradient(90deg, #f0f0f0, var(--accent-glow), #f0f0f0);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: rotate-gradient 4s ease infinite;
    }
    .btn {
      padding: 1rem 2.6rem;
      background: linear-gradient(135deg, transparent, rgba(139, 69, 19, 0.1));
      color: #fff;
      border: 2px solid var(--accent);
      border-radius: 50px;
      font-weight: 600;
      font-size: 1.05rem;
      cursor: pointer;
      transition: all 0.4s ease;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 15px rgba(139, 69, 19, 0.25);
      position: relative;
      overflow: hidden;
    }
    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }
    .btn:hover::before {
      width: 300px;
      height: 300px;
    }
    .btn:hover {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 12px 28px rgba(139, 69, 19, 0.5),
                  0 0 40px rgba(139, 69, 19, 0.4);
      transform: translateY(-3px);
    }
    .btn:active {
      transform: translateY(-1px);
    }
    /* Секции */
    section {
      padding: 9rem 5%;
      opacity: 0;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
    }
    h2 {
      font-size: 2.9rem;
      margin-bottom: 3.2rem;
      text-align: center;
      color: #ffffff;
      position: relative;
      text-shadow: 0 0 20px rgba(139, 69, 19, 0.5);
    }
    h2::after {
      content: '';
      position: absolute;
      bottom: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      background-size: 200% 100%;
      border-radius: 2px;
      animation: rotate-gradient 3s ease infinite;
      box-shadow: 0 0 10px var(--accent);
    }

    /* Сетка 2x2 — строго две сверху, две снизу */
    .steps-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 2rem;
      margin-top: 3rem;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }

    .step-card {
      background: var(--card);
      padding: 2.2rem;
      border-radius: 16px;
      border: 1px solid var(--border);
      transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
      backdrop-filter: blur(8px);
      position: relative;
      text-align: center;
      transform-style: preserve-3d;
      perspective: 1000px;
    }
    .step-card:hover {
      transform: translateY(-20px) rotateX(5deg) scale(1.05);
      border-color: var(--accent);
      box-shadow: 0 25px 50px rgba(139, 69, 19, 0.3),
                  0 0 60px rgba(139, 69, 19, 0.2),
                  inset 0 0 40px rgba(139, 69, 19, 0.1);
    }
    .step-number {
      position: absolute;
      top: -12px;
      left: -12px;
      background: var(--accent);
      color: #fff;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.1rem;
      box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
    }
    .step-card h3 {
      font-size: 1.45rem;
      margin: 1rem 0 1rem;
      color: var(--accent);
    }
    .step-card p {
      font-size: 0.98rem;
      opacity: 0.85;
      line-height: 1.75;
      margin-bottom: 1rem;
    }
    .copy-btn {
      background: transparent;
      color: var(--accent);
      border: 1.5px solid var(--accent);
      padding: 0.65rem 1.4rem;
      border-radius: 10px;
      font-size: 0.92rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      margin-top: 0.5rem;
      position: relative;
      overflow: hidden;
    }
    .copy-btn::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      background: var(--accent);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      transition: width 0.5s, height 0.5s;
      z-index: -1;
    }
    .copy-btn:hover::after {
      width: 300px;
      height: 300px;
    }
    .copy-btn:hover {
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    }
    .ip {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 1.5px;
      margin: 0.5rem 0;
      font-family: 'Courier New', monospace;
    }

/* Стили для статуса сервера */
.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-prefix {
    margin-right: 8px;
}

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

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4444;
    animation: pulse-status 2s infinite;
    position: relative;
}

.status-dot.online {
    background: #44ff44;
    box-shadow: 0 0 10px #44ff44,
                0 0 20px rgba(68, 255, 68, 0.5);
}

.status-text {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.players-count {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
}

@keyframes pulse-status {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .server-status {
        flex-direction: column;
        gap: 10px;
        padding: 12px 20px;
    }
}

/* Контейнер для частиц */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-glow);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--accent-glow),
                0 0 20px var(--accent);
    animation: float 15s infinite ease-in-out;
}

/* Случайные задержки для частиц (добавляются через JS) */
.particle:nth-child(1) { animation-delay: -0s; }
.particle:nth-child(2) { animation-delay: -2s; }
.particle:nth-child(3) { animation-delay: -4s; }
.particle:nth-child(4) { animation-delay: -6s; }
.particle:nth-child(5) { animation-delay: -8s; }
.particle:nth-child(6) { animation-delay: -10s; }
.particle:nth-child(7) { animation-delay: -12s; }
.particle:nth-child(8) { animation-delay: -14s; }

/* Анимация для номера шага */
.step-number {
    animation: slideUpBounce 0.8s ease-out forwards;
}

/* Эффект при скролле */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Блеск для IP адреса */
.ip {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow), var(--accent));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate-gradient 3s ease infinite;
    text-shadow: 0 0 20px rgba(139, 69, 19, 0.5);
}

/* Анимация для навигации */
nav {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

    @media (max-width: 768px) {
      .hero-logo { max-width: 280px; }
      .hero p { font-size: 1.15rem; }
      .nav-links { display: none; }
      .nav-logo { width: 40px; height: 40px; }
      .steps-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
      }
      h2 { font-size: 2.3rem; }
    }
