
    :root {
      --primary: #6d28d9;
      --primary-dark: #5b21b6;
      --primary-light: #8b5cf6;
      --secondary: #10b981;
      --secondary-dark: #059669;
      --secondary-light: #34d399;
      --danger: #ef4444;
      --danger-light: #f87171;
      --warning: #f59e0b;
      --warning-light: #fbbf24;
      --info: #3b82f6;
      --info-light: #60a5fa;
      --dark: #0f172a;
      --darker: #020617;
      --dark-light: #1e293b;
      --light: #f8fafc;
      --gray: #94a3b8;
      --gray-dark: #64748b;
      --gray-light: #e2e8f0;
      --category-color: #6d28d9;
      --category-color-light: #6d28d980;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      color: var(--light);
      background-color: var(--darker);
      overflow-x: hidden;
    }

    .app-container {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Параллакс фон */
    .parallax-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      overflow: hidden;
    }

    .parallax-bg .bg-layer-1 {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    }

    .parallax-bg .bg-layer-2 {
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, transparent 70%);
      animation: rotate 60s linear infinite;
      opacity: 0.6;
    }

    .parallax-bg .bg-layer-3 {
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
      animation: rotate 80s linear infinite reverse;
      opacity: 0.4;
    }

    @keyframes rotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Шапка */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 1.5rem 2rem;
      z-index: 100;
      backdrop-filter: blur(10px);
      background-color: rgba(2, 6, 23, 0.5);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    html {
      scroll-behavior: smooth;
    }

    .header.scrolled {
      padding: 0.8rem 2rem;
      background-color: rgba(2, 6, 23, 0.95);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

    .header-content {
      max-width: 1600px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
    }

    .logo-container {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-shrink: 0;
    }

    .logo-text {
      font-family: 'Orbitron', sans-serif;
      font-weight: 600;
      font-size: 1.8rem;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: 1px;
    }

    .logo-line {
      width: 2px;
      height: 2rem;
      background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    }

    .header-search {
      flex-grow: 1;
      max-width: 500px;
      position: relative;
    }

    .header-search input {
      width: 100%;
      padding: 0.75rem 1.5rem 0.75rem 3rem;
      border-radius: 50px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
      color: var(--light);
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .header-search input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.3);
    }

    .header-search svg {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--gray);
    }

    /* Мобильное меню */
    .mobile-menu-btn {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 21px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 101;
    }

    .mobile-menu-btn span {
      display: block;
      width: 100%;
      height: 3px;
      background-color: var(--light);
      transition: all 0.3s ease;
    }

    .mobile-menu-btn.open span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.open span:nth-child(2) {
      opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }

    /* Навигация */
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    /* Панель пользователя */
    .user-panel {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .balance-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .balance {
      font-weight: 600;
      color: var(--secondary);
      font-size: 1rem;
    }

    .balance-add {
      color: var(--gray);
      transition: color 0.3s ease;
    }

    .balance-add:hover {
      color: var(--secondary);
    }

    .profile-link {
      display: flex;
      align-items: center;
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid var(--primary);
      position: relative;
    }

    .user-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .user-status {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid var(--dark);
    }

    .user-status.online {
      background-color: var(--secondary);
    }

    .user-status.offline {
      background-color: var(--gray-dark);
    }

    .steam-login-btn {
      background: linear-gradient(to right, var(--primary), var(--primary-dark));
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
    }

    .steam-login-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
    }

    /* Основной контент */
    .main-content {
      flex: 1;
      padding-top: 6rem;
      padding-bottom: 4rem;
    }


    @keyframes scroll {
      0% { top: 5px; opacity: 1; }
      100% { top: 15px; opacity: 0; }
    }

    /* Секция серверов */
    .servers-section {
      max-width: 1400px;
      margin: 0 auto;
      padding: 4rem 2rem;
    }

    .section-header {
      margin-bottom: 3rem;
      text-align: center;
    }

    .section-title {
      font-family: 'Orbitron', sans-serif;
      font-size: 2.5rem;
      font-weight: 500;
      margin-bottom: 1rem;
      color: var(--light);
      position: relative;
      display: inline-block;
    }

    .section-divider {
      width: 100px;
      height: 3px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      margin: 0 auto;
      border-radius: 3px;
    }

    /* Сетка серверов */
    .servers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    /* Карточка сервера */
    .server-card {
      background: rgba(15, 23, 42, 0.7);
      border-radius: 12px;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      cursor: pointer;
      transition: all 0.4s ease;
      border: 1px solid rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(5px);
      position: relative;
      overflow: hidden;
    }

    .server-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(109, 40, 217, 0.1) 0%, transparent 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .server-card:hover, .server-card.active {
      border-color: var(--primary);
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

    .server-card:hover::before, .server-card.active::before {
      opacity: 1;
    }

    .server-card.active {
      background: rgba(109, 40, 217, 0.15);
    }

.server-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.server-status[data-status="online"] {
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2s infinite;
}

.server-status[data-status="offline"] {
  background-color: var(--danger);
  box-shadow: 0 0 10px var(--danger);
  animation: pulse 2s infinite;
}

.server-status[data-status="restarting"] {
  background-color: var(--warning);
  box-shadow: 0 0 10px var(--warning);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

    .server-info {
      flex-grow: 1;
    }

    .server-info h4 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
      color: var(--light);
    }

    .server-info p {
      font-size: 0.9rem;
      color: var(--gray);
    }

    .server-online {
      background: rgba(255, 255, 255, 0.1);
      padding: 0.5rem 0.75rem;
      border-radius: 50px;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .server-online::before {
      content: '';
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: var(--secondary);
    }

    .server-select-indicator {
      position: absolute;
      bottom: -1px;
      right: -1px;
      width: 0;
      height: 0;
      border-bottom: 20px solid var(--primary);
      border-left: 20px solid transparent;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .server-select-indicator svg {
      position: absolute;
      bottom: 2px;
      right: 2px;
      width: 12px;
      height: 12px;
    }

    .server-card.active .server-select-indicator {
      opacity: 1;
    }

    /* Секция фильтров */
    .filters-section {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem 2rem;
    }

    .filters-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .categories-container {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .category-btn {
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--gray);
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(5px);
    }

    .category-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, var(--category-color), var(--category-color-light));
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
    }

    .category-btn:hover {
      color: var(--light);
      border-color: transparent;
    }

    .category-btn:hover::before {
      opacity: 1;
    }

    .category-btn.active {
      background: linear-gradient(to right, var(--category-color), var(--category-color-light));
      color: white;
      border-color: transparent;
      box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
    }

    .category-btn.active::before {
      opacity: 1;
    }

    .category-indicator {
      position: absolute;
      bottom: -1px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 3px;
      background: var(--light);
      border-radius: 3px;
    }

    .sort-container {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .sort-container label {
      color: var(--gray);
      font-size: 0.9rem;
    }

    .sort-container select {
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--light);
      padding: 0.5rem 1rem;
      border-radius: 6px;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(5px);
    }

    .sort-container select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.3);
    }

    /* Секция продуктов */
    .products-section {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem 4rem;
    }

    .section-title {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 1rem;
    }

    .items-count {
      background: rgba(255, 255, 255, 0.1);
      color: var(--gray);
      font-size: 0.9rem;
      padding: 0.25rem 0.75rem;
      border-radius: 50px;
      font-weight: 400;
    }

    /* Сетка продуктов */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
    }

    /* Карточка продукта */
    .product-card {
      background: rgba(15, 23, 42, 0.7);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.4s ease;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(5px);
      cursor: pointer;
    }

    .product-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      border-color: rgba(109, 40, 217, 0.3);
    }

    .product-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background-color: var(--danger);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 600;
      z-index: 2;
      animation: pulse 2s infinite;
    }

    .product-image {
      position: relative;
      height: 200px;
      overflow: hidden;
    }

    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .product-card:hover .product-image img {
      transform: scale(1.05);
    }

    .image-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent 60%);
    }

    .product-category {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      padding: 0.25rem 0.75rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
      color: white;
      z-index: 2;
    }

    .product-info {
      padding: 1.5rem;
    }

    .product-header {
      margin-bottom: 1rem;
    }

    .product-name {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
      color: var(--light);
    }

    .product-server {
      font-size: 0.8rem;
      color: var(--gray);
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .product-server::before {
      content: '';
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: var(--secondary);
    }

    .product-desc {
      font-size: 0.9rem;
      color: var(--gray);
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    .product-desc p {
      margin-bottom: 0.5rem;
    }

    .read-more {
      color: var(--primary-light);
      font-weight: 500;
    }

    .product-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 1.5rem 1.5rem;
    }

    .product-price {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--secondary);
    }

    .add-to-cart-btn {
      background: linear-gradient(to right, var(--primary), var(--primary-dark));
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .add-to-cart-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(109, 40, 217, 0.4);
    }

    .add-to-cart-btn:disabled {
      background: var(--gray-dark);
      cursor: not-allowed;
      opacity: 0.7;
    }

    /* Нет товаров */
    .no-products {
      text-align: center;
      padding: 4rem 2rem;
      color: var(--gray);
    }

    .no-products svg {
      margin-bottom: 1rem;
      opacity: 0.5;
    }

    .no-products h4 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--light);
    }

    .reset-filters-btn {
      background: rgba(109, 40, 217, 0.1);
      color: var(--primary-light);
      border: 1px solid var(--primary);
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      font-weight: 500;
      margin-top: 1.5rem;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .reset-filters-btn:hover {
      background: rgba(109, 40, 217, 0.2);
    }

    /* Загрузка */
    .loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3rem;
      gap: 1rem;
      color: var(--gray);
    }

    .loading-spinner {
      width: 40px;
      height: 40px;
      border: 4px solid rgba(109, 40, 217, 0.2);
      border-radius: 50%;
      border-top-color: var(--primary);
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Ошибка */
    .error-container {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background: var(--darker);
      z-index: 1000;
      padding: 2rem;
    }

    .error-content {
      text-align: center;
      max-width: 500px;
    }

    .error-icon {
      margin-bottom: 1.5rem;
    }

    .error-icon svg {
      width: 64px;
      height: 64px;
    }

    .error-container h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
      color: var(--light);
    }

    .error-container p {
      color: var(--gray);
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .error-retry-btn {
      background: var(--primary);
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin: 0 auto;
    }

    .error-retry-btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }

    /* Футер */
    .footer {
      background: rgba(2, 6, 23, 0.95);
      padding: 4rem 2rem 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      position: relative;
      z-index: 10;
    }

    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
    }

    .footer-main {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .footer-logo span {
      font-family: 'Orbitron', sans-serif;
      font-weight: 600;
      font-size: 1.5rem;
      color: var(--light);
    }

    .footer-logo .logo-line {
      height: 1.5rem;
    }

    .footer-nav {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 2rem;
    }

    .footer-nav-column h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--light);
    }

    .footer-link {
      display: block;
      color: var(--gray);
      text-decoration: none;
      margin-bottom: 0.75rem;
      transition: color 0.3s ease;
    }

    .footer-link:hover {
      color: var(--light);
    }

    .footer-social h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--light);
    }

    .social-links {
      display: flex;
      gap: 1rem;
    }

    .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      color: var(--gray);
      transition: all 0.3s ease;
    }

    .social-link:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-3px);
    }

    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-copy {
      color: var(--gray);
      font-size: 0.9rem;
    }

    .footer-legal {
      display: flex;
      gap: 1.5rem;
    }

    /* Модальное окно покупки */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      padding: 1rem;
      backdrop-filter: blur(5px);
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-content {
      background: var(--dark);
      border-radius: 16px;
      padding: 2rem;
      width: 100%;
      max-width: 600px;
      position: relative;
      border: 1px solid var(--primary);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      animation: slideUp 0.4s ease;
      overflow: hidden;
    }

    @keyframes slideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      color: var(--gray);
      cursor: pointer;
      transition: color 0.3s;
      padding: 0.5rem;
    }

    .modal-close:hover {
      color: var(--light);
    }

    .modal-header {
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .modal-title {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
      color: var(--light);
    }

    .modal-subtitle {
      color: var(--gray);
      font-size: 0.9rem;
    }

    .modal-item {
      display: flex;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .modal-item-image {
      width: 150px;
      height: 150px;
      flex-shrink: 0;
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-item-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .item-badge {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      background: var(--danger);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .modal-item-info {
      flex-grow: 1;
    }

    .modal-item-info h4 {
      font-size: 1.5rem;
      margin-bottom: 0.75rem;
      color: var(--light);
    }

    .modal-item-meta {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .server-badge, .category-badge {
      font-size: 0.75rem;
      padding: 0.25rem 0.75rem;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
    }

    .category-badge {
      background: var(--category-color);
      color: white;
    }

    .modal-item-desc {
      color: var(--gray);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .modal-item-desc p {
      margin-bottom: 0.5rem;
    }

    .modal-footer {
      margin-top: 2rem;
    }

    .price-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .price-label {
      color: var(--gray);
      font-size: 1rem;
    }

    .modal-price {
      font-size: 2rem;
      font-weight: 700;
      color: var(--secondary);
    }

    .modal-error {
      color: var(--danger);
      text-align: center;
      margin: 1rem 0;
      font-size: 0.9rem;
    }

    .modal-confirm-btn {
      background: linear-gradient(to right, var(--primary), var(--primary-dark));
      color: white;
      border: none;
      width: 100%;
      padding: 1.25rem;
      border-radius: 12px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
    }

    .modal-confirm-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(109, 40, 217, 0.5);
    }

    .modal-confirm-btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      background: var(--gray-dark);
    }

    .spinner {
      display: inline-block;
      width: 1.25rem;
      height: 1.25rem;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
    }

    /* Быстрый просмотр */
    .quickview-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      padding: 1rem;
      backdrop-filter: blur(5px);
      animation: fadeIn 0.3s ease;
    }

    .quickview-content {
      background: var(--dark);
      border-radius: 16px;
      padding: 2rem;
      width: 100%;
      max-width: 900px;
      position: relative;
      border: 1px solid var(--primary);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      animation: slideUp 0.4s ease;
      overflow: hidden;
    }

    .quickview-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      color: var(--gray);
      cursor: pointer;
      transition: color 0.3s;
      padding: 0.5rem;
    }

    .quickview-close:hover {
      color: var(--light);
    }

    .quickview-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    .quickview-image {
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .quickview-image img {
      width: 100%;
      height: auto;
      display: block;
    }

    .quickview-info {
      display: flex;
      flex-direction: column;
    }

    .quickview-header h3 {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
      color: var(--light);
    }

    .quickview-meta {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .quickview-desc {
      color: var(--gray);
      line-height: 1.6;
      margin-bottom: 1.5rem;
      flex-grow: 1;
    }

    .quickview-desc p {
      margin-bottom: 0.5rem;
    }

    .quickview-price {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 1.5rem;
    }

    .quickview-actions {
      display: flex;
      gap: 1rem;
    }

    .quickview-buy {
      background: linear-gradient(to right, var(--primary), var(--primary-dark));
      color: white;
      border: none;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      flex: 1;
    }

    .quickview-buy:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(109, 40, 217, 0.4);
    }

    .quickview-close-btn {
      background: rgba(255, 255, 255, 0.05);
      color: var(--light);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .quickview-close-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    /* Адаптивность */
    @media (max-width: 1200px) {


      .quickview-grid {
        grid-template-columns: 1fr;
      }

      .quickview-image {
        max-height: 300px;
      }
    }

    @media (max-width: 992px) {
      .header-search {
        display: none;
      }

      .footer-main {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .header {
        padding: 1rem;
      }

      .mobile-menu-btn {
        display: flex;
      }

      .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem;
      }

      .nav-menu.open {
        right: 0;
      }


      .servers-section, .products-section {
        padding: 2rem 1rem;
      }

      .section-title {
        font-size: 2rem;
      }

      .filters-container {
        flex-direction: column;
        align-items: stretch;
      }

      .categories-container {
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: thin;
      }

      .categories-container::-webkit-scrollbar {
        height: 4px;
      }

      .categories-container::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 2px;
      }

      .modal-item {
        flex-direction: column;
      }

      .modal-item-image {
        width: 100%;
        height: 200px;
      }

      .footer-main {
        grid-template-columns: 1fr;
      }

      .footer-bottom {
        flex-direction: column;
      }
    }

    @media (max-width: 576px) {
      .products-grid {
        grid-template-columns: 1fr;
      }

      .quickview-actions {
        flex-direction: column;
      }

      .quickview-buy, .quickview-close-btn {
        width: 100%;
      }
    }
