.account-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.account-container {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideUp 0.5s ease 0.1s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-back {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.account-back:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.account-card {
  background: var(--bg-card);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeIn 0.5s ease 0.2s both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-card:hover {
  border-color: var(--border);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.12);
}

.account-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s ease;
}

.account-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  transition: color 0.3s ease;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
}

.account-input {
  background: var(--bg-dark);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.account-input::placeholder {
  color: var(--text-dim);
}

.account-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
  transform: translateY(-1px);
}

.account-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-muted));
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
}

.account-btn:hover {
  background: linear-gradient(135deg, var(--accent-muted), var(--accent));
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}

.account-btn:active {
  transform: translateY(0);
}

.account-register {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 16px;
  padding: 8px 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-register:hover {
  color: var(--accent);
  transform: scale(1.02);
}
