@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --aurandel-gold: #c9a84c;
  --aurandel-gold-light: #e8d48b;
  --aurandel-gold-dim: #8a7233;
  --aurandel-dark: #0a0a0c;
  --aurandel-dark-surface: rgba(17, 17, 20, 0.9);
  --aurandel-text: #f5f2ea;
  --aurandel-muted: #c8c1b4;
  --aurandel-line: rgba(201, 168, 76, 0.18);
  --aurandel-line-strong: rgba(232, 212, 139, 0.58);
  --aurandel-body: 'Outfit', sans-serif;
  --aurandel-display: 'Cormorant Garamond', Georgia, serif;
}

html.aurandel-auth-html {
  background: var(--aurandel-dark);
}

body.aurandel-auth-body {
  background: var(--aurandel-dark) !important;
  color: var(--aurandel-text) !important;
  font-family: var(--aurandel-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.aurandel-auth-root {
  gap: 18px !important;
  padding: 18px !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 168, 76, 0.14), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(232, 212, 139, 0.08), transparent 22%),
    linear-gradient(180deg, #050507 0%, #0d0d10 100%) !important;
}

.aurandel-auth-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.96) 0%, rgba(12, 12, 14, 0.94) 100%) !important;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.aurandel-auth-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 212, 139, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(201, 168, 76, 0.05), transparent 34%);
}

.aurandel-auth-form-shell {
  position: relative;
  z-index: 1;
  max-width: 480px !important;
  gap: 24px !important;
}

.aurandel-auth-logo {
  display: none !important;
}

.aurandel-auth-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}

.aurandel-auth-brand-kicker {
  color: var(--aurandel-gold-dim);
  font-family: var(--aurandel-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.aurandel-auth-brand-title {
  color: var(--aurandel-text);
  font-family: var(--aurandel-display);
  font-size: clamp(2.25rem, 5vw, 3.3rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.aurandel-auth-brand-rule {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--aurandel-gold), transparent);
}

.aurandel-auth-form {
  width: 100%;
}

.aurandel-auth-title {
  color: var(--aurandel-gold-light) !important;
  font-family: var(--aurandel-display) !important;
  font-size: clamp(2.7rem, 5vw, 3.9rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
}

.aurandel-auth-helper {
  max-width: 38ch;
  margin: 12px 0 30px;
  color: var(--aurandel-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.aurandel-auth-social-label {
  margin: 0 0 14px !important;
  color: var(--aurandel-gold-dim) !important;
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.aurandel-auth-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px !important;
}

.aurandel-auth-social-row > * {
  flex: 1 1 180px;
  min-width: 0;
}

.aurandel-auth-social-button {
  border: 1px solid var(--aurandel-line) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--aurandel-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.aurandel-auth-social-button:hover {
  border-color: rgba(232, 212, 139, 0.34) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.aurandel-auth-divider {
  margin: 30px 0 !important;
}

.aurandel-auth-divider > div:first-child {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.38), transparent) !important;
}

.aurandel-auth-divider > div:last-child > div {
  border: 1px solid rgba(201, 168, 76, 0.14);
  border-radius: 999px;
  background: #101013;
  color: var(--aurandel-gold-dim);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 14px !important;
}

.aurandel-auth-field {
  gap: 8px !important;
}

.aurandel-auth-label {
  color: var(--aurandel-gold-dim) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aurandel-auth-input-shell {
  height: 56px !important;
  border: 1px solid var(--aurandel-line) !important;
  border-radius: 14px !important;
  background: rgba(10, 10, 12, 0.84) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.aurandel-auth-input-shell:focus-within {
  border-color: var(--aurandel-line-strong) !important;
  box-shadow:
    0 0 0 3px rgba(201, 168, 76, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.aurandel-auth-input {
  color: var(--aurandel-text) !important;
  font-family: var(--aurandel-body) !important;
  font-size: 0.95rem !important;
}

.aurandel-auth-input::placeholder {
  color: rgba(200, 193, 180, 0.56);
}

.aurandel-auth-error {
  min-height: 1.15rem;
  color: #f0a6a6 !important;
  font-size: 0.75rem !important;
}

.aurandel-auth-submit {
  height: 58px !important;
  border: none !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--aurandel-gold-light) 0%, var(--aurandel-gold) 48%, #8f6a26 100%) !important;
  color: #0b0b0d !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    0 18px 40px rgba(143, 106, 38, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.aurandel-auth-submit:hover {
  filter: saturate(1.04);
  transform: translateY(-1px);
}

.aurandel-auth-copy-line,
.aurandel-auth-legal {
  color: var(--aurandel-muted);
  line-height: 1.7;
}

.aurandel-auth-form a {
  color: var(--aurandel-gold-light) !important;
  text-decoration-color: rgba(232, 212, 139, 0.42) !important;
}

.aurandel-auth-form a:hover {
  color: #fff2c0 !important;
}

.aurandel-auth-aside {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 28px;
  min-height: calc(100vh - 36px);
}

.aurandel-auth-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 56px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.28) 0%, rgba(5, 5, 7, 0.84) 100%),
    url('/_aurandel-auth/hero-poster.jpg') center 30% / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.aurandel-auth-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(232, 212, 139, 0.16), transparent 26%),
    linear-gradient(to top, rgba(5, 5, 7, 0.96) 0%, rgba(5, 5, 7, 0.78) 34%, rgba(5, 5, 7, 0.26) 60%, rgba(5, 5, 7, 0.12) 100%);
}

.aurandel-auth-hero-panel {
  position: relative;
  z-index: 1;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aurandel-auth-hero-kicker {
  color: var(--aurandel-gold-light);
  font-family: var(--aurandel-display);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.aurandel-auth-hero-title {
  color: var(--aurandel-text);
  font-family: var(--aurandel-display);
  font-size: clamp(3rem, 4.8vw, 4.9rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.aurandel-auth-hero-title em {
  color: var(--aurandel-gold-light);
  font-style: italic;
}

.aurandel-auth-hero-lede {
  max-width: 42ch;
  color: var(--aurandel-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.aurandel-auth-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.aurandel-auth-hero-card {
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 16px;
  background: rgba(10, 10, 12, 0.46);
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}

.aurandel-auth-hero-label {
  color: var(--aurandel-gold-dim);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.aurandel-auth-hero-value {
  color: var(--aurandel-text);
  font-family: var(--aurandel-display);
  font-size: 1.28rem;
  line-height: 1.15;
}

.aurandel-auth-hero-note {
  max-width: 40ch;
  color: rgba(245, 242, 234, 0.78);
  font-size: 0.92rem;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .aurandel-auth-root {
    padding: 12px !important;
  }

  .aurandel-auth-hero {
    padding: 36px;
  }
}

@media (max-width: 1023px) {
  .aurandel-auth-panel {
    border-radius: 24px !important;
  }

  .aurandel-auth-brand-title {
    font-size: 2.55rem;
  }
}

@media (max-width: 640px) {
  .aurandel-auth-root {
    gap: 12px !important;
    padding: 12px !important;
  }

  .aurandel-auth-panel {
    border-radius: 22px !important;
  }

  .aurandel-auth-form-shell {
    gap: 20px !important;
  }

  .aurandel-auth-brand-title {
    font-size: 2.2rem;
  }

  .aurandel-auth-title {
    font-size: 2.6rem !important;
  }

  .aurandel-auth-helper {
    font-size: 0.94rem;
    margin-bottom: 24px;
  }

  .aurandel-auth-input-shell {
    height: 54px !important;
  }
}
