:root {
  --aurandel-bg: #09090b;
  --aurandel-panel: rgba(24, 23, 22, 0.92);
  --aurandel-border: rgba(180, 146, 78, 0.18);
  --aurandel-gold: #e3c97a;
  --aurandel-soft: #d8ccb0;
  --aurandel-text: #f4ede0;
  --aurandel-muted: rgba(244, 237, 224, 0.72);
  --aurandel-shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(220, 176, 83, 0.2), transparent 32%),
    linear-gradient(180deg, #09090b 0%, #0c0b0f 48%, #07070a 100%);
  color: var(--aurandel-text);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
}

.social-login-body {
  min-height: 100vh;
}

.social-login-root {
  display: grid;
  grid-template-columns: minmax(320px, 540px) minmax(360px, 1fr);
  min-height: 100vh;
  gap: 2rem;
  padding: 1.25rem;
}

.social-login-panel,
.social-login-hero-panel {
  border: 1px solid var(--aurandel-border);
  border-radius: 28px;
  background: var(--aurandel-panel);
  box-shadow: 0 30px 90px var(--aurandel-shadow);
  backdrop-filter: blur(18px);
}

.social-login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.25rem;
}

.social-login-brand {
  margin-bottom: 2.5rem;
}

.social-login-kicker,
.social-login-hero-kicker,
.social-login-card-label {
  color: var(--aurandel-gold);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
}

.social-login-brand-title {
  margin-top: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  color: var(--aurandel-soft);
}

.social-login-rule {
  width: 96px;
  height: 1px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--aurandel-gold), transparent);
}

.social-login-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--aurandel-gold);
}

.social-login-copy p,
.social-login-hero-panel p,
.social-login-card-value {
  line-height: 1.8;
  color: var(--aurandel-muted);
}

.social-login-copy p {
  margin: 1rem 0 0;
  max-width: 30rem;
}

.social-login-form {
  margin-top: 2rem;
}

.social-login-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--aurandel-gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
}

.social-login-form input {
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(227, 201, 122, 0.22);
  background: rgba(10, 10, 13, 0.82);
  color: var(--aurandel-text);
  font-size: 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.social-login-form input:focus {
  border-color: rgba(227, 201, 122, 0.68);
  box-shadow: 0 0 0 4px rgba(227, 201, 122, 0.12);
}

.social-login-error {
  min-height: 1.35rem;
  margin: 0.75rem 0 0;
  color: #f4a6a6;
  font-size: 0.9rem;
}

.social-login-form button {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #9d8242 0%, #d4bb74 100%);
  color: #17130c;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.social-login-form button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(212, 187, 116, 0.18);
}

.social-login-form button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.social-login-hero {
  display: flex;
}

.social-login-hero-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.18), rgba(7, 7, 10, 0.88)),
    url("https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
}

.social-login-hero-panel h2 {
  margin: 1rem 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--aurandel-text);
}

.social-login-hero-panel em {
  font-style: italic;
  color: var(--aurandel-gold);
}

.social-login-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.social-login-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(10, 10, 13, 0.54);
  border: 1px solid rgba(227, 201, 122, 0.14);
}

.social-login-card-value {
  margin-top: 0.6rem;
}

.social-login-note {
  margin-top: 1.5rem;
  max-width: 40rem;
}

@media (max-width: 1024px) {
  .social-login-root {
    grid-template-columns: 1fr;
  }

  .social-login-hero {
    min-height: 380px;
  }

  .social-login-hero-panel {
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  .social-login-root {
    padding: 0.85rem;
    gap: 1rem;
  }

  .social-login-panel,
  .social-login-hero-panel {
    border-radius: 22px;
  }

  .social-login-panel {
    padding: 1.5rem;
  }

  .social-login-grid {
    grid-template-columns: 1fr;
  }
}
