@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #f5e6b8;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body.abk-login-luxury-page {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  color: #fff;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(212, 175, 55, 0.24), transparent 58%),
    radial-gradient(ellipse 60% 45% at 10% 90%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 20%, rgba(56, 132, 196, 0.16), transparent 50%),
    linear-gradient(165deg, #020617 0%, #071428 32%, #0c2340 58%, #040b14 100%);
  overflow: hidden;
}

body.abk-login-luxury-page::before {
  content: '';
  position: fixed;
  width: 520px;
  height: 520px;
  top: -140px;
  left: -100px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.32);
  filter: blur(90px);
  animation: abkLuxuryOrb 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

body.abk-login-luxury-page::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background:
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(147, 197, 253, 0.04) 40px 41px),
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(56, 132, 196, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes abkLuxuryOrb {
  from { transform: translate(0, 0) scale(1); opacity: 0.75; }
  to { transform: translate(30px, 20px) scale(1.08); opacity: 1; }
}

.abk-login-luxury-overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 18px;
}

.abk-login-luxury-shell {
  width: min(460px, calc(100vw - 36px));
}

.abk-login-luxury-header {
  text-align: center;
  margin-bottom: 24px;
}

.abk-login-luxury-logo-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8e7 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.abk-login-luxury-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.abk-login-luxury-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.abk-login-luxury-title {
  margin: 14px 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #e8eef5 45%, #c9a84c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.abk-login-luxury-subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(226, 236, 248, 0.72);
  letter-spacing: 0.06em;
}

.abk-login-luxury-card {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0.05) 55%, rgba(15, 23, 42, 0.12) 100%);
  backdrop-filter: blur(32px) saturate(170%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(212, 175, 55, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(255, 248, 220, 0.42) inset,
    0 -28px 52px rgba(0, 0, 0, 0.08) inset;
}

.abk-login-luxury-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.55), rgba(255, 255, 255, 0.08) 35%, rgba(14, 116, 144, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.abk-login-luxury-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  pointer-events: none;
}

.abk-login-luxury-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  opacity: 0.7;
}

.abk-login-luxury-card form {
  position: relative;
  z-index: 1;
}

.abk-login-luxury-card label {
  display: block;
  margin: 12px 0 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 230, 184, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.abk-login-luxury-card label:first-of-type {
  margin-top: 0;
}

.abk-login-luxury-card input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 2px 6px rgba(15, 23, 42, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.abk-login-luxury-card input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65);
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 6px rgba(15, 23, 42, 0.06),
    0 0 0 3px rgba(212, 175, 55, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.abk-login-luxury-card input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.abk-login-luxury-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 20px;
  border: 1px solid rgba(255, 248, 220, 0.55);
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a2744;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%),
    linear-gradient(135deg, #f8ecc8 0%, #e8c547 22%, #d4af37 48%, #b8860b 72%, #8b6914 100%);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -5px 14px rgba(139, 105, 20, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.abk-login-luxury-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  animation: abkBtnShine 4.5s ease-in-out infinite;
}

@keyframes abkBtnShine {
  0%, 70% { left: -120%; }
  100% { left: 140%; }
}

.abk-login-luxury-submit:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(212, 175, 55, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.abk-login-luxury-submit:active {
  transform: translateY(0);
}

.abk-login-luxury-error {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #991b1b;
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.95), rgba(254, 202, 202, 0.9));
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow: 0 8px 20px rgba(127, 29, 29, 0.12);
}

.abk-login-luxury-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.78);
}

.abk-login-luxury-note strong {
  color: rgba(245, 230, 184, 0.95);
}

.abk-login-luxury-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(203, 213, 225, 0.72);
}

.abk-login-luxury-footer .year {
  color: rgba(212, 175, 55, 0.92);
  letter-spacing: 0.18em;
}

.abk-login-luxury-back {
  display: inline-block;
  margin-top: 14px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: rgba(245, 230, 184, 0.88);
  transition: color 0.2s ease;
}

.abk-login-luxury-back:hover {
  color: #fff8e7;
}

@media (max-width: 600px) {
  .abk-login-luxury-overlay {
    align-items: flex-start;
    padding-top: 20px;
  }

  .abk-login-luxury-card {
    padding: 22px 18px 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.abk-login-luxury-page::before,
  .abk-login-luxury-submit::before {
    animation: none !important;
  }

  .abk-login-luxury-card input,
  .abk-login-luxury-submit {
    transition: none !important;
  }
}
