/*
 * Login picture (19 Nov 2026): the designer's empty wallet, with its four
 * cards written in HTML so the same picture speaks Arabic and English.
 * Positions are percentages of the square artwork (3000 px source).
 */
.lv-wrap {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: rgb(31, 4, 51);
}

/* The art's edges are one flat colour, so the square is scaled to fill
   the column and only empty margin is cut away. */
.lv-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(118%, 118vh);
  aspect-ratio: 1;
  translate: -50% -50%;
  container-type: inline-size;
}
.lv-stage picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}
.lv-float { position: absolute; inset: 0; animation: lvFloat 9s ease-in-out infinite; }

/* One card's text area: left/top/width/height come inline from the layout. */
.lv-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .25cqw;
  color: #2b0a45;
  font-family: 'Tajawal', 'Public Sans', sans-serif;
  line-height: 1.15;
  direction: inherit;
  text-align: start;
  white-space: nowrap;
  opacity: 0;
  animation: lvIn .7s cubic-bezier(.2, .8, .2, 1) forwards;
}
.lv-card b    { font-size: 2.55cqw; font-weight: 800; letter-spacing: -.01em; }
.lv-card span { font-size: 1.5cqw;  font-weight: 500; color: #6b5585; }
.lv-card.is-main b    { font-size: 3.4cqw; color: #3c1c54; }
.lv-card.is-main span { font-size: 1.55cqw; }
.lv-card .lv-cur { font-size: .5em; font-weight: 700; color: #7a5ea0; margin-inline-start: .35em; }

/* A light sweep across each card, one after another. */
.lv-shine {
  position: absolute;
  overflow: hidden;
  border-radius: 1.4cqw;
  pointer-events: none;
}
.lv-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
  translate: -120% 0;
  animation: lvShine 7s ease-in-out infinite;
  animation-delay: inherit;
}

/* "+٣٠" rising from the earnings card each time the number grows. */
.lv-pop {
  position: absolute;
  font: 800 1.6cqw/1 'Tajawal', sans-serif;
  color: #22c55e;
  background: #fff;
  border-radius: 99px;
  padding: .45cqw .9cqw;
  box-shadow: 0 .6cqw 1.6cqw rgba(34, 6, 54, .25);
  opacity: 0;
  pointer-events: none;
}
.lv-pop.is-on { animation: lvPop 1.6s ease-out forwards; }

@keyframes lvIn    { from { opacity: 0; translate: 0 1.2cqw; } to { opacity: 1; translate: 0 0; } }
@keyframes lvFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.8cqw; } }
@keyframes lvShine { 0%, 70% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
@keyframes lvPop   { 0% { opacity: 0; translate: 0 0; } 15% { opacity: 1; } 100% { opacity: 0; translate: 0 -4cqw; } }

@media (prefers-reduced-motion: reduce) {
  .lv-float, .lv-shine::after { animation: none; }
  .lv-card { animation: none; opacity: 1; }
  .lv-pop { display: none; }
}
