
    @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Roboto+Mono:wght@400;500&display=swap');

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --cyan: #00f7ff;
      --pink: #ff00aa;
      --purple: #9d00ff;
      --dark: #050510;
    }

    body {
      min-height: 100vh;
      overflow-x: hidden;
      background:
        radial-gradient(circle at 20% 30%, rgba(157, 0, 255, 0.16), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 247, 255, 0.12), transparent 30%),
        var(--dark);
      color: white;
      font-family: "Roboto Mono", monospace;
    }

    /* Анимированный фон-сетка */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(rgba(0, 247, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 247, 255, 0.05) 1px, transparent 1px);
      background-size: 50px 50px;
      transform: perspective(500px) rotateX(60deg) scale(1.5);
      transform-origin: bottom;
      animation: gridMove 8s linear infinite;
      opacity: 0.5;
    }

    @keyframes gridMove {
      from { background-position: 0 0; }
      to { background-position: 0 50px; }
    }

    header {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 25px 7%;
      border-bottom: 1px solid rgba(0, 247, 255, 0.25);
      background: rgba(5, 5, 16, 0.75);
      backdrop-filter: blur(10px);
    }

    .logo {
      font-family: "Orbitron", sans-serif;
      font-size: 22px;
      font-weight: 900;
      letter-spacing: 4px;
      color: var(--cyan);
      text-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan);
      animation: flicker 4s infinite;
    }

    @keyframes flicker {
      0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
      20%, 24%, 55% { opacity: 0.65; }
    }

    .neon-button {
      position: relative;
      padding: 12px 25px;
      border: 1px solid var(--cyan);
      background: transparent;
      color: var(--cyan);
      font-family: "Orbitron", sans-serif;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 2px;
      transition: 0.3s;
      box-shadow: 0 0 10px rgba(0, 247, 255, 0.25);
    }

    .neon-button:hover {
      background: var(--cyan);
      color: #050510;
      box-shadow: 0 0 15px var(--cyan), 0 0 40px var(--cyan);
      transform: translateY(-2px);
    }

    main {
      position: relative;
      z-index: 1;
      min-height: calc(100vh - 90px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
    }

    .status {
      color: var(--pink);
      font-size: 12px;
      letter-spacing: 3px;
      margin-bottom: 20px;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      50% { opacity: 0.45; }
    }

    h1 {
      font-family: "Orbitron", sans-serif;
      font-size: clamp(42px, 9vw, 100px);
      font-weight: 900;
      letter-spacing: 8px;
      line-height: 1;
      color: white;
      text-shadow:
        3px 0 var(--pink),
        -3px 0 var(--cyan);
      animation: glitch 3s infinite;
    }

    @keyframes glitch {
      0%, 92%, 100% {
        transform: translate(0);
      }
      93% {
        transform: translate(-3px, 1px);
      }
      95% {
        transform: translate(3px, -1px);
      }
      97% {
        transform: translate(-1px, 2px);
      }
    }

    .description {
      max-width: 650px;
      margin: 30px auto;
      color: #aeb8c9;
      line-height: 1.8;
      font-size: 16px;
    }

    /* Модальное окно */
    .modal {
      position: fixed;
      inset: 0;
      z-index: 10;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
      background: rgba(0, 0, 0, 0.8);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      backdrop-filter: blur(6px);
    }

    .modal.active {
      opacity: 1;
      visibility: visible;
    }

    .login-box {
      position: relative;
      width: 100%;
      max-width: 430px;
      padding: 45px 35px;
      background: rgba(8, 10, 25, 0.95);
      border: 1px solid var(--cyan);
      box-shadow:
        0 0 15px rgba(0, 247, 255, 0.4),
        0 0 50px rgba(157, 0, 255, 0.15);
      transform: scale(0.8) translateY(30px);
      transition: 0.35s cubic-bezier(.2,.8,.2,1);
    }

    .modal.active .login-box {
      transform: scale(1) translateY(0);
    }

    .login-box::before,
    .login-box::after {
      content: "";
      position: absolute;
      width: 30px;
      height: 30px;
    }

    .login-box::before {
      top: -1px;
      left: -1px;
      border-top: 4px solid var(--pink);
      border-left: 4px solid var(--pink);
    }

    .login-box::after {
      bottom: -1px;
      right: -1px;
      border-bottom: 4px solid var(--cyan);
      border-right: 4px solid var(--cyan);
    }

    .close {
      position: absolute;
      top: 12px;
      right: 18px;
      color: #aaa;
      background: none;
      border: none;
      font-size: 25px;
      cursor: pointer;
      transition: 0.2s;
    }

    .close:hover {
      color: var(--pink);
      text-shadow: 0 0 10px var(--pink);
    }

    .login-title {
      font-family: "Orbitron", sans-serif;
      color: var(--cyan);
      letter-spacing: 3px;
      margin-bottom: 8px;
    }

    .login-subtitle {
      color: #6f7b91;
      font-size: 12px;
      margin-bottom: 30px;
    }

    .field {
      position: relative;
      margin-bottom: 20px;
    }

    input {
      width: 100%;
      padding: 15px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid #263248;
      color: white;
      font-family: "Roboto Mono", monospace;
      outline: none;
      transition: 0.3s;
    }

    input::placeholder {
      color: #596276;
    }

    input:focus {
      border-color: var(--cyan);
      box-shadow: 0 0 12px rgba(0, 247, 255, 0.2);
    }

    .submit-button {
      width: 100%;
      padding: 15px;
      margin-top: 5px;
      border: none;
      background: var(--pink);
      color: white;
      font-family: "Orbitron", sans-serif;
      font-weight: bold;
      letter-spacing: 2px;
      cursor: pointer;
      transition: 0.25s;
    }

    .submit-button:hover {
      box-shadow: 0 0 20px var(--pink), 0 0 45px rgba(255, 0, 170, 0.4);
      transform: translateY(-2px);
    }

    /* Ошибка */
    .error-message {
      display: none;
      margin-top: 20px;
      padding: 12px;
      border: 1px solid var(--pink);
      background: rgba(255, 0, 170, 0.08);
      color: #ff6fc7;
      font-size: 13px;
      text-align: center;
    }

    .error-message.show {
      display: block;
      animation: errorAppear 0.3s ease, shake 0.4s ease;
    }

    @keyframes errorAppear {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-8px); }
      50% { transform: translateX(8px); }
      75% { transform: translateX(-5px); }
    }

    .footer-text {
      position: absolute;
      bottom: 20px;
      font-size: 10px;
      color: #495166;
      letter-spacing: 2px;
    }

    @media (max-width: 600px) {
      header {
        padding: 20px;
      }

      .logo {
        font-size: 16px;
      }

      h1 {
        letter-spacing: 4px;
      }

      .login-box {
        padding: 40px 25px;
      }
    }
  
