        /* Базовые стили */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            min-height: 90vh;
            font-family: Arial, sans-serif;
            background: linear-gradient(
                rgba(88, 99, 18, 0.555), 
                rgba(12, 41, 9, 0.39)
            ), url('../images/2.avif') center/cover fixed;
            color: rgb(255, 255, 255);
            font-size: 1.3rem;
        }

        /* Фиксированное меню */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            z-index: 1000;
            box-shadow: #333 0px 8px 32px;
        }

        .nav-menu {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .nav-menu a.active {
            background: rgba(255, 255, 255, 0.2);
        }

        .nav-menu a:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Основной контент */
        .container {
            max-width: 1200px;
            margin: 100px auto 0;
            padding: 2rem;
            background: linear-gradient(
                rgba(0, 0, 0, 0.1), 
                rgba(0, 0, 0, 0.1)
            ), url('../images/fon.png') repeat;
            backdrop-filter: blur(10px);
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }
        p {
            margin: 1rem 0;
            line-height: 1.6;
            font-size: 1.3rem;
        }
        h1, h2, h3 {
            margin: 1rem 0;
            text-align: center;
        }
        /* Адаптивность */
        @media (max-width: 768px) {
            .nav-menu {
                gap: 1rem;
                flex-wrap: wrap;
            }
            
            .container {
                margin: 80px 15px 0;
                padding: 1rem;
            }
            
            .nav-menu a {
                font-size: 0.9rem;
                padding: 0.3rem 0.7rem;
            }
        }

        .products-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
          }
          
          .product-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
          }
          
          .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
          }
          
          .product-image {
            width: 260px;
            height: 150px;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 10px;
          }
          .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
          
          .product-emoji {
            object-fit: cover;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 10px;
            font-size: 32px;
          }
          
          .product-title {
            font-size: 16px;
            margin-bottom: 8px;
            color: #d8d8d8;
          }
          
          .product-price {
            font-size: 18px;
            font-weight: bold;
            color: #c4c4c4;
            margin-bottom: 12px;
          }
          
          .product-btn {
            width: 100%;
            padding: 8px 0;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
          }
          
          .product-btn:hover {
            background: #45a049;
          }
          
          /* Адаптация под планшеты */
          @media (max-width: 900px) {
            .products-container {
              grid-template-columns: repeat(3, 1fr);
            }
          }
          
          /* Адаптация под мобильные */
          @media (max-width: 600px) {
            .products-container {
              grid-template-columns: repeat(2, 1fr);
              gap: 15px;
              padding: 10px;
            }
            
            .product-image {
              height: 120px;
            }
          }
          
          /* Очень маленькие экраны */
          @media (max-width: 400px) {
            .products-container {
              grid-template-columns: 1fr;
            }
          }

          .contacts-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            max-width: 1200px;
            margin: 40px auto;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
          }
          
          .contacts-title {
            font-size: 1.6rem;
            padding: 30px 0;
            color: #fff;
          }
          
          .contacts-subtitle {
            font-size: 1rem;
            margin-bottom: 30px;
            color: rgba(255, 255, 255, 0.8);
          }
          
          .social-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
          }
          
          .social-link {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            border-radius: 50px;
            text-decoration: none;
            color: white;
            font-weight: 500;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
          }
          
          .social-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          }
          
          .social-icon {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            fill: currentColor;
          }
          
          /* Цвета для разных соцсетей */
          .social-link.vk:hover { background: #4a76a8; }
          .social-link.tg:hover { background: #2AABEE; }
          .social-link.yt:hover { background: #FF0000; }
          .social-link.gh:hover { background: #333; }
          
          /* Адаптация для мобильных */
          @media (max-width: 600px) {
            .contacts-section {
              padding: 20px;
              margin: 20px 15px;
            }
            
            .social-links {
              flex-direction: column;
              gap: 15px;
            }
            
            .social-link {
              justify-content: center;
            }
          }



        /* Стили для блока приветствия */
        .welcome-container {
          font-family: 'Courier New', monospace;
          max-width: 1200px;
          margin: 0 auto;
          padding: 25px;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(10px);
          box-shadow: 0 4px 8px rgba(0,0,0,0.1);
          color: #e0e0e0;
          border-radius: 10px;
      }
      .glitch-effect {
          text-shadow: 2px 2px 0px #4CAF50, 
                      -1px -1px 0px #FF5252;
          letter-spacing: 1px;
          text-align: center;
      }
      .highlight {
          color: #4CAF50;
          font-weight: bold;
      }
      .tagline {
          text-align: center;
          margin: 20px 0;
          font-size: 1.1em;
      }
      .mystery-box {
        background: rgba(194, 194, 194, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
          padding: 15px;
          border-left: 3px solid #4CAF50;
          margin: 25px 0;
      }
      .features {
        display: flex;
        flex-wrap: wrap; /* Карточки переносятся на новую строку при нехватке места */
        gap: 15px; /* Отступ между карточками */
        justify-content: center; /* Центрирование, если карточки не заполняют всю строку */
        margin: 30px 0;
    }

    .feature-card {
      background: rgba(194, 194, 194, 0.1);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px;
        border-radius: 8px;
        flex: 1; /* Растягивается, чтобы заполнить доступное пространство */
        min-width: 250px; /* Минимальная ширина карточки (можно регулировать) */
        max-width: 100%; /* Чтобы не выходила за границы контейнера */
        text-align: center;
        box-sizing: border-box; /* Учитываем padding в ширине */
    }

    /* Адаптация для мобильных (например, экранов меньше 768px) */
    @media (max-width: 768px) {
        .features {
            flex-direction: column; /* Карточки в столбик */
        }
        .feature-card {
            min-width: 100%; /* На всю ширину экрана */
        }
    }

    /* Доп. адаптация для очень маленьких экранов */
    @media (max-width: 480px) {
        .feature-card {
            padding: 15px; /* Уменьшаем отступы */
        }
    }

    .emoji {
        font-size: 2em;
    }
      .final-line {
          text-align: center;
          font-style: italic;
      }
      .blink {
          animation: blink 1s infinite;
      }
      @keyframes blink {
          0% { opacity: 0; }
          50% { opacity: 1; }
          100% { opacity: 0; }
      }
      .pulse-button {
          display: block;
          width: 200px;
          margin: 20px auto;
          padding: 12px;
          text-align: center;
          background: #4CAF50;
          color: white;
          text-decoration: none;
          border-radius: 5px;
          animation: pulse 2s infinite;
      }
      @keyframes pulse {
          0% { transform: scale(1); }
          50% { transform: scale(1.05); }
          100% { transform: scale(1); }
      }

      .form-container {
        background: rgba(194, 194, 194, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px;
        border-radius: 8px;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }
    .tab {
        display: inline-block;
        padding: 10px 20px;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 5px 5px 0 0;
    }
    .tab.active {
        background: #4CAF50;
        color: white;
    }
    .form-content {
        display: none;
    }
    .form-content.active {
        display: block;
    }
    input {
        width: 100%;
        padding: 10px;
        margin: 8px 0;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    button {
        background-color: #4CAF50;
        color: white;
        padding: 14px 20px;
        margin: 8px 0;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        width: 50%;
    }
    button:hover {
        background-color: #45a049;
    }
    .captcha-container {
        display: flex;
        align-items: center;
        gap: 40px;
        margin: 15px 0;
    }
    .captcha-text {
        font-size: 18px;
        font-weight: bold;
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        width: 100px;
    }
    .error {
        color: red;
        margin-top: 5px;
    }


    .orders-container {
      background: rgba(194, 194, 194, 0.1);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      max-width: 1200px;
      margin: 0 auto;
      border-radius: 10px;
      padding: 25px;
  }
  .orders-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      flex-wrap: wrap;
  }

  .filters {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
  }
  select, input {
      padding: 8px 12px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 14px;
  }
  .orders-table {
      font-size: 11px;
      width: 100%;
      border-collapse: collapse;
  }
  .orders-table th {
    background: rgba(194, 194, 194, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 8px 12px;
      text-align: left;
      font-weight: 400;
      color: #e9e9e9;
      cursor: pointer;
      user-select: none;
  }
  .orders-table th:hover {
    background: rgba(78, 78, 78, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .orders-table td {
      padding: 12px 10px;
      border-bottom: 1px solid #5a5a5a;
      color: #f1f1f1;
  }
  .orders-table tr:last-child td {
      border-bottom: none;
  }
  .orders-table tr:hover td {
    background: rgba(78, 78, 78, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .order-id {
      font-weight: 600;
      color: #ffffff;
  }
  .order-city {
      display: flex;
      flex-direction: column;
  }
  .order-city .district {
      font-size: 12px;
      color: #ffffff;
      margin-top: 3px;
  }
  .order-product {
      display: flex;
      align-items: center;
  }

  .order-amount {
      font-weight: 600;
      color: #27ae60;
  }
  .status {
      padding: 4px 8px;
      border-radius: 15px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
  }
  .status-pending {
      background-color: #f39c12;
      color: white;
  }
  .status-completed {
      background-color: #2ecc71;
      color: white;
  }
  .status-cancelled {
      background-color: #e74c3c;
      color: white;
  }
  .no-orders {
      text-align: center;
      padding: 50px;
      color: #eeeeee;
  }
  .pagination {
      display: flex;
      justify-content: center;
      margin-top: 20px;
      gap: 5px;
  }
  .pagination button {
      padding: 8px 12px;
      border: 1px solid #ddd;
      background: white;
      border-radius: 5px;
      cursor: pointer;
  }
  .pagination button.active {
      background: #3498db;
      color: white;
      border-color: #3498db;
  }

/* Мобильная адаптация */
@media (max-width: 768px) {
  .orders-container {
      padding: 15px;
  }

  .orders-table {
      display: block;
      overflow-x: auto;
  }

  .orders-table thead {
      display: none;
  }

  .orders-table tr {
      display: block;
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
  }

  .orders-table td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 5px;
      border-bottom: 1px solid #eee;
  }

  .orders-table td::before {
      content: attr(data-label);
      font-weight: 600;
      color: #f7f7f7;
      margin-right: 15px;
      flex: 1;
  }

  .orders-table td > * {
      flex: 2;
      text-align: right;
  }

  .order-city, .order-product {
      flex-direction: column;
      align-items: flex-end;
  }

  .order-city .district {
      margin-top: 0;
  }

  .status {
      margin-left: auto;
  }

  .filters {
      flex-direction: column;
      width: 100%;
      gap: 10px;
  }

  .filters select, .filters input {
      width: 100%;
  }
}




.auth-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(78, 78, 78, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: rgba(78, 78, 78, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: #007bff;
    color: white;
    font-weight: bold;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.auth-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background: #28a745;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.auth-button:hover {
    background: #218838;
}

.captcha-question {
    font-size: 1.2rem;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(78, 78, 78, 0.1);
    border-radius: 4px;
    text-align: center;
}

.message {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    display: none;
}

.message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}
.message.error {
    background: rgba(78, 78, 78, 0.1);
    color: #cc0000;
}
.message.success {
    background: rgba(78, 78, 78, 0.1);
    color: #008800;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
}
.error {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(78, 78, 78, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    color: #c4c4c4;
    text-align: center;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-controls button {
    padding: 8px 12px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.pagination-controls button:hover {
    background: #f0f0f0;
}

.pagination-controls button.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination-controls button:disabled {
    background: #e0e0e0;
    cursor: not-allowed;
}