.register-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
}

.register-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 255, 189, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.register-container::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(57, 242, 155, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.register-box {
  background: var(--bg-elevated);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border-soft);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.register-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  border-color: var(--border-strong);
}

.register-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-strong) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.register-subtitle {
  color: var(--text-subtle);
  margin-bottom: 2rem;
  font-size: 14px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: all var(--transition-fast);
  background: var(--glass);
  color: var(--text-main);
  font-family: inherit;
  backdrop-filter: blur(10px);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--glass-strong);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 4px 12px rgba(57, 242, 155, 0.2);
  transform: translateY(-1px);
}

.form-input:hover:not(:focus) {
  border-color: var(--border-strong);
  background: var(--bg-elevated-soft);
}

.form-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 123, 123, 0.1);
  border: 1px solid rgba(255, 123, 123, 0.3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-error::before {
  content: '⚠';
  font-size: 1rem;
}

.form-success {
  color: var(--accent);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-success::before {
  content: '✓';
  font-size: 1rem;
  font-weight: bold;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020604;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 10px 28px rgba(12, 209, 115, 0.5);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(12, 209, 115, 0.7);
  filter: brightness(1.05);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(12, 209, 115, 0.5);
}

.btn-submit:disabled {
  background: var(--bg-chip);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

.btn-submit:disabled:hover {
  transform: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
  padding: 0.5rem 0;
}

.back-link:hover {
  color: var(--accent-strong);
  transform: translateX(-4px);
  text-decoration: none;
}

.back-link::before {
  content: '←';
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.back-link:hover::before {
  transform: translateX(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .register-container {
    padding: 1.5rem;
  }
  
  .register-box {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }
  
  .register-title {
    font-size: 1.75rem;
  }
  
  .register-subtitle {
    font-size: 13px;
  }
}

/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.register-box {
  animation: fadeInUp 0.5s ease-out;
}

.form-group {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
