:root {
  --gold: #d4af37;
  --bg-dark: #101114;
  --card-dark: #181a1f;
  --border-dark: #2a2d34;
  --text-light: #eaeaea;
}

body {
  margin: 0;
  font-family: "Poppins", "Vazirmatn", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.card {
  width: min(420px, 92vw);
  background: var(--card-dark);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-dark);
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

.logo {
  width: 90px;
  height: 90px;
  margin-bottom: 12px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.4);
}

h2 {
  margin: 10px 0 20px;
  color: var(--gold);
  font-weight: 700;
}

input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  background: #13151a;
  color: #fff;
  margin: 10px 0;
  font-size: 0.95rem;
  transition: 0.3s;
}

input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 6px rgba(212,175,55,0.5);
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s;
}

button:hover {
  background: #c7a229;
}

.links {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.links a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

.links a:hover {
  color: #fff;
}

.lang-switch {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.lang-switch a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 5px;
}

.lang-switch a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
