:root {
    --primary: #2d46b9;
    --primary-dark: #1a2980;
    --secondary: #885eff;
    --accent: #ff5e96;
    --success: #00c896;
    --warning: #ffaa00;
    --error: #ff4a6e;
    --background: #0f1024;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-background: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --shadow: rgba(0, 0, 0, 0.25);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
  }
  
  .background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(125deg, var(--primary-dark), var(--background), #160f30);
    overflow: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    perspective: 1000px;
  }
  
  .form-wrapper {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 40px;
    box-shadow: 0 8px 32px var(--shadow);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
  }
  
  h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.5px;
    color: var(--text);
    position: relative;
  }
  
  h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 4px;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .form-group {
    position: relative;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: var(--glass-highlight);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
  }
  
  input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(136, 94, 255, 0.2);
  }
  
  input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  
  button {
    position: relative;
    padding: 14px 28px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 15px;
    outline: none;
  }
  
  button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 94, 255, 0.3);
  }
  
  .success-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    background: rgba(15, 16, 36, 0.9);
  }
  
  .success-message {
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
  }
  
  .success-message h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .success-message p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
  }
  
  .checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    margin-top: 20px;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
  }
  
  .success-container.show {
    opacity: 1;
    visibility: visible;
  }
  
  .success-container.show .success-message {
    transform: scale(1);
    opacity: 1;
  }
  
  .success-container.show .checkmark {
    transform: scale(1);
  }
  
  .sparkles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
  }
  
  @media (max-width: 600px) {
    .form-wrapper {
      padding: 30px 20px;
    }
    
    h1 {
      font-size: 2rem;
    }
    
    input {
      padding: 10px 14px;
    }
    
    button {
      padding: 12px 24px;
    }
  }