/* ============================================================
   Cupra Gang — Member Login (v2)
   Same visual language as the public pages: bronze on black,
   glass cards with a lit top edge, glowing icon tiles.
   Loads after base.css + components.css.
   ============================================================ */

body.lg { background: var(--black); min-height: 100svh; overflow-x: hidden; }
html[lang="ar"] {
  --font-display: 'Cairo', 'Bebas Neue', sans-serif;
  --font-heading: 'Cairo', 'Rajdhani', sans-serif;
  --font-body:    'Cairo', 'Exo 2', sans-serif;
}
[dir="rtl"] .lg *, [dir="rtl"] .lg *::before, [dir="rtl"] .lg *::after { letter-spacing: 0 !important; }
.lg [hidden] { display: none !important; }
:where(.lg) button { font: inherit; color: inherit; }

.lg-skip {
  position: fixed; top: -60px; inset-inline-start: 1rem; z-index: 200;
  background: var(--bronze); color: #111; padding: .6rem 1rem; border-radius: 8px;
  font-family: var(--font-heading); font-weight: 700; transition: top .2s;
}
.lg-skip:focus { top: .75rem; }

.lg-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

/* ============================================================
   SHOWCASE
   ============================================================ */
.lg-show { position: relative; isolation: isolate; overflow: hidden; background: #0b0b0d; }
.lg-show-bg {
  position: absolute; inset: -4%; z-index: -3;
  background: url('drive.webp') center 40% / cover no-repeat;
  filter: brightness(.62) saturate(1.05) contrast(1.05);
  animation: lgDrift 26s ease-in-out infinite alternate;
}
@keyframes lgDrift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.lg-show-fade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,10,11,.78) 0%, rgba(10,10,11,.28) 30%, rgba(10,10,11,.55) 62%, rgba(10,10,11,.96) 100%),
    linear-gradient(90deg, rgba(10,10,11,.55), transparent 55%),
    radial-gradient(60% 45% at 14% 20%, rgba(184,115,51,.28), transparent 70%),
    radial-gradient(50% 40% at 90% 88%, rgba(150,80,30,.25), transparent 70%);
}
.lg-show::after { /* edge hairline toward the form */
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 1px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(255,190,120,.35) 30%, rgba(255,190,120,.35) 70%, transparent);
}
.lg-show-inner {
  position: relative; z-index: 2; height: 100%; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1.5rem, 4vw, 3.4rem) clamp(1.4rem, 2.4vw, 2.2rem);
}

.lg-brand { display: inline-flex; align-items: center; gap: 1rem; align-self: flex-start; }
.lg-brand img { height: 56px; width: auto; filter: brightness(1.12) drop-shadow(0 2px 10px rgba(0,0,0,.5)); transition: filter .5s; }
.lg-brand:hover img { filter: brightness(1.3) drop-shadow(0 0 14px rgba(184,115,51,.5)); }
.lg-brand-tag {
  font-family: var(--font-heading); font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--bronze-light); padding: .35rem .8rem; border: 1px solid rgba(255,190,120,.3); border-radius: 99px;
  background: rgba(184,115,51,.1); backdrop-filter: blur(8px);
}
.lg-brand-tag b { font-weight: 600; }

.lg-eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-heading); font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze);
}
.lg-eyebrow i { width: 34px; height: 1px; background: var(--bronze); display: block; flex: none; }

.lg-hero { max-width: 36rem; }
.lg-display {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 5.6vw, 6rem); line-height: .94; letter-spacing: .02em;
  margin: 1rem 0 1.2rem; color: var(--white); text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.lg-display span, .lg-display em { display: block; }
.lg-display em {
  font-style: normal;
  background: linear-gradient(95deg, #b87333 10%, #f3c791 60%, #ffe3c2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 22px rgba(184,115,51,.35));
}
[dir="rtl"] .lg-display { line-height: 1.2; font-weight: 800; font-size: clamp(2.8rem, 5vw, 5rem); }
.lg-lead { color: var(--white-dim); font-size: 1.02rem; line-height: 1.8; max-width: 31rem; font-weight: 300; }

.lg-perks { display: grid; gap: .7rem; margin-top: 1.7rem; max-width: 31rem; }
.lg-perks li {
  display: flex; align-items: center; gap: .95rem; padding: .8rem 1rem; border-radius: 14px; position: relative;
  border: 1px solid rgba(255,255,255,.12); border-top-color: rgba(255,255,255,.28);
  background: linear-gradient(155deg, rgba(255,255,255,.11), rgba(255,255,255,.03) 40%, rgba(184,115,51,.07));
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 30px -16px rgba(0,0,0,.9);
  transition: transform .4s var(--ease-sharp), border-color .4s, box-shadow .4s;
}
.lg-perks li:hover { transform: translateX(4px); border-color: rgba(255,190,120,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 18px 36px -16px rgba(0,0,0,.95), 0 0 40px -14px rgba(184,115,51,.7); }
[dir="rtl"] .lg-perks li:hover { transform: translateX(-4px); }
.lg-ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; color: var(--bronze-light);
  border: 1px solid rgba(255,210,160,.36);
  background: linear-gradient(145deg, rgba(255,190,120,.3), rgba(184,115,51,.07) 60%, rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px -6px rgba(0,0,0,.8), 0 0 22px -4px rgba(184,115,51,.6);
}
.lg-ico svg { width: 24px; height: 24px; filter: drop-shadow(0 0 5px rgba(255,160,80,.5)); }
.lg-perks strong { display: block; font-family: var(--font-heading); font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); line-height: 1.2; }
.lg-perks small { display: block; color: var(--white-dim); font-size: .82rem; margin-top: .15rem; }
[dir="rtl"] .lg-perks strong { text-transform: none; font-size: 1rem; }

/* ---------- Partner network ---------- */
.lg-net { display: grid; gap: .9rem; }
.lg-net-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lg-net-title { font-family: var(--font-heading); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--white-dim); font-weight: 600; }
.lg-net-title b { color: var(--white); font-weight: 700; }
.lg-net-title i { color: var(--bronze-light); font-style: normal; margin-inline: .25rem; }
.lg-live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-heading); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-light); font-weight: 600; }
.lg-live i { width: 7px; height: 7px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 0 rgba(95,211,141,.6); animation: lgPing 2.2s ease-out infinite; }
@keyframes lgPing { 70%, 100% { box-shadow: 0 0 0 9px rgba(95,211,141,0); } }

.lg-marq {
  overflow: hidden; border-radius: 14px; padding: .55rem 0;
  border: 1px solid rgba(255,255,255,.1); background: rgba(10,10,11,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.lg-marq-track { display: flex; gap: .7rem; width: max-content; animation: lgMarq 46s linear infinite; padding-inline: .35rem; }
.lg-marq:hover .lg-marq-track, .lg-marq:focus-within .lg-marq-track { animation-play-state: paused; }
@keyframes lgMarq { to { transform: translateX(-50%); } }
.lg-pc {
  position: relative; flex: none; width: 168px; height: 92px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: #000;
  display: grid; place-items: center; transition: border-color .35s, transform .35s var(--ease-sharp), box-shadow .35s;
}
.lg-pc:hover { border-color: rgba(255,190,120,.6); transform: translateY(-3px); box-shadow: 0 0 30px -10px rgba(184,115,51,.8); }
.lg-pc img { width: 100%; height: 100%; object-fit: cover; }
.lg-pc-txt { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .1em; color: var(--white); text-align: center; line-height: 1; padding: 0 .5rem; }
.lg-pc-txt small { display: block; margin-top: .25rem; font-family: var(--font-heading); font-size: .56rem; letter-spacing: .24em; color: var(--bronze-light); }
.lg-pc-off {
  position: absolute; bottom: 5px; inset-inline-end: 5px;
  font-family: var(--font-heading); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: #ffe3c2; background: rgba(60,32,10,.86); border: 1px solid var(--bronze-dark); border-radius: 99px; padding: .1rem .55rem;
}
[dir="rtl"] .lg-pc-off { text-transform: none; }

.lg-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.lg-stats div { text-align: center; position: relative; }
.lg-stats div + div::before { content: ""; position: absolute; inset-block: 12% 12%; inset-inline-start: 0; width: 1px; background: rgba(255,255,255,.1); }
.lg-stats b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.5vw, 2.3rem); color: var(--white); line-height: 1; }
[dir="rtl"] .lg-stats b { font-weight: 700; }
.lg-stats span { display: block; margin-top: .35rem; font-family: var(--font-heading); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-light); }

/* ============================================================
   PANEL
   ============================================================ */
.lg-panel {
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh;
  background:
    radial-gradient(60% 40% at 85% 8%, rgba(184,115,51,.17), transparent 70%),
    radial-gradient(55% 45% at 10% 95%, rgba(150,80,30,.14), transparent 70%),
    var(--black);
}
.lg-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem clamp(1.1rem, 3.2vw, 2.4rem) 0; }
.lg-mini-brand { display: none; }
.lg-mini-brand img { height: 46px; width: auto; filter: brightness(1.12) drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.lg-bar-actions { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }
.lg-back {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 99px;
  font-family: var(--font-heading); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--white-dim);
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); transition: color .25s, border-color .25s, background .25s;
}
[dir="rtl"] .lg-back { text-transform: none; font-size: .88rem; }
.lg-back:hover { color: var(--white); border-color: rgba(255,190,120,.5); background: var(--bronze-glow); }
.lg-arr { display: inline-block; transition: transform .3s var(--ease-sharp); }
.lg-back:hover .lg-arr { transform: translateX(-3px); }
[dir="rtl"] .lg-arr { transform: scaleX(-1); }
[dir="rtl"] .lg-back:hover .lg-arr { transform: scaleX(-1) translateX(-3px); }
.lg-lang {
  display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 .9rem 0 .55rem; border-radius: 99px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: var(--white-dim);
  transition: border-color .3s, color .3s, background .3s, box-shadow .4s;
}
.lg-lang .globe { width: 26px; height: 26px; display: block; overflow: visible; }
.lg-lang-txt { font-family: 'Cairo', var(--font-heading), sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: 0; }
.lg-lang:hover { border-color: var(--bronze); color: var(--bronze-light); background: var(--bronze-glow); box-shadow: 0 0 0 4px rgba(184,115,51,.08), 0 0 20px -4px rgba(184,115,51,.6); }
.lg-lang:hover { --gt: 3.2s; --go: 2.6s; }
.lg-lang.spin { --gt: .7s; --go: .7s; }
.lg-lang.spin .globe { animation: glPop .7s cubic-bezier(.22,1,.36,1); }
.lg a:focus-visible, .lg button:focus-visible, .lg-check input:focus-visible + .lg-box { outline: 2px solid var(--bronze-light); outline-offset: 3px; }

.lg-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.6rem clamp(1.1rem, 3vw, 2rem); }

/* ---------- Card ---------- */
.lg-card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; width: 100%; max-width: 470px; outline: none;
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.13); border-top-color: rgba(255,255,255,.3);
  background: linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.025) 38%, rgba(184,115,51,.06) 100%), rgba(17,17,20,.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -16px 28px -20px rgba(0,0,0,.7), 0 30px 70px -24px rgba(0,0,0,.95), 0 0 70px -30px rgba(184,115,51,.7);
  animation: lgIn .8s var(--ease-sharp) both;
}
@keyframes lgIn { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
.lg-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,190,120,.16), transparent 60%); transition: opacity .4s; }

.lg-view { animation: lgView .45s var(--ease-sharp) both; }
@keyframes lgView { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.lg-head { margin-bottom: 1.4rem; }
.lg-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: .96; letter-spacing: .03em; margin: .8rem 0 .7rem; color: var(--white);
}
.lg-title em { font-style: normal; background: linear-gradient(95deg, #b87333 10%, #f3c791 70%, #ffe3c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-title-sm { font-size: clamp(2rem, 5vw, 2.6rem); margin-top: .4rem; }
[dir="rtl"] .lg-title { line-height: 1.3; font-weight: 800; font-size: clamp(2.2rem, 6vw, 3rem); }
.lg-sub { color: var(--white-dim); font-size: .94rem; line-height: 1.7; font-weight: 300; }
.lg-hint { color: var(--white-dim); font-size: .86rem; line-height: 1.7; font-weight: 300; margin-bottom: 1rem; }

/* ---------- Alerts ---------- */
.lg-alert {
  display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.1rem; padding: .85rem 1rem; border-radius: 10px; font-size: .86rem; line-height: 1.55;
  border: 1px solid rgba(235,90,90,.35); background: rgba(235,90,90,.09); color: #ffb4b4;
}
.lg-alert::before { content: "!"; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 700 .78rem/1 var(--font-heading); background: rgba(235,90,90,.25); color: #ffd1d1; }
.lg-alert.is-info { border-color: rgba(255,190,120,.35); background: rgba(184,115,51,.12); color: #ffe0bd; }
.lg-alert.is-info::before { content: "i"; background: rgba(184,115,51,.35); color: #ffe3c2; }
.lg-alert.is-ok { border-color: rgba(95,211,141,.35); background: rgba(95,211,141,.1); color: #b9f0cf; }
.lg-alert.is-ok::before { content: "✓"; background: rgba(95,211,141,.25); color: #d7ffe6; }
.lg-alert:not([hidden]) { animation: lgShake .5s cubic-bezier(.36,.07,.19,.97) both; }
.lg-alert.is-info:not([hidden]), .lg-alert.is-ok:not([hidden]) { animation: lgView .4s both; }
@keyframes lgShake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-4px); } 40%, 60% { transform: translateX(4px); } }

/* ---------- Tabs ---------- */
.lg-tabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 1.3rem; border-radius: 12px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.09);
}
.lg-tab-ind {
  position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px); border-radius: 9px; z-index: 0;
  background: linear-gradient(145deg, rgba(255,190,120,.26), rgba(184,115,51,.1)); border: 1px solid rgba(255,210,160,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 22px -6px rgba(184,115,51,.7); transition: transform .45s var(--ease-sharp);
}
.lg-tabs[data-active="link"] .lg-tab-ind { transform: translateX(100%); }
[dir="rtl"] .lg-tabs[data-active="link"] .lg-tab-ind { transform: translateX(-100%); }
.lg-tab {
  position: relative; z-index: 1; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; padding: .7rem .5rem; cursor: pointer;
  font-family: var(--font-heading); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white-dim); transition: color .3s;
}
[dir="rtl"] .lg-tab { text-transform: none; font-size: .92rem; }
.lg-tab svg { width: 17px; height: 17px; }
.lg-tab.is-on { color: #fff; }
.lg-tab:not(.is-on):hover { color: var(--white); }

/* ---------- Form ---------- */
.lg-form { display: grid; gap: 1.1rem; }
.lg-field label, .lg-label-row label {
  display: block; margin-bottom: .5rem; font-family: var(--font-heading); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--white-dim);
}
[dir="rtl"] .lg-field label, [dir="rtl"] .lg-label-row label { text-transform: none; font-size: .88rem; }
.lg-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.lg-label-row label { margin-bottom: .5rem; }
.lg-link { background: none; border: 0; cursor: pointer; padding: 0; margin: 0; font-family: var(--font-heading); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--bronze-light); transition: color .2s; }
[dir="rtl"] .lg-link { text-transform: none; font-size: .84rem; }
.lg-link:hover { color: #ffe0bd; text-decoration: underline; text-underline-offset: 3px; }

.lg-input-wrap { position: relative; }
.lg-in-ico { position: absolute; left: 1rem; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--white-faint); pointer-events: none; transition: color .25s; }
.lg-input {
  width: 100%; height: 54px; padding: 0 1rem 0 2.9rem; direction: ltr; text-align: left;
  font-family: var(--font-body); font-size: 16px; color: var(--white); letter-spacing: .01em;
  background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.lg-input-pw { padding-right: 3.2rem; }
.lg-input::placeholder { color: rgba(240,236,228,.28); }
.lg-input:hover { border-color: rgba(255,255,255,.24); }
.lg-input:focus { border-color: var(--bronze); background: rgba(0,0,0,.5); box-shadow: 0 0 0 4px rgba(184,115,51,.18), 0 0 30px -10px rgba(184,115,51,.7); }
.lg-input:focus ~ .lg-in-ico, .lg-input-wrap:focus-within .lg-in-ico { color: var(--bronze-light); }
.lg-input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 40px #17171a inset; caret-color: var(--white); border-color: rgba(255,190,120,.4); }
.lg-field.has-err .lg-input { border-color: rgba(235,90,90,.7); box-shadow: 0 0 0 3px rgba(235,90,90,.14); }
.lg-err { display: block; min-height: 0; margin-top: .4rem; color: #ff9d9d; font-size: .78rem; line-height: 1.4; }
.lg-err:empty { display: none; }
.lg-caps { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; color: #ffd08a; font-size: .78rem; }
.lg-caps svg { width: 15px; height: 15px; }

.lg-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; cursor: pointer; color: var(--white-faint); transition: color .2s, background .2s; }
.lg-eye:hover { color: var(--bronze-light); background: rgba(255,255,255,.05); }
.lg-eye svg { width: 20px; height: 20px; }
.lg-eye .e-off { display: none; }
.lg-eye[aria-pressed="true"] .e-off { display: block; }
.lg-eye[aria-pressed="true"] .e-on { display: none; }
.lg-eye[aria-pressed="true"] { color: var(--bronze-light); }

/* ---------- Checkbox ---------- */
.lg-check { display: flex; align-items: center; gap: .7rem; cursor: pointer; user-select: none; font-size: .85rem; color: var(--white-dim); width: fit-content; }
.lg-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lg-box { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.38); color: transparent; transition: all .25s var(--ease-bounce); }
.lg-box svg { width: 13px; height: 13px; transform: scale(.4); transition: transform .25s var(--ease-bounce); }
.lg-check:hover .lg-box { border-color: var(--bronze); }
.lg-check input:checked + .lg-box { background: linear-gradient(145deg, var(--bronze-light), var(--bronze-dark)); border-color: var(--bronze-light); color: #1b1006; box-shadow: 0 0 16px -2px rgba(184,115,51,.8); }
.lg-check input:checked + .lg-box svg { transform: scale(1); }

/* ---------- Button ---------- */
.lg-btn {
  position: relative; overflow: hidden; width: 100%; min-height: 56px; margin-top: .25rem; padding: 0 1.2rem; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: var(--font-heading); font-size: .86rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #160d04;
  background: linear-gradient(135deg, #d4924a 0%, #b87333 55%, #9a5f27 100%); border: 1px solid rgba(255,220,180,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 30px -10px rgba(184,115,51,.75);
  transition: transform .3s var(--ease-sharp), box-shadow .3s, filter .3s, opacity .3s;
}
[dir="rtl"] .lg-btn { text-transform: none; font-size: 1rem; }
.lg-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-sharp); }
.lg-btn:hover:not(:disabled)::before { transform: translateX(120%); }
.lg-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 18px 38px -10px rgba(184,115,51,.95); }
.lg-btn:active:not(:disabled) { transform: translateY(0); }
.lg-btn:disabled { cursor: not-allowed; opacity: .55; }
.lg-btn-t { position: relative; }
.lg-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(22,13,4,.3); border-top-color: #160d04; animation: lgSpin .7s linear infinite; }
.lg-btn.is-loading { pointer-events: none; }
.lg-btn.is-loading .lg-spin { display: block; }
.lg-btn.is-ok { background: linear-gradient(135deg, #5fd38d, #2f9d5f); border-color: rgba(190,255,215,.4); box-shadow: 0 12px 30px -10px rgba(60,200,120,.6); }
@keyframes lgSpin { to { transform: rotate(360deg); } }
.lg-btn-ghost { color: var(--white); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); box-shadow: none; margin-top: 1.4rem; }
.lg-btn-ghost:hover:not(:disabled) { border-color: var(--bronze); background: var(--bronze-glow); box-shadow: none; }

/* ---------- Divider + apply ---------- */
.lg-or { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0 1rem; color: var(--white-faint); font-family: var(--font-heading); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
[dir="rtl"] .lg-or { text-transform: none; font-size: .82rem; }
.lg-or::before, .lg-or::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14)); }
.lg-or::after { background: linear-gradient(270deg, transparent, rgba(255,255,255,.14)); }
.lg-apply {
  display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 50px; border-radius: 12px;
  font-family: var(--font-heading); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-light);
  border: 1px solid rgba(184,115,51,.55); background: rgba(184,115,51,.06); transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
[dir="rtl"] .lg-apply { text-transform: none; font-size: .95rem; }
.lg-apply:hover { background: var(--bronze-glow); border-color: var(--bronze-light); color: #ffe0bd; box-shadow: 0 0 30px -10px rgba(184,115,51,.8); }
.lg-apply:hover .lg-arr { transform: translateX(4px); }
[dir="rtl"] .lg-apply:hover .lg-arr { transform: scaleX(-1) translateX(4px); }

/* ---------- Secondary views ---------- */
.lg-backlink { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; cursor: pointer; background: none; border: 0; padding: 0; font-family: var(--font-heading); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--white-dim); transition: color .2s; }
[dir="rtl"] .lg-backlink { text-transform: none; font-size: .88rem; }
.lg-backlink:hover { color: var(--bronze-light); }
.lg-backlink:hover .lg-arr { transform: translateX(-3px); }
[dir="rtl"] .lg-backlink:hover .lg-arr { transform: scaleX(-1) translateX(-3px); }
.lg-center { display: flex; margin: 1.3rem auto 0; }
.lg-done { text-align: center; padding: .6rem 0 .2rem; }
.lg-done-ico { width: 84px; height: 84px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 24px; color: var(--bronze-light); border: 1px solid rgba(255,210,160,.38); background: linear-gradient(145deg, rgba(255,190,120,.3), rgba(184,115,51,.07) 60%, rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 40px -6px rgba(184,115,51,.7); }
.lg-done-ico svg { width: 44px; height: 44px; }
.lg-done-ok { color: #8fe8b3; border-color: rgba(150,240,190,.4); background: linear-gradient(145deg, rgba(95,211,141,.28), rgba(47,157,95,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 40px -6px rgba(60,200,120,.6); }
.lg-done-ok svg { stroke-dasharray: 130; stroke-dashoffset: 130; animation: lgDraw .9s .15s ease forwards; }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }
.lg-done .lg-hint { margin: .8rem 0 0; }

/* ---------- Strength meter ---------- */
.lg-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: .65rem; }
.lg-meter i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); transition: background .3s, box-shadow .3s; }
.lg-meter[data-score="1"] i:nth-child(-n+1) { background: #e5605c; }
.lg-meter[data-score="2"] i:nth-child(-n+2) { background: #e8a04a; }
.lg-meter[data-score="3"] i:nth-child(-n+3) { background: #c9c85a; }
.lg-meter[data-score="4"] i { background: #5fd38d; box-shadow: 0 0 10px -1px rgba(95,211,141,.7); }
.lg-meter-t { display: block; margin-top: .35rem; font-size: .76rem; color: var(--white-dim); min-height: 1.1em; }

/* ---------- Footer bits ---------- */
.lg-secure { display: flex; align-items: center; justify-content: center; gap: .55rem; color: var(--white-faint); font-size: .76rem; text-align: center; }
.lg-secure svg { width: 16px; height: 16px; color: #5fd38d; flex: none; opacity: .9; }
.lg-help { color: var(--white-faint); font-size: .8rem; }
.lg-help a { color: var(--bronze-light); margin-inline-start: .3rem; font-weight: 600; }
.lg-help a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lg-foot { text-align: center; padding: 0 1rem 1.2rem; color: rgba(240,236,228,.2); font-size: .72rem; letter-spacing: .1em; }

.lg-toast {
  position: fixed; left: 50%; bottom: calc(1.4rem + env(safe-area-inset-bottom)); z-index: 300; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 2rem); padding: .8rem 1.2rem; border-radius: 12px; font-size: .86rem; color: var(--white);
  background: rgba(24,24,28,.92); border: 1px solid rgba(255,190,120,.4); box-shadow: 0 20px 50px -10px rgba(0,0,0,.9), 0 0 30px -10px rgba(184,115,51,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: opacity .35s, transform .45s var(--ease-sharp);
}
.lg-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .lg-shell { grid-template-columns: 1fr; }
  .lg-panel { order: 1; min-height: 0; }
  .lg-show { order: 2; }
  .lg-show::after { display: none; }
  .lg-show-inner { min-height: 0; gap: 1.6rem; padding-top: 2.2rem; padding-bottom: 2rem; }
  .lg-show .lg-brand, .lg-show .lg-hero .lg-display, .lg-show .lg-hero .lg-lead, .lg-show .lg-hero .lg-eyebrow { display: none; }
  .lg-show-inner { justify-content: flex-start; }
  .lg-hero { max-width: none; }
  .lg-perks { margin-top: 0; max-width: none; grid-template-columns: repeat(3, 1fr); }
  .lg-perks li { flex-direction: column; align-items: flex-start; gap: .7rem; padding: .9rem; }
  .lg-mini-brand { display: block; }
  .lg-stage { padding-top: 1rem; }
  .lg-panel::before { /* soft cinematic header behind the form on small screens */
    content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,10,11,.35), var(--black) 96%), url('drive.webp') center 35% / cover no-repeat;
    opacity: .55;
  }
}
@media (max-width: 720px) {
  .lg-perks { grid-template-columns: 1fr; }
  .lg-perks li { flex-direction: row; align-items: center; }
  .lg-back span:last-child { display: none; }
  .lg-back { padding: 0; width: 42px; height: 42px; justify-content: center; }
  .lg-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.1rem; }
  .lg-stats div:nth-child(3)::before { display: none; }
  .lg-pc { width: 148px; height: 80px; }
}
@media (max-width: 420px) {
  .lg-card { padding: 1.4rem 1.15rem 1.5rem; border-radius: 18px; }
  .lg-btn { letter-spacing: .14em; font-size: .8rem; }
  .lg-tab { letter-spacing: .08em; font-size: .72rem; }
}
@media (max-height: 960px) and (min-width: 1081px) {
  .lg-perks li { padding: .6rem .9rem; }
  .lg-display { font-size: clamp(2.8rem, 4.6vw, 4.6rem); }
  .lg-lead { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lg *, .lg *::before, .lg *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .lg-marq { overflow-x: auto; }
  .lg-marq-track { animation: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg-card { background: #141417; }
  .lg-perks li, .lg-marq { background-color: #141417; }
}
