body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #2c2c2e 0%, #1d1d1f 100%);
    animation: breathing 10s ease-in-out infinite;
    position: relative;
  }
  
  #particles-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  

  .login-box {
    background: rgba(29, 29, 31, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
  }
  
  h2 {
    color: #a61dff;
    margin-bottom: 30px;
  }
  
  input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    background: #333;
    border-radius: 8px;
    color: white;
    font-size: 16px;
  }
  
  input.error {
    border: 2px solid red;
    animation: fadeBorder 3s forwards;
  }
  
  @keyframes fadeBorder {
    0% { border-color: red; }
    100% { border-color: transparent; }
  }
  
  button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #a61dff, #6a00ff);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  button:hover {
    transform: scale(1.05);
  }
  
  .spinner {
    border: 3px solid transparent;
    border-top: 3px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes breathing {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  