      :root {
        --bg: #0f0f0f;
        --panel: #171717;
        --text: #f5f5f5;
        --muted: #b5b5b5;
        --brand: #ff3d2e;
        --btn: #1f1f1f;
        --btn-hover: #2a2a2a;
      }

      * { box-sizing: border-box; }
      html, body { height: 100%; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
        color: var(--text);
        background: #101010;
      }

      .page {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        background: #0c0c0c;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        border: none;
        position: relative;
      }

      /* Заголовок */
      .header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        background: rgba(20, 20, 20, 0.3);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 800;
        letter-spacing: .5px;
        font-size: 26px;
      }

      .brand-mark {
        width: 36px;
        height: 36px;
        display: inline-grid;
        place-items: center;
        color: #fff;
        background: var(--brand);
        border-radius: 6px;
        font-weight: 900;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: 26px;
        font-weight: 600;
        color: #ddd;
      }
      .nav a { color: #ddd; text-decoration: none; }
      .nav a:hover { color: #fff; }

      .auth-btn {
        color: #fff;
        background: transparent;
        border: 1px solid rgba(255,255,255,.35);
        padding: 10px 16px;
        border-radius: 10px;
        font-weight: 700;
        text-decoration: none;
        transition: border-color .2s ease, background .2s ease, color .2s ease;
      }
      .auth-btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }

      /* Подвал */
      .hero {
        position: relative;
        height: 100vh;
        display: grid;
        place-items: center;
        text-align: center;
        padding: 80px 20px;
        background: url('/backgrounds/1675493516_bogatyr-club-p-rust-fon-foni-3.jpg') center/cover no-repeat;
      }

      .hero::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 200px;
        background: linear-gradient(to bottom, transparent, #0c0c0c);
        z-index: 1;
      }

      .hero::after {
        /* subtle vignette for text readability */
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(1200px 400px at 50% 60%, rgba(0,0,0,.05), rgba(0,0,0,.15));
      }

      .hero-inner { position: relative; z-index: 2; width: 100%; }

      .hero h1 {
        margin: 0 0 12px;
        font-weight: 800;
        font-size: clamp(28px, 4.8vw, 64px);
        line-height: 1.05;
        letter-spacing: .5px;
        text-transform: uppercase;
      }

      .hero h2 {
        margin: 0 0 26px;
        font-weight: 900;
        font-size: clamp(36px, 7.4vw, 88px);
        line-height: 1.02;
        letter-spacing: .5px;
        text-transform: uppercase;
      }

      .play {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        max-width: 750px;
        position: relative;
      }

      .parallax--image-play {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.8));
        backdrop-filter: blur(25px) saturate(200%);
        border-radius: 20px;
        padding: 16px 70px;
        border: 2px solid transparent;
        background-clip: padding-box;
        box-shadow: 
          0 25px 50px rgba(0, 0, 0, 0.5),
          0 0 0 1px rgba(255, 255, 255, 0.1),
          inset 0 1px 0 rgba(255, 255, 255, 0.2);
        gap: 0;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .server-info-left {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.5px;
        flex: 0 0 auto;
        margin-right: 80px;
        margin-left: -40px;
      }

      .server-info-right {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.5px;
        flex: 0 0 auto;
        margin-left: 50px;
        margin-right: 0px;
      }

      .server-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, 
          rgba(255, 255, 255, 0.1) 0%, 
          transparent 50%, 
          rgba(255, 255, 255, 0.05) 100%);
        border-radius: 24px;
        opacity: 0;
        transition: opacity 0.4s ease;
      }

      .server-panel:hover::before {
        opacity: 1;
      }

      .server-panel:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 
          0 35px 70px rgba(0, 0, 0, 0.6),
          0 0 0 1px rgba(255, 255, 255, 0.15),
          inset 0 1px 0 rgba(255, 255, 255, 0.3);
      }

      .w-full {
        width: 100%;
      }

      .flex {
        display: flex;
      }

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

      .justify-center {
        justify-content: center;
      }

      .gap-3 {
        gap: 0.75rem;
      }

      .gap-2 {
        gap: 0.5rem;
      }

      .uppercase {
        text-transform: uppercase;
      }

      .font-bold {
        font-weight: 700;
      }

      .font-black {
        font-weight: 900;
      }

      .h-7 {
        height: 1.75rem;
      }

      .w-7 {
        width: 1.75rem;
      }

      .h-14 {
        height: 3.5rem;
      }

      .w-14 {
        width: 3.5rem;
      }

      .ml-1\.5 {
        margin-left: 0.375rem;
      }

      .badge-shadow {
        position: relative;
      }

      .badge {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #00ff88;
        box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
      }

      .badge-success {
        background: #00ff88;
      }

      .badge-sm {
        width: 8px;
        height: 8px;
      }

      .badge-animate {
        animation: statusPulse 2s ease-in-out infinite;
      }

      .badge-shadow {
        animation: statusPulse 2s ease-in-out infinite;
      }

      @keyframes statusPulse {
        0%, 100% { 
          transform: scale(1);
          box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
        }
        50% { 
          transform: scale(1.3);
          box-shadow: 0 0 15px rgba(0, 255, 136, 1);
        }
      }

      .play-button {
        width: 90px;
        height: 90px;
        background: linear-gradient(135deg, #ff8c00, #ff6400, #c85000);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 
          0 12px 30px rgba(255, 140, 0, 0.4), 
          0 0 0 1px rgba(255, 255, 255, 0.1), 
          inset 0 2px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 10;
        overflow: hidden;
        text-decoration: none;
        margin-bottom: -36px;
        transform: translateY(36px);
      }

      .play-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
          rgba(255, 140, 0, 0.4) 0%,
          rgba(255, 100, 0, 0.6) 25%,
          rgba(200, 80, 0, 0.8) 50%,
          rgba(150, 60, 0, 0.9) 75%,
          rgba(100, 40, 0, 1) 100%);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
        box-shadow: 
          inset 0 2px 4px rgba(255, 140, 0, 0.3),
          inset 0 -2px 4px rgba(100, 40, 0, 0.5),
          0 0 20px rgba(255, 140, 0, 0.3);
      }

      .play-button:hover::before {
        opacity: 1;
      }

      .play-button:hover {
        background: linear-gradient(135deg, #ff9500, #ff6b00, #d45a00);
        transform: translateY(36px) scale(1.1);
        box-shadow: 
          0 20px 40px rgba(255, 140, 0, 0.5),
          0 0 0 1px rgba(255, 255, 255, 0.15),
          inset 0 2px 0 rgba(255, 255, 255, 0.3);
      }

      .play-button:active {
        transform: translateY(36px) scale(1.05);
        transition: all 0.1s ease;
      }

      .play-button svg {
        color: #fff;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        transition: all 0.3s ease;
      }

      .play-button:hover svg {
        transform: scale(1.3);
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
      }

      /* Разделитель между секциями */
      .parallax--image-play::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 20%;
        bottom: 20%;
        width: 2px;
        background: linear-gradient(to bottom, 
          transparent, 
          rgba(255, 255, 255, 0.3), 
          rgba(255, 255, 255, 0.1), 
          rgba(255, 255, 255, 0.3), 
          transparent);
        transform: translateX(-50%);
        border-radius: 1px;
      }

      /* Раздел содержимого */
      .content-section {
        background: #0c0c0c;
        padding: 80px 20px;
        min-height: 100vh;
      }

      /* Анимации появления при прокрутке */
      .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
      }

      .fade-in-left {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .fade-in-left.visible {
        opacity: 1;
        transform: translateX(0);
      }

      .fade-in-right {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .fade-in-right.visible {
        opacity: 1;
        transform: translateX(0);
      }

      .scale-in {
        opacity: 0;
        transform: scale(0.9);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .scale-in.visible {
        opacity: 1;
        transform: scale(1);
      }

      /* Задержки для последовательного появления */
      .delay-1 { transition-delay: 0.1s; }
      .delay-2 { transition-delay: 0.2s; }
      .delay-3 { transition-delay: 0.3s; }
      .delay-4 { transition-delay: 0.4s; }
      .delay-5 { transition-delay: 0.5s; }

      .container {
        max-width: 1200px;
        margin: 0 auto;
      }

      .content-layout {
        display: flex;
        gap: 40px;
        align-items: flex-start;
      }

      /* Левая колонка */
      .left-column {
        flex: 0 0 40%;
        display: flex;
        flex-direction: column;
        gap: 30px;
      }

      /* Слайдер */
      .slider-container {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
      }

      .slider-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
      }

      .slider-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        padding: 20px;
        color: white;
      }

      .slider-content h3 {
        font-size: 18px;
        font-weight: 800;
        margin: 0 0 8px 0;
        text-transform: uppercase;
      }

      .slider-content .highlight {
        border-bottom: 2px solid #1D86DC;
      }

      .slider-content p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        line-height: 1.4;
      }

      /* Заголовок шагов */
      .steps-header h2 {
        font-size: 18px;
        font-weight: 800;
        margin: 0 0 8px 0;
        text-transform: uppercase;
        color: white;
      }

      .steps-header p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        line-height: 1.4;
      }

      /* Шаги */
      .steps {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .step-card {
        background: rgba(20, 20, 20, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 14px;
        transition: all 0.3s ease;
      }

      .step-card:hover {
        border-color: rgba(29, 134, 220, 0.3);
        transform: translateY(-2px);
      }

       .step-badge {
         background: #ff3d2e;
         color: white;
         width: 32px;
         height: 32px;
         border-radius: 50%;
         display: flex;
         align-items: center;
         justify-content: center;
         font-weight: 700;
         font-size: 16px;
         flex-shrink: 0;
       }

      .step-content {
        flex: 1;
      }

      .step-content p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        line-height: 1.4;
      }

       .step-btn {
         background: #ff3d2e;
         color: white;
         padding: 8px 16px;
         border-radius: 20px;
         text-decoration: none;
         font-size: 14px;
         font-weight: 600;
         display: flex;
         align-items: center;
         gap: 6px;
         transition: all 0.3s ease;
         flex-shrink: 0;
       }

       .step-btn:hover {
         background: #e6352a;
         transform: translateY(-1px);
       }

      /* Правая колонка */
      .right-column {
        flex: 0 0 60%;
      }

      .gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .main-image {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(29, 134, 220, 0.2);
      }

      .gallery-main {
        width: 100%;
        height: 370px;
        object-fit: cover;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        transform: scale(1);
        opacity: 1;
      }

      .gallery-main.fade-out {
        opacity: 0;
        transform: scale(0.98);
      }

      .gallery-main.fade-in {
        opacity: 0;
        transform: scale(1.02);
      }

      .gallery-thumbnails {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
      }

       .thumbnail {
         width: 100%;
         height: 80px;
         object-fit: cover;
         border-radius: 8px;
         border: 1px solid rgba(29, 134, 220, 0.2);
         cursor: pointer;
         transition: all 0.3s ease;
         opacity: 1;
       }

       .thumbnail:hover {
         border-color: #1D86DC;
         transform: scale(1.05);
         box-shadow: 0 4px 12px rgba(29, 134, 220, 0.3);
       }

       .thumbnail:active {
         transform: scale(0.98);
       }

       .thumbnail.active {
         border-color: #ff3d2e;
         box-shadow: 0 0 0 2px rgba(255, 61, 46, 0.3);
       }


      /* Адаптивность */
      @media (max-width: 1024px) {
        .content-layout {
          flex-direction: column;
          gap: 30px;
        }
        
        .left-column,
        .right-column {
          flex: 1;
        }
      }

      @media (max-width: 720px) {
        .nav { display: none; }
        .content-section {
          padding: 60px 20px;
        }
        
        .gallery-thumbnails {
          grid-template-columns: repeat(3, 1fr);
        }
        
        .step-card {
          flex-direction: column;
          align-items: flex-start;
          gap: 12px;
        }
        
        .step-btn {
          align-self: stretch;
          justify-content: center;
        }
      }

      .user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1000;
}

.user-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-trigger:hover {
  transform: scale(1.05);
}

.user-trigger:hover .user-avatar {
  box-shadow: 0 0 20px rgba(255, 61, 46, 0.6);
  border-color: #ff3d2e;
}

.user-trigger:hover .status-dot {
  box-shadow: 0 0 15px rgba(29, 161, 255, 0.8);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ff3d2e;
}

.status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1da1ff; /* синий как на скрине */
  box-shadow: 0 0 0 2px #0b1220; /* обводка под цвет шапки */
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 260px;
  background: rgba(15, 15, 18, 0.60); /* полупрозрачный как у шапки */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  padding: 14px;
  backdrop-filter: blur(15px) saturate(140%);
  transform-origin: top right;
  transform: scale(0.98) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  right: 18px;
  top: -8px;
  width: 14px;
  height: 14px;
  background: rgba(15, 15, 18, 0.35);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}

.user-menu.open .user-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8eef7;
  background: rgba(20, 22, 30, 0.60); /* полупрозрачная карточка */
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dropdown-header .icon { width: 20px; height: 20px; opacity: .9; }

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,61,46,0), rgba(255,61,46,0.45), rgba(255,61,46,0));
  margin: 12px 0;
}

.dropdown-admin {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(29, 77, 220, 0.32);
  border: 1px solid rgba(29, 134, 220, 0.45);
  color: #d6e8ff;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dropdown-admin .icon { width: 22px; height: 22px; }

.dropdown-admin:hover {
  transform: translateY(-1px);
  background: rgba(29, 77, 220, 0.45);
  border-color: #1D86DC;
  color: #ffffff;
}

.dropdown-logout {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(25, 24, 40, 0.35);
  border: 1px solid rgba(255,61,46,0.35);
  color: #ff8076;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dropdown-logout .icon { width: 22px; height: 22px; }

.dropdown-logout:hover {
  transform: translateY(-1px);
  background: rgba(25, 24, 40, 0.5);
  border-color: #ff3d2e;
  color: #ff9a91;
}

.user-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.logout-btn {
  background: #dc3545;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* Подвал */
.footer {
  background: #0a0a0a;
  padding: 40px 20px 20px;
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #ff3d2e;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.nav-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-section nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff3d2e;
}

.footer-social h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
}

.social-link.vk { background-color: #4a76a8; }
.social-link.discord { background-color: #7289da; }
.social-link.steam { background-color: #1b2838; }
.social-link.youtube { background-color: #ff0000; }

.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

/* Отзычивость */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 20px 15px;
    margin-top: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .social-links {
    justify-content: center;
  }
}

        :root {
            --bg: #0f0f0f;
            --panel: #171717;
            --text: #f5f5f5;
            --muted: #b5b5b5;
            --brand: #ff3d2e;
            --btn: #1f1f1f;
            --btn-hover: #2a2a2a;
        }

        * { box-sizing: border-box; }
        html, body { height: 100%; }
        body {
            margin: 0;
            font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
            color: var(--text);
            background: #101010;
        }

        .page {
            width: 100%;
            min-height: 100vh;
            margin: 0;
            background: #0c0c0c url('../backgrounds/1675493516_bogatyr-club-p-rust-fon-foni-3.jpg') center/cover no-repeat fixed;
            border-radius: 0;
            overflow: visible;
            box-shadow: none;
            border: none;
            position: relative;
        }

        .page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        .page > * {
            position: relative;
            z-index: 2;
        }

        /* Header */
        .header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px;
            background: rgba(20, 20, 20, 0.3);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            letter-spacing: .5px;
            font-size: 26px;
        }

        .brand-mark {
            width: 36px;
            height: 36px;
            display: inline-grid;
            place-items: center;
            color: #fff;
            background: var(--brand);
            border-radius: 6px;
            font-weight: 900;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 26px;
            font-weight: 600;
            color: #ddd;
        }
        .nav a { color: #ddd; text-decoration: none; }
        .nav a:hover { color: #fff; }

        .auth-btn {
            color: #fff;
            background: transparent;
            border: 1px solid rgba(255,255,255,.35);
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            transition: border-color .2s ease, background .2s ease, color .2s ease;
        }
        .auth-btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }

        /* Основной контент */
        .main-content {
            padding-top: 100px;
            padding-bottom: 60px;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .page-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .page-title {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 800;
            margin: 0 0 16px 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .page-subtitle {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
            line-height: 1.5;
        }

        /* Сетка серверов */
        .servers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }

        .server-card {
            background: linear-gradient(145deg, #1a1a1a26, #2a2a2a);
            backdrop-filter: blur(25px) saturate(200%);
            border-radius: 16px;
            padding: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .server-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 61, 46, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .server-card.featured {
            border: 2px solid #ff3d2e;
            background: linear-gradient(145deg, rgba(255, 61, 46, 0.1), rgba(20, 20, 20, 0.9));
        }

        .server-card.featured::before {
            content: 'РЕКОМЕНДУЕМЫЙ';
            position: absolute;
            top: 16px;
            right: 16px;
            background: #ff3d2e;
            color: white;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .server-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }

        .server-name {
            font-size: 20px;
            font-weight: 800;
            margin: 0 0 8px 0;
            color: #fff;
        }

        .server-mode {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .server-status {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .status-dot.online { background: #00ff88; }
        .status-dot.busy { background: #ffa500; }
        .status-dot.full { background: #ff4444; }
        .status-dot.offline { background: #666; }

        .server-info {
            margin-bottom: 20px;
        }

        .server-description {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
            margin: 0 0 16px 0;
        }

        .server-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .detail-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .detail-value {
            font-size: 14px;
            font-weight: 600;
            color: #fff;
        }

        .players-info {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .players-count {
            font-size: 16px;
            font-weight: 700;
            color: #00ff88;
        }

        .players-max {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
        }

        .players-bar {
            flex: 1;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            overflow: hidden;
        }

        .players-fill {
            height: 100%;
            background: linear-gradient(90deg, #00ff88, #00cc6a);
            transition: width 0.3s ease;
        }

        .server-actions {
            display: flex;
            gap: 12px;
        }

        .btn-connect {
            flex: 1;
            background: linear-gradient(135deg, #ff3d2e, #e6352a);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 700;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-connect:hover {
            background: linear-gradient(135deg, #e6352a, #cc2e24);
            transform: translateY(-1px);
        }

        .btn-connect:disabled {
            background: #666;
            cursor: not-allowed;
            transform: none;
        }

        .btn-info {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 12px 16px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-info:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        /* Мониторинг в режиме реального времени */
        .monitoring-status {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 16px;
        }

        .monitoring-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #00ff88;
            animation: pulse 2s infinite;
        }

        .monitoring-dot.offline {
            background: #666;
            animation: none;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .last-update {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 8px;
        }

        .version-info {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 4px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .servers-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            
            .server-details {
                grid-template-columns: 1fr;
            }
            
            .server-actions {
                flex-direction: column;
            }
        }
         :root {
            --bg: #0f0f0f;
            --panel: #171717;
            --text: #f5f5f5;
            --muted: #b5b5b5;
            --brand: #ff3d2e;
            --btn: #1f1f1f;
            --btn-hover: #2a2a2a;
        }

        * { box-sizing: border-box; }
        html, body { height: 100%; }
        body {
            margin: 0;
            font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
            color: var(--text);
            background: #101010;
        }

        .page {
            width: 100%;
            min-height: 100vh;
            margin: 0;
            background: #0c0c0c url('../backgrounds/1675493516_bogatyr-club-p-rust-fon-foni-3.jpg') center/cover no-repeat fixed;
            border-radius: 0;
            overflow: visible;
            box-shadow: none;
            border: none;
            position: relative;
        }

        .page::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        .page > * {
            position: relative;
            z-index: 2;
        }

        /* Header */
        .header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px;
            background: rgba(20, 20, 20, 0.3);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            letter-spacing: .5px;
            font-size: 26px;
        }

        .brand-mark {
            width: 36px;
            height: 36px;
            display: inline-grid;
            place-items: center;
            color: #fff;
            background: var(--brand);
            border-radius: 6px;
            font-weight: 900;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 26px;
            font-weight: 600;
            color: #ddd;
        }
        .nav a { color: #ddd; text-decoration: none; }
        .nav a:hover { color: #fff; }

        .auth-btn {
            color: #fff;
            background: transparent;
            border: 1px solid rgba(255,255,255,.35);
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            transition: border-color .2s ease, background .2s ease, color .2s ease;
        }
        .auth-btn:hover { border-color: #fff; background: rgba(255,255,255,.06); }

        /* Осноыной контент */
        .main-content {
            padding-top: 100px;
            padding-bottom: 60px;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .page-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .page-title {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 800;
            margin: 0 0 16px 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .page-subtitle {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            margin: 0 0 30px 0;
            line-height: 1.5;
        }


        /* бан таблица */
        .bans-container {
            background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.8));
            backdrop-filter: blur(25px) saturate(200%);
            border-radius: 16px;
            padding: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        /* Заголовок таблицы с выбором сервера */
        .table-header {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Заголовок управления макетом */
        .header-controls {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .table-header .server-selector {
            flex: 1;
            min-width: 300px;
        }

        .table-header .server-form {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .table-header .search-form {
            flex: 1;
            min-width: 300px;
        }

        .table-header .server-label {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin: 0;
        }

        .table-header .server-select {
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid rgba(255, 61, 46, 0.3);
            border-radius: 8px;
            color: #fff;
            padding: 10px 15px;
            font-size: 14px;
            font-weight: 600;
            min-width: 300px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .server-select[multiple] {
            min-height: 100px;
            max-height: 150px;
        }

        .server-select option {
            background: #1a1a1a;
            color: #fff;
            padding: 8px;
        }

        .server-select option:checked {
            background: #ff3d2e;
            color: #fff;
        }

        .server-actions {
            display: flex;
            gap: 8px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .select-all-btn,
        .clear-all-btn,
        .apply-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            color: #fff;
            padding: 6px 12px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .select-all-btn:hover,
        .clear-all-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .apply-btn {
            background: #ff3d2e;
            border-color: #ff3d2e;
        }

        .apply-btn:hover {
            background: #e6352a;
            border-color: #e6352a;
        }

        .ban-server {
            color: #fff;
            font-weight: 600;
            font-size: 13px;
        }

        /* Кнопка выбора сервера */
        .server-selector-trigger {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .server-select-btn {
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid rgba(255, 61, 46, 0.3);
            border-radius: 8px;
            color: #fff;
            padding: 12px 16px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-width: 300px;
            position: relative;
            overflow: hidden;
        }

        .server-select-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .server-select-btn:hover::before {
            left: 100%;
        }

        .server-select-btn:hover {
            border-color: rgba(255, 61, 46, 0.5);
            background: rgba(20, 20, 20, 0.9);
        }

        .selected-count {
            flex: 1;
            text-align: left;
        }

        .dropdown-arrow {
            color: #ff3d2e;
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .server-select-btn:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Модальные стили */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.9));
            backdrop-filter: blur(25px) saturate(200%);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            max-width: 500px;
            width: 100%;
            max-height: 80vh;
            overflow: hidden;
            transform: scale(0.7) translateY(-50px);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .modal-overlay.show .modal-content {
            transform: scale(1) translateY(0);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(-20px);
            animation: slideInDown 0.4s ease 0.1s forwards;
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header h3 {
            color: #ff3d2e;
            font-size: 20px;
            font-weight: 700;
            margin: 0;
        }

        .modal-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #ff3d2e;
        }

        .modal-body {
            padding: 24px;
            max-height: 60vh;
            overflow-y: auto;
        }

        /* Сетка серверных карт */
        .server-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .server-card {
            position: relative;
            background: linear-gradient(145deg, #1a1a1a26, #2a2a2a);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            min-height: 140px;
            justify-content: center;
            opacity: 0;
            transform: translateY(20px);
            animation: slideInUp 0.4s ease forwards;
        }

        .server-card:nth-child(1) { animation-delay: 0.1s; }
        .server-card:nth-child(2) { animation-delay: 0.15s; }
        .server-card:nth-child(3) { animation-delay: 0.2s; }
        .server-card:nth-child(4) { animation-delay: 0.25s; }
        .server-card:nth-child(5) { animation-delay: 0.3s; }
        .server-card:nth-child(6) { animation-delay: 0.35s; }
        .server-card:nth-child(7) { animation-delay: 0.4s; }
        .server-card:nth-child(8) { animation-delay: 0.45s; }
        .server-card:nth-child(9) { animation-delay: 0.5s; }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .server-card:hover {
            border-color: rgba(255, 61, 46, 0.5);
            background: linear-gradient(145deg, #2a2a2a3d, #3a3a3a);
            transform: translateY(-2px);rgba(42, 42, 42, 0.171)
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .server-card.selected {
            border-color: #ff3d2e;
            background: linear-gradient(145deg, #5f1e1e, #7f2a2a);
            box-shadow: 0 0 20px rgba(255, 61, 46, 0.3);
        }

        .server-indicator {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 28px;
            height: 28px;
            background: #ff3d2e;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .server-card.selected .server-indicator {
            opacity: 1;
        }

        .check-icon {
            width: 16px;
            height: 16px;
            color: #fff;
        }

        .server-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 12px;
            color: #ff3d2e;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .server-card.selected .server-icon {
            color: #fff;
        }

        .server-name {
            color: #fff;
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1.2;
        }

        .modal-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            flex-wrap: wrap;
            margin-top: 20px;
            opacity: 0;
            transform: translateY(20px);
            animation: slideInUp 0.5s ease 0.3s forwards;
        }

        .select-all-btn,
        .apply-btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .select-all-btn {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .select-all-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .apply-btn {
            background: #ff3d2e;
            color: #fff;
            border: 1px solid #ff3d2e;
        }

        .apply-btn:hover {
            background: #e6352a;
            border-color: #e6352a;
            transform: translateY(-1px);
        }

        .table-header .server-select:hover {
            border-color: rgba(255, 61, 46, 0.5);
            background: rgba(20, 20, 20, 0.9);
        }

        .table-header .server-select:focus {
            outline: none;
            border-color: #ff3d2e;
            box-shadow: 0 0 0 2px rgba(255, 61, 46, 0.2);
        }

        .table-header .server-select option {
            background: #1a1a1a;
            color: #fff;
            padding: 8px;
        }


        /* Форма поиска */
        .table-header .search-form {
            margin-bottom: 0;
        }

        .table-header .search-form-inner {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .search-label {
            font-size: 14px;
            font-weight: 600;
            color: #fff;
            margin: 0;
        }

        .search-input {
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            color: #fff;
            padding: 13px 12px;
            font-size: 14px;
            min-width: 200px;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #ff3d2e;
            box-shadow: 0 0 0 2px rgba(255, 61, 46, 0.2);
        }


        .clear-search {
            background: rgba(255, 107, 107, 0.1);
            color: #ff6b6b;
            border: 1px solid rgba(255, 107, 107, 0.3);
            border-radius: 6px;
            padding: 8px 12px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .clear-search:hover {
            background: rgba(255, 107, 107, 0.2);
            border-color: #ff6b6b;
        }

        /* Пагинация */
        .pagination {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .pagination-info {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            margin-bottom: 15px;
            text-align: center;
        }

        .pagination-links {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .pagination-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 8px 12px;
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .pagination-btn:hover {
            background: rgba(255, 61, 46, 0.2);
            border-color: rgba(255, 61, 46, 0.5);
            color: #ff3d2e;
        }

        .pagination-btn.active {
            background: #ff3d2e;
            border-color: #ff3d2e;
            color: #fff;
        }

        .pagination-dots {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            padding: 0 8px;
        }

        .bans-table {
            width: 100%;
            border-collapse: collapse;
            margin: 0;
        }

        .bans-table th {
            background: rgba(255, 61, 46, 0.1);
            color: #ff3d2e;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 14px;
            padding: 16px 12px;
            text-align: left;
            border-bottom: 2px solid rgba(255, 61, 46, 0.3);
        }

        .bans-table td {
            padding: 16px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: #f5f5f5;
            font-size: 14px;
        }

        .bans-table tr:hover {
            background: rgba(255, 255, 255, 0.02);
        }

        .ban-name {
            font-weight: 600;
            color: #fff;
        }

        .ban-steamid {
            font-family: 'Courier New', monospace;
            color: #b5b5b5;
            font-size: 13px;
        }


        .ban-reason {
            color: #ff6b6b;
            font-weight: 600;
            font-size: 13px;
        }

        .ban-expire {
            font-weight: 600;
        }

        .ban-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 40px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .ban-status.permanent {
            background: rgba(255, 61, 46, 0.2);
            color: #ff3d2e;
            border: 1px solid rgba(255, 61, 46, 0.3);
        }

        .ban-status.active {
            background: rgba(255, 165, 0, 0.2);
            color: #ffa500;
            border: 1px solid rgba(255, 165, 0, 0.3);
        }

        .ban-status.expired {
            background: rgba(108, 117, 125, 0.2);
            color: #6c757d;
            border: 1px solid rgba(108, 117, 125, 0.3);
        }

        .status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .status-dot.permanent { background: #ff3d2e; }
        .status-dot.active { background: #ffa500; }
        .status-dot.expired { background: #6c757d; }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: rgba(255, 255, 255, 0.6);
        }

        .empty-state h3 {
            font-size: 24px;
            margin: 0 0 16px 0;
            color: #fff;
        }

        .empty-state p {
            font-size: 16px;
            margin: 0;
        }

        /* Отзывчивость */
        @media (max-width: 768px) {
            .bans-table {
                font-size: 12px;
            }
            
            .bans-table th,
            .bans-table td {
                padding: 12px 8px;
            }
            
            .ban-steamid {
                font-size: 11px;
            }
        }

        @media (max-width: 768px) {
            .header-controls {
                flex-direction: column;
                gap: 15px;
            }
            
            .table-header .server-selector,
            .table-header .search-form {
                min-width: 100%;
            }
        }

        @media (max-width: 600px) {
            .bans-table th:nth-child(4),
            .bans-table td:nth-child(4) {
                display: none;
            }
        }

        @media (max-width: 800px) {
            .bans-table th:nth-child(3),
            .bans-table td:nth-child(3) {
                display: none;
            }
        }

        /* Modal responsive */
        @media (max-width: 768px) {
            .modal-content {
                margin: 10px;
                max-width: calc(100% - 20px);
            }
            
            .modal-header {
                padding: 16px 20px;
            }
            
            .modal-body {
                padding: 20px;
            }
            
            .server-select-btn {
                min-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .server-cards-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 12px;
            }
            
            .server-card {
                min-height: 120px;
                padding: 16px;
            }
            
            .server-icon {
                width: 36px;
                height: 36px;
                margin-bottom: 8px;
            }
            
            .server-name {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .modal-actions {
                flex-direction: column;
            }
            
            .modal-actions button {
                width: 100%;
            }
            
            .server-cards-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            
            .server-card {
                min-height: 100px;
                padding: 12px;
            }
        }
            
            .table-header .server-form,
            .table-header .search-form-inner {
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
            }
            
            .table-header .server-select,
            .search-input {
                min-width: 100%;
            }
        /* Подвал */
.footer {
  background: #0a0a0a;
  padding: 40px 20px 20px;
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #ff3d2e;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.nav-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-section nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff3d2e;
}

.footer-social h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
}

.social-link.vk { background-color: #4a76a8; }
.social-link.discord { background-color: #7289da; }
.social-link.steam { background-color: #1b2838; }
.social-link.youtube { background-color: #ff0000; }

.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

/* Отзычивость */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 20px 15px;
    margin-top: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .social-links {
    justify-content: center;
  }
}
.user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1000;
}

.user-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-trigger:hover {
  transform: scale(1.05);
}

.user-trigger:hover .user-avatar {
  box-shadow: 0 0 20px rgba(255, 61, 46, 0.6);
  border-color: #ff3d2e;
}

.user-trigger:hover .status-dot {
  box-shadow: 0 0 15px rgba(29, 161, 255, 0.8);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ff3d2e;
}

.status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1da1ff; /* синий как на скрине */
  box-shadow: 0 0 0 2px #0b1220; /* обводка под цвет шапки */
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 260px;
  background: rgba(15, 15, 18, 0.60); /* полупрозрачный как у шапки */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  padding: 14px;
  backdrop-filter: blur(15px) saturate(140%);
  transform-origin: top right;
  transform: scale(0.98) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  right: 18px;
  top: -8px;
  width: 14px;
  height: 14px;
  background: rgba(15, 15, 18, 0.35);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}

.user-menu.open .user-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8eef7;
  background: rgba(20, 22, 30, 0.60); /* полупрозрачная карточка */
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dropdown-header .icon { width: 20px; height: 20px; opacity: .9; }

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,61,46,0), rgba(255,61,46,0.45), rgba(255,61,46,0));
  margin: 12px 0;
}

.dropdown-admin {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(29, 77, 220, 0.32);
  border: 1px solid rgba(29, 134, 220, 0.45);
  color: #d6e8ff;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dropdown-admin .icon { width: 22px; height: 22px; }

.dropdown-admin:hover {
  transform: translateY(-1px);
  background: rgba(29, 77, 220, 0.45);
  border-color: #1D86DC;
  color: #ffffff;
}

.dropdown-logout {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(25, 24, 40, 0.35);
  border: 1px solid rgba(255,61,46,0.35);
  color: #ff8076;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dropdown-logout .icon { width: 22px; height: 22px; }

.dropdown-logout:hover {
  transform: translateY(-1px);
  background: rgba(25, 24, 40, 0.5);
  border-color: #ff3d2e;
  color: #ff9a91;
}

.user-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.logout-btn {
  background: #dc3545;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

        :root {
            --brand: #ff3d2e;
        }

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

        html, body {
            height: 100%;
        }

        /* Hide scrollbar for all browsers */
        ::-webkit-scrollbar {
            display: none;
        }
        
        html {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: url('../backgrounds/1675493516_bogatyr-club-p-rust-fon-foni-3.jpg') center/cover no-repeat fixed;
            min-height: 100vh;
            color: #fff;
            overflow-x: hidden;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        /* Стили заголовков */
        .header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px;
            background: rgba(20, 20, 20, 0.3);
            backdrop-filter: none;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            letter-spacing: .5px;
            font-size: 26px;
        }

        .brand-mark {
            width: 36px;
            height: 36px;
            display: inline-grid;
            place-items: center;
            color: #fff;
            background: var(--brand);
            border-radius: 6px;
            font-weight: 900;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 26px;
            font-weight: 600;
            color: #ddd;
        }

        .nav a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .nav a:hover {
            color: #fff;
        }

        .auth-btn {
            color: #fff;
            background: transparent;
            border: 1px solid rgba(255,255,255,.35);
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            transition: border-color .2s ease, background .2s ease, color .2s ease;
        }

        .auth-btn:hover {
            border-color: #fff;
            background: rgba(255,255,255,.06);
        }

        /* Макет из двух колонок */
        .balance-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: calc(100vh - 200px);
            gap: 0;
        }

        .left-section {
            position: relative;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: none;
            outline: none;
        }

        /* Заполнитель декоративной иллюстрации */
        .illustration {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.6;
        }

        .illustration-content {
            text-align: center;
            padding: 40px;
        }

        .steam-profile {
            text-align: center;
            padding: 40px;
        }

        .steam-avatar {
            width: 120px;
            height: 120px;
            margin: 0 auto 20px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid rgba(255, 255, 255, 0.1);
        }

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

        .steam-name {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
        }

        .steam-status {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.6);
        }

        .steam-id {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 10px;
        }

        .steam-url {
            margin-top: 15px;
        }

        .steam-profile-btn {
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%) !important;
            color: #fff !important;
            padding: 12px 20px !important;
            border-radius: 8px !important;
            text-decoration: none !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            transition: all 0.3s ease !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
            margin-top: 10px !important;
        }

        .steam-profile-btn:hover {
            background: linear-gradient(135deg, #2a475e 0%, #3c5a73 100%) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
            border-color: rgba(255, 255, 255, 0.2) !important;
            color: #fff !important;
            text-decoration: none !important;
        }

        .steam-profile-btn svg {
            width: 16px !important;
            height: 16px !important;
            fill: currentColor !important;
        }

        .right-section {
            background: transparent;
            backdrop-filter: none;
            padding: 90px 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            outline: none;
        }

        .form-container {
            max-width: 480px;
            width: 100%;
            background: transparent;
            border: none;
            outline: none;
            box-shadow: none;
        }

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

        .form-title {
            font-size: 23px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .secure-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            margin-bottom: 12px;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.8);
        }

        .form-select,
        .form-input {
            width: 100%;
            background: rgba(15, 15, 20, 0.5);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px 20px;
            font-size: 16px;
            color: #fff;
            transition: all 0.3s ease;
            position: relative;
        }

        .form-select:focus,
        .form-input:focus {
            outline: none;
            border-color: var(--brand);
            box-shadow: 0 0 0 3px rgba(255, 61, 46, 0.1);
        }

        .form-input.auto-filled {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .select-wrapper {
            position: relative;
        }

        .select-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .select-arrow {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .input-validated {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .form-select {
            padding-left: 60px;
            appearance: none;
        }

        .form-input {
            padding-left: 60px;
            padding-right: 50px;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin: 30px 0;
        }

        .checkbox-custom {
            width: 24px;
            height: 24px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            cursor: pointer;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .checkbox-label {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

        .checkbox-label a {
            color: #ff3d2e;
            text-decoration: none;
        }

        .submit-button {
            width: 100%;
            background: linear-gradient(135deg, #ff8c00, #ff6400, #c85000);
            border: none;
            border-radius: 12px;
            padding: 18px 32px;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 24px rgba(255, 61, 46, 0.3);
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(255, 61, 46, 0.4);
        }

        .login-prompt {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 40px;
        }

        .login-prompt h2 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .login-prompt p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 30px;
        }

        .login-btn {
            display: inline-block;
            background: linear-gradient(135deg, #ff3d2e 0%, #ff8c00 100%);
            color: #fff;
            padding: 16px 40px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 24px rgba(255, 61, 46, 0.3);
        }

        .login-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 36px rgba(255, 61, 46, 0.4);
        }

        @media (max-width: 1024px) {
            .balance-container {
                grid-template-columns: 1fr;
            }

            .left-section {
                display: none;
            }

            .right-section {
                padding: 40px 30px;
            }
        }
        .user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1000;
}

.user-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-trigger:hover {
  transform: scale(1.05);
}

.user-trigger:hover .user-avatar {
  box-shadow: 0 0 20px rgba(255, 61, 46, 0.6);
  border-color: #ff3d2e;
}

.user-trigger:hover .status-dot {
  box-shadow: 0 0 15px rgba(29, 161, 255, 0.8);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ff3d2e;
}

.status-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1da1ff; /* синий как на скрине */
  box-shadow: 0 0 0 2px #0b1220; /* обводка под цвет шапки */
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  min-width: 260px;
  background: rgba(15, 15, 18, 0.60); /* полупрозрачный как у шапки */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  padding: 14px;
  backdrop-filter: blur(15px) saturate(140%);
  transform-origin: top right;
  transform: scale(0.98) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  right: 18px;
  top: -8px;
  width: 14px;
  height: 14px;
  background: rgba(15, 15, 18, 0.35);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}

.user-menu.open .user-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8eef7;
  background: rgba(20, 22, 30, 0.60); /* полупрозрачная карточка */
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dropdown-header .icon { width: 20px; height: 20px; opacity: .9; }

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,61,46,0), rgba(255,61,46,0.45), rgba(255,61,46,0));
  margin: 12px 0;
}

.dropdown-admin {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(29, 77, 220, 0.32);
  border: 1px solid rgba(29, 134, 220, 0.45);
  color: #d6e8ff;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dropdown-admin .icon { width: 22px; height: 22px; }

.dropdown-admin:hover {
  transform: translateY(-1px);
  background: rgba(29, 77, 220, 0.45);
  border-color: #1D86DC;
  color: #ffffff;
}

.dropdown-logout {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(25, 24, 40, 0.35);
  border: 1px solid rgba(255,61,46,0.35);
  color: #ff8076;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dropdown-logout .icon { width: 22px; height: 22px; }

.dropdown-logout:hover {
  transform: translateY(-1px);
  background: rgba(25, 24, 40, 0.5);
  border-color: #ff3d2e;
  color: #ff9a91;
}

.user-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.logout-btn {
  background: #dc3545;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
}

/* Подвал */
.footer {
  background: #0a0a0a;
  padding: 40px 20px 20px;
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #ff3d2e;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.nav-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-section nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff3d2e;
}

.footer-social h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
}

.social-link.vk { background-color: #4a76a8; }
.social-link.discord { background-color: #7289da; }
.social-link.steam { background-color: #1b2838; }
.social-link.youtube { background-color: #ff0000; }

.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

/* Отзычивость */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 20px 15px;
    margin-top: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .social-links {
    justify-content: center;
  }
}
