/* ============================================================================
   LOGIN PAGE — "AURORA GLASS · CLASSIC"
   Transparent / animated / classic serif / fully responsive
   ========================================================================= */

:root {
  --lp-ink: #05070d;
  --lp-ink2: #0a1020;
  --lp-green: #28a745;
  --lp-green2: #3ddc84;
  --lp-mint: #86f5c6;
  --lp-gold: #e9d198;
  --lp-gold2: #c8a76a;
  --lp-text: #eef3fa;
  --lp-muted: #9aa8bd;
  --lp-line: rgba(255, 255, 255, 0.1);
  --lp-glass: rgba(255, 255, 255, 0.055);
  --lp-radius: 26px;
  --lp-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --lp-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html,
body.lp-page {
  height: 100%;
  margin: 0;
  padding: 0;
}

body.lp-page {
  font-family: var(--lp-sans);
  background: var(--lp-ink);
  color: var(--lp-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.lp-page * { box-sizing: border-box; }

/* ---------------------------------------------------------------- BACKDROP */
.lp-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 0%, #0d1526 0%, transparent 60%),
    radial-gradient(100% 80% at 100% 100%, #07161a 0%, transparent 55%),
    linear-gradient(160deg, #060911 0%, #05070d 45%, #04060b 100%);
}

/* aurora blobs */
.lp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
  mix-blend-mode: screen;
}
.lp-orb-1 {
  width: 46vw; height: 46vw; min-width: 420px; min-height: 420px;
  left: -8vw; top: -10vw;
  background: radial-gradient(circle at 35% 35%, rgba(40,167,69,.85), rgba(40,167,69,.06) 68%);
  animation: lpDrift1 26s ease-in-out infinite;
}
.lp-orb-2 {
  width: 38vw; height: 38vw; min-width: 360px; min-height: 360px;
  left: 26vw; bottom: -14vw;
  background: radial-gradient(circle at 50% 50%, rgba(14,118,140,.8), rgba(14,118,140,.04) 70%);
  animation: lpDrift2 32s ease-in-out infinite;
}
.lp-orb-3 {
  width: 30vw; height: 30vw; min-width: 300px; min-height: 300px;
  right: -6vw; top: 18vh;
  background: radial-gradient(circle at 50% 50%, rgba(200,167,106,.55), rgba(200,167,106,.03) 70%);
  animation: lpDrift3 38s ease-in-out infinite;
}
.lp-orb-4 {
  width: 24vw; height: 24vw; min-width: 240px; min-height: 240px;
  right: 22vw; bottom: 8vh;
  background: radial-gradient(circle at 50% 50%, rgba(120,80,220,.45), transparent 70%);
  animation: lpDrift1 44s ease-in-out infinite reverse;
}

@keyframes lpDrift1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%     { transform: translate3d(9vw,7vh,0) scale(1.14); }
  66%     { transform: translate3d(-4vw,12vh,0) scale(.94); }
}
@keyframes lpDrift2 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(-11vw,-9vh,0) scale(1.2); }
}
@keyframes lpDrift3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  40%     { transform: translate3d(-7vw,10vh,0) scale(1.18); }
  75%     { transform: translate3d(5vw,-6vh,0) scale(.9); }
}

/* fine grid + vignette + grain */
.lp-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 10%, transparent 78%);
}
.lp-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(130% 100% at 50% 45%, transparent 35%, rgba(0,0,0,.72) 100%);
}
.lp-grain {
  position: absolute; inset: -50%;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: lpGrain 8s steps(6) infinite;
}
@keyframes lpGrain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-6%,4%); }
  40% { transform: translate(4%,-5%); }
  60% { transform: translate(-3%,-3%); }
  80% { transform: translate(5%,5%); }
}
.lp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* cursor spotlight */
.lp-spot {
  position: fixed; width: 560px; height: 560px; left: 0; top: 0;
  margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,220,132,.13), transparent 62%);
  pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .6s ease;
  will-change: transform;
}

/* ----------------------------------------------------------------- SHELL */
.lp-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;   /* keep brand + form close together instead of edge-to-edge */
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
}

/* --------------------------------------------------------------- BACK CTA */
.lp-home {
  position: fixed;
  top: 26px; left: 30px;
  z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1.05rem .6rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--lp-text);
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), background .3s, border-color .3s;
}
.lp-home:hover {
  transform: translateX(-4px);
  background: rgba(255,255,255,.11);
  border-color: rgba(233,209,152,.5);
  color: var(--lp-gold);
}
.lp-home svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------- LEFT PANEL */
.lp-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.6rem clamp(1.75rem, 3vw, 2.75rem) 3rem clamp(2.5rem, 4.5vw, 4.5rem);
  border-right: 1px solid rgba(255,255,255,.07);
}

/* emblem */
.lp-emblem {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  /* light medallion so the logo always reads against the dark page */
  background: linear-gradient(150deg, #ffffff 0%, #f6f1e4 55%, #e6d3a8 100%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow:
    0 18px 44px rgba(0,0,0,.5),
    0 0 0 5px rgba(255,255,255,.07),
    inset 0 1px 0 rgba(255,255,255,.9);
  animation: lpFloat 7s ease-in-out infinite;
}
.lp-emblem img {
  width: 66px; height: 66px;
  object-fit: contain;
  padding: 5px;
}
.lp-emblem::after {
  content: "";
  position: absolute; inset: -9px;
  border-radius: 50%;
  border: 1px dashed rgba(233,209,152,.45);
  animation: lpSpin 26s linear infinite;
}
@keyframes lpSpin { to { transform: rotate(360deg); } }
@keyframes lpFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-11px); }
}

.lp-title {
  font-family: var(--lp-serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .35rem;
  color: #fff;
}
.lp-title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--lp-mint) 0%, var(--lp-green2) 42%, var(--lp-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* site name sits under the headline in a smaller classic serif */
.lp-brandname {
  margin: .15rem 0 1.3rem;
  font-family: var(--lp-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  letter-spacing: .01em;
  background: linear-gradient(100deg, var(--lp-mint) 0%, var(--lp-green2) 40%, var(--lp-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* rotating word */
.lp-rotor {
  display: block;
  height: 1.18em;
  overflow: hidden;
  position: relative;
}
.lp-rotor-track { display: block; transition: transform .85s cubic-bezier(.7,0,.2,1); }
.lp-rotor-track span {
  display: block; height: 1.18em;
  font-family: var(--lp-serif); font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--lp-mint), var(--lp-green2) 45%, var(--lp-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* feature list */
.lp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.lp-points li {
  display: flex; align-items: flex-start; gap: .95rem;
  font-size: .93rem; color: #cbd5e4; line-height: 1.55;
}
.lp-ico {
  flex: none;
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(40,167,69,.3), rgba(40,167,69,.07));
  border: 1px solid rgba(61,220,132,.32);
  color: var(--lp-mint);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.lp-ico svg { width: 16px; height: 16px; }
.lp-points b { display: block; color: #fff; font-weight: 600; font-size: .93rem; margin-bottom: .1rem; }
.lp-points small { color: var(--lp-muted); font-size: .82rem; }

/* ------------------------------------------------------------- RIGHT PANEL */
.lp-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.4rem clamp(1.5rem, 3vw, 3.5rem) 3rem;
}

.lp-card {
  position: relative;
  width: 100%;
  max-width: 466px;
  padding: clamp(1.9rem, 2.6vw, 2.6rem);
  border-radius: var(--lp-radius);
  background: linear-gradient(158deg, rgba(255,255,255,.085), rgba(255,255,255,.028) 55%, rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  box-shadow:
    0 40px 90px rgba(0,0,0,.55),
    0 2px 0 rgba(255,255,255,.16) inset,
    0 -1px 0 rgba(255,255,255,.05) inset;
  overflow: hidden;
}
/* glossy top highlight */
.lp-card::before {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
}
/* soft animated gold sheen (blurred so no hard edge) */
.lp-card::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -150px; top: -170px;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(233,209,152,.55) 88%, transparent 100%);
  filter: blur(46px);
  animation: lpSpin 16s linear infinite;
  opacity: .7;
  pointer-events: none;
}

.lp-card-head { text-align: center; margin-bottom: 1.7rem; position: relative; z-index: 1; }
.lp-card-head h2 {
  font-family: var(--lp-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  margin: 0 0 .4rem;
  color: #fff;
  letter-spacing: -.01em;
}
.lp-card-head p {
  margin: 0;
  font-size: .87rem;
  color: var(--lp-muted);
  letter-spacing: .01em;
}

/* --------------------------------------------------------------- TABS */
.lp-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.09);
  margin-bottom: 1.6rem;
  z-index: 1;
}
.lp-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--lp-muted);
  font-family: var(--lp-sans);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .72rem .5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color .3s;
}
.lp-tab[aria-selected="true"] { color: #04140b; }
.lp-tab-ind {
  position: absolute;
  top: 5px; left: 5px;
  height: calc(100% - 10px);
  width: calc(50% - 7px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lp-green2), var(--lp-mint));
  box-shadow: 0 8px 22px rgba(40,167,69,.42);
  transition: transform .5s cubic-bezier(.65,0,.25,1);
}
.lp-tabs[data-active="register"] .lp-tab-ind { transform: translateX(calc(100% + 4px)); }

.lp-panel { display: none; }
.lp-panel.is-active { display: block; animation: lpPanelIn .55s cubic-bezier(.2,.8,.3,1) both; }
@keyframes lpPanelIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------------------------------------------------------------- ALERTS */
.lp-alert {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .9rem 1rem;
  border-radius: 15px;
  font-size: .86rem;
  line-height: 1.55;
  margin-bottom: 1.3rem;
  border: 1px solid;
  animation: lpShake .55s cubic-bezier(.36,.07,.19,.97) both;
  position: relative; z-index: 1;
}
.lp-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.lp-alert ul { margin: .35rem 0 0; padding-left: 1.05rem; }
.lp-alert li + li { margin-top: .2rem; }
.lp-alert--err {
  background: linear-gradient(135deg, rgba(255,72,100,.20), rgba(255,72,100,.07));
  border-color: rgba(255,110,130,.42);
  color: #ffd9df;
}
.lp-alert--ok {
  background: linear-gradient(135deg, rgba(61,220,132,.20), rgba(61,220,132,.06));
  border-color: rgba(61,220,132,.45);
  color: #d6ffe9;
}
@keyframes lpShake {
  10%,90% { transform: translateX(-2px); }
  20%,80% { transform: translateX(4px); }
  30%,50%,70% { transform: translateX(-7px); }
  40%,60% { transform: translateX(7px); }
  100%     { transform: none; }
}

/* ----------------------------------------------------------------- FIELD */
.lp-form { display: grid; gap: 1.05rem; position: relative; z-index: 1; }

.lp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-field { position: relative; }
.lp-field .lp-lead {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--lp-muted);
  display: grid; place-items: center;
  pointer-events: none;
  transition: color .3s;
  z-index: 2;
}
.lp-field .lp-lead svg { width: 17px; height: 17px; }

.lp-field input {
  width: 100%;
  height: 62px;
  padding: 24px 48px 8px 47px;
  color: var(--lp-text);
  font-family: var(--lp-sans);
  font-size: .97rem;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .4s;
  -webkit-appearance: none;
  appearance: none;
}
.lp-field input::placeholder { color: transparent; }
.lp-field input:hover { background: rgba(255,255,255,.075); }
.lp-field input:focus {
  border-color: rgba(61,220,132,.65);
  background: rgba(61,220,132,.07);
  box-shadow: 0 0 0 4px rgba(40,167,69,.16), 0 10px 30px rgba(0,0,0,.3);
}
.lp-field input:focus ~ .lp-lead { color: var(--lp-mint); }

.lp-field label {
  position: absolute;
  left: 47px; top: 50%;
  transform: translateY(-50%);
  color: var(--lp-muted);
  font-size: .95rem;
  pointer-events: none;
  transition: all .28s cubic-bezier(.3,.8,.3,1);
  z-index: 2;
}
.lp-field input:focus + label,
.lp-field input:not(:placeholder-shown) + label {
  top: 15px;
  transform: none;
  font-size: .63rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lp-mint);
  font-weight: 600;
}

/* password reveal */
.lp-eye {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 11px;
  background: transparent;
  color: var(--lp-muted);
  cursor: pointer;
  transition: color .25s, background .25s;
  z-index: 3;
}
.lp-eye:hover { color: var(--lp-mint); background: rgba(255,255,255,.09); }
.lp-eye svg { width: 18px; height: 18px; }

/* remember checkbox */
.lp-check {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: var(--lp-muted);
  cursor: pointer; user-select: none;
}
.lp-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.lp-box {
  width: 19px; height: 19px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: all .28s cubic-bezier(.3,.8,.3,1);
}
.lp-box svg {
  width: 12px; height: 12px; color: #04140b;
  transform: scale(0); transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
.lp-check input:checked + .lp-box {
  background: linear-gradient(135deg, var(--lp-green2), var(--lp-mint));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(40,167,69,.45);
}
.lp-check input:checked + .lp-box svg { transform: scale(1); }
.lp-check input:focus-visible + .lp-box { outline: 2px solid var(--lp-mint); outline-offset: 2px; }
.lp-check:hover .lp-box { border-color: rgba(61,220,132,.6); }

.lp-link {
  color: var(--lp-gold);
  font-size: .83rem;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
.lp-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s cubic-bezier(.65,0,.35,1);
}
.lp-link:hover { color: var(--lp-mint); }
.lp-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------------- BUTTONS */
.lp-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 58px;
  margin-top: .35rem;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-family: var(--lp-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #04140b;
  background: linear-gradient(135deg, var(--lp-green2) 0%, var(--lp-mint) 55%, var(--lp-gold) 140%);
  box-shadow: 0 16px 38px rgba(40,167,69,.4), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, filter .3s;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
}
.lp-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(40,167,69,.55), inset 0 1px 0 rgba(255,255,255,.6);
}
.lp-submit:active { transform: translateY(-1px) scale(.995); }
.lp-submit:disabled { opacity: .78; cursor: progress; transform: none; }
/* shine sweep */
.lp-submit::before {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 46%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-18deg);
  animation: lpSweep 3.6s ease-in-out infinite;
}
@keyframes lpSweep {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
.lp-submit .lbl { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .55rem; }
.lp-submit svg { width: 17px; height: 17px; }

.lp-spin {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(4,20,11,.3);
  border-top-color: #04140b;
  border-radius: 50%;
  animation: lpRotate .7s linear infinite;
  position: relative; z-index: 1;
}
@keyframes lpRotate { to { transform: rotate(360deg); } }
.lp-submit.is-loading .lbl svg { display: none; }
.lp-submit.is-loading .lp-spin { display: block; }

/* ripple */
.lp-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: scale(0);
  animation: lpRipple .65s ease-out forwards;
  pointer-events: none;
}
@keyframes lpRipple { to { transform: scale(3.4); opacity: 0; } }

/* divider */
.lp-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0 1.2rem;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.lp-divider::before, .lp-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
}

.lp-google {
  position: relative;
  width: 100%;
  height: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--lp-text);
  font-family: var(--lp-sans);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s;
}
.lp-google:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}
.lp-google img { width: 18px; height: 18px; }
.lp-google svg { width: 18px; height: 18px; }

.lp-help {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 13px;
  font-size: .8rem;
  line-height: 1.6;
  color: #ffe6b8;
  background: rgba(233,209,152,.1);
  border: 1px solid rgba(233,209,152,.34);
}
.lp-help.is-shown { display: block; animation: lpPanelIn .4s both; }

.lp-terms {
  margin: 1.4rem 0 0;
  text-align: center;
  font-size: .75rem;
  line-height: 1.65;
  color: var(--lp-muted);
  position: relative; z-index: 1;
}

/* --------------------------------------------------------------- FOOTER */
.lp-foot {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  /* full-bleed across the viewport even though the shell is centred */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem clamp(1.5rem, 4vw, 3.2rem);
  font-size: .76rem;
  color: var(--lp-muted);
  letter-spacing: .04em;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lp-foot .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lp-green2); margin-right: .5rem;
  box-shadow: 0 0 0 0 rgba(61,220,132,.7);
  animation: lpPulse 2.4s ease-out infinite;
}
@keyframes lpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(61,220,132,.65); }
  70%  { box-shadow: 0 0 0 9px rgba(61,220,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); }
}
.lp-foot a { color: var(--lp-gold); text-decoration: none; transition: color .3s; }
.lp-foot a:hover { color: var(--lp-mint); }

/* --------------------------------------------------------------- REVEAL */
.lp-reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: lpReveal .9s cubic-bezier(.2,.8,.3,1) forwards;
}
@keyframes lpReveal { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 1100px) {
  .lp-points small { display: none; }
  .lp-brand { padding-top: 6rem; }
}

@media (max-width: 900px) {
  .lp-shell { grid-template-columns: 1fr; }
  .lp-brand {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 5.6rem 1.6rem 2rem;
    text-align: center;
    justify-content: flex-start;
  }
  .lp-emblem { margin: 0 auto; width: 76px; height: 76px; }
  .lp-emblem img { width: 50px; height: 50px; }
  .lp-points { display: none; }
  /* mobile: logo only — no welcome headline, rotating words or brand name */
  .lp-title, .lp-brandname { display: none; }
  .lp-side { padding: 2.2rem 1.2rem 3rem; }
  .lp-home { top: 16px; left: 16px; }
  .lp-foot { justify-content: center; text-align: center; gap: .5rem; flex-direction: column; width: 100%; margin-left: 0; }
}

@media (max-width: 520px) {
  .lp-card { padding: 1.6rem 1.2rem 1.7rem; border-radius: 22px; }
  .lp-card-head h2 { font-size: 1.6rem; }
  .lp-field input { height: 58px; }
  .lp-terms { font-size: .72rem; }
  .lp-home span { display: none; }
  .lp-home { padding: .6rem .7rem; }
}

/* ------------------------------------------------------- REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .lp-reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════ LANGUAGE SWITCHER (login page) ═══════════════════════ */
.lp-lang {
    position: fixed;
    top: .8rem;
    right: .8rem;
    z-index: 90;
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(6px);
}
.lp-lang a {
    padding: .4rem .7rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.lp-lang a:hover { color: #fff; background: rgba(255,255,255,.14); }
.lp-lang a.lp-lang-active { color: #fff; background: rgba(255,255,255,.22); }
.lp-lang a + a { border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 480px) {
    .lp-lang a { padding: .35rem .55rem; font-size: .65rem; }
}
