/* Login v2 — moving wall of product photos (left), glass card (right). Stacked on mobile. */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

/* ═══ brand side ═══ */
.auth-brand { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(32px, 5vw, 72px); background: #0b0a09; isolation: isolate; }
.wall { position: absolute; inset: -40px -20px; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: rotate(-6deg) scale(1.12); opacity: 0.7; }
.wall-col { display: flex; flex-direction: column; animation: wallUp 70s linear infinite; will-change: transform; }
.wall-col.c2 { animation-name: wallDown; animation-duration: 85s; }
.wall-col.c3 { animation-duration: 95s; }
.wall-col img { display: block; width: 100%; height: auto; margin-bottom: 16px; border-radius: 18px; background: #efebe3; box-shadow: 0 0 0 1px rgba(236, 218, 180, 0.08); }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wall-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0.2) 30%, rgba(11, 10, 9, 0.88) 64%, #0b0a09 100%),
    linear-gradient(90deg, transparent 70%, rgba(11, 10, 9, 0.9)),
    radial-gradient(800px 500px at 20% 110%, rgba(207, 174, 90, 0.16), transparent 70%); }

.brand-inner { position: relative; max-width: 560px; }
.brand-top { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6)); }
.brand-word { font-size: 17px; }
.brand-eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.brand-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.015em; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.brand-title em { font-style: italic; font-weight: 500; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.brand-copy { font-size: 17px; line-height: 1.6; color: #cfc6b6; max-width: 44ch; margin-bottom: 30px; }
.brand-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-points li { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text);
  background: rgba(20, 17, 14, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.brand-points li > span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #16110a; background: var(--gold-grad); }
.brand-points li > span .i { width: 15px; height: 15px; }

/* ═══ form side ═══ */
.auth-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; gap: 14px;
  background: radial-gradient(700px 500px at 50% 30%, rgba(207, 174, 90, 0.07), transparent 70%); }
.auth-panel::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold-line), transparent); }
.card { width: 100%; max-width: 440px; padding: 38px 36px 28px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(34, 29, 23, 0.82), rgba(21, 18, 15, 0.9)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px var(--gold-line), var(--shadow-lg), 0 0 100px rgba(207, 174, 90, 0.07), var(--hairline); }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.card-logo { width: 48px; height: 48px; object-fit: contain; display: none; }
.card-title { font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1.02; }
.card-sub { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.45; }

.btn-google { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; color: #1f1f1f; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: box-shadow var(--dur), transform 0.12s, background var(--dur); }
.btn-google:hover { background: #f5f0e6; box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12); }
.btn-google:active { transform: scale(0.985); }
.google-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 4px 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.google-note .i { width: 15px; height: 15px; color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.code-input { text-align: center; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; font-family: var(--font-mono); font-size: 18px; min-height: 56px; border-radius: var(--r); }
.code-input::placeholder { letter-spacing: 0.1em; font-weight: 400; }
#loginBtn, #claimBtn, #verifyBtn { min-height: 54px; font-size: 15.5px; }
#errorMsg, #claimErrorMsg, #verifyErr { margin-top: 14px; }
.remember-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.remember-note .i { color: var(--gold); width: 15px; height: 15px; flex-shrink: 0; }

.claim-user, .verify-head { display: flex; gap: 14px; padding: 14px; margin-bottom: 20px; border-radius: var(--r-lg); background: var(--gold-softer); box-shadow: inset 0 0 0 1px var(--gold-line); }
.claim-user { align-items: center; }
.verify-head { align-items: flex-start; }
.claim-avatar, .verify-ico { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #16110a; background: var(--gold-grad); }
.claim-name { font-weight: 700; font-size: 16px; }
.claim-note { font-size: 13px; color: var(--muted); margin-top: 2px; }
.verify-head p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.verify-head b { color: var(--gold-light); font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.otp-input { text-align: center; font-family: var(--font-mono); font-size: 28px; font-weight: 700; letter-spacing: 0.5em; padding-left: 0.5em; min-height: 62px; border-radius: var(--r); }
.otp-input::placeholder { letter-spacing: 0.2em; font-size: 18px; }
.resend-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.link-btn { min-height: 44px; padding: 0 8px; color: var(--gold-light); font-weight: 700; font-size: 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.link-btn:hover:not(:disabled) { background: var(--gold-softer); }
.link-btn:disabled { color: var(--dim); cursor: default; }
.verify-hint { text-align: center; font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0 14px 0 10px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; border-radius: 999px; }
.back-link:hover { color: var(--gold-light); background: var(--gold-softer); }
button.back-link { background: none; }

.help { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; line-height: 1.7; }
.help a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid transparent; }
.help a:hover { border-bottom-color: var(--gold-light); }
.fine { font-size: 12px; color: var(--dim); margin-top: 8px; }
.auth-panel .legal-links { margin-top: 0; }

/* ═══ mobile: photo band on top, card overlapping it ═══ */
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-brand { min-height: clamp(150px, 28vh, 250px); padding: calc(20px + var(--safe-t)) 20px 66px; align-items: flex-end; }
  .wall { opacity: 0.55; gap: 10px; inset: -30px -10px; }
  .wall-col img { border-radius: 12px; margin-bottom: 10px; }
  .wall-fade { background: linear-gradient(180deg, rgba(11, 10, 9, 0.5) 0%, rgba(11, 10, 9, 0.35) 40%, #0b0a09 100%); }
  .brand-top { margin-bottom: 0; }
  .brand-logo { width: 54px; height: 54px; }
  .brand-eyebrow, .brand-title, .brand-copy, .brand-points { display: none; }
  .auth-panel { justify-content: flex-start; margin-top: -56px; padding: 0 14px calc(24px + var(--safe-b)); background: none; }
  .auth-panel::before { display: none; }
  .card { padding: 28px 22px 22px; }
  .card-title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .wall-col { animation: none; } }
