/* Local LL1.live motion preview: the sphere stays fixed while its land layer turns. */
.ll1-worldmark {
  --ll1-red: #ef2837;
  --ll1-white: #f8f5ee;
  width: min(650px, 100%);
  margin: 25px 0 23px !important;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .72));
}

.ll1-worldmark-line {
  display: flex;
  align-items: flex-end;
  min-width: 0;
  line-height: .72;
  letter-spacing: 0;
  white-space: nowrap;
}

.ll1-worldmark-primary,
.ll1-worldmark-live,
.ll1-worldmark-love {
  display: inline-flex;
  align-items: flex-end;
}

.ll1-worldmark-primary {
  gap: .02em;
  color: var(--ll1-white);
  font-size: clamp(88px, 8.1vw, 132px);
  letter-spacing: -.025em;
}

.ll1-worldmark-primary b,
.ll1-worldmark-live b {
  position: relative;
  z-index: 3;
  font: inherit;
}

.ll1-worldmark-one {
  width: .34em;
  height: .703em;
  flex: none;
  align-self: flex-end;
  margin-left: -.015em;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(180deg, #ff2436, #ef2837 64%, #c81727);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 21% 100%, 21% 42%, 0 42%, 0 27%);
  line-height: 0;
  text-indent: -999px;
  transform: translateY(.039em);
  filter: drop-shadow(0 0 .09em rgba(239, 40, 55, .22));
}

.ll1-worldmark-primary i {
  width: .105em;
  height: .105em;
  flex: none;
  align-self: flex-end;
  margin: 0 .04em 0 .03em;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: var(--ll1-red);
  font-size: 1em;
  font-style: normal;
  line-height: 0;
  transform: translateY(.033em);
}

.ll1-worldmark-live {
  gap: .1em;
  padding-bottom: 0;
  color: var(--ll1-white);
  font-size: clamp(44px, 4.05vw, 66px);
  letter-spacing: 0;
  transform: translateY(.045em);
}

.ll1-worldmark-love {
  position: relative;
  gap: .1em;
}

.ll1-worldmark-i {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}

/* LIVE remains primary; the I briefly fades every five seconds to reveal LOVE. */
.ll1-worldmark-i > b {
  position: relative;
  z-index: 6;
  color: var(--ll1-white);
  animation: ll1-love-reveal 7s ease-in-out infinite;
  will-change: opacity;
}

.ll1-worldmark-globe {
  position: absolute;
  z-index: 1;
  left: 60%;
  bottom: -.025em;
  width: .72em;
  aspect-ratio: 1;
  overflow: hidden;
  border: .018em solid rgba(255, 48, 64, .88);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 23%, rgba(255, 255, 255, .2), transparent 16%),
    radial-gradient(circle at 67% 70%, rgba(21, 1, 8, .55), transparent 61%),
    linear-gradient(135deg, rgba(255, 38, 58, .68), rgba(143, 6, 38, .64));
  box-shadow:
    inset -.18em -.06em .3em rgba(0, 0, 0, .54),
    inset .07em .05em .14em rgba(255, 255, 255, .1),
    0 0 .32em rgba(255, 36, 58, .38);
  opacity: .82;
  transform: translateX(-50%);
  animation: ll1-globe-energy 9s ease-in-out infinite;
  will-change: filter, box-shadow;
}

.ll1-worldmark-globe::before,
.ll1-worldmark-globe::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.ll1-worldmark-globe::before {
  inset: -.055em 28%;
  border: .016em solid rgba(255, 205, 214, .19);
  border-block-color: transparent;
  border-radius: 50%;
}

.ll1-worldmark-globe::after {
  left: 0;
  right: 0;
  top: 50%;
  border-top: .016em solid rgba(255, 205, 214, .19);
}

.ll1-worldmark-map {
  position: absolute;
  z-index: 2;
  inset: 7%;
  overflow: hidden;
  border-radius: 50%;
}

.ll1-worldmark-map::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 200%;
  background: linear-gradient(90deg, rgba(255, 157, 174, .68), rgba(239, 40, 55, .58) 48%, rgba(172, 22, 74, .5));
  -webkit-mask: url("assets/world-land-v1.svg") 0 50% / 50% 100% repeat-x;
  mask: url("assets/world-land-v1.svg") 0 50% / 50% 100% repeat-x;
  filter: drop-shadow(0 0 .035em rgba(255, 145, 175, .34));
  animation: ll1-world-turn 18s linear infinite;
}

.ll1-worldmark-latitude {
  position: absolute;
  z-index: 4;
  left: 5%;
  right: 5%;
  height: 28%;
  border: .015em solid rgba(255, 220, 226, .16);
  border-inline-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}

.ll1-worldmark-latitude-top { top: 19%; }
.ll1-worldmark-latitude-bottom { bottom: 19%; }

.ll1-worldmark-hologram {
  position: absolute;
  z-index: 8;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 8%),
    linear-gradient(105deg, transparent 34%, rgba(255, 186, 211, .05) 47%, rgba(255, 255, 255, .16) 50%, rgba(255, 122, 167, .05) 53%, transparent 66%),
    repeating-linear-gradient(0deg, transparent 0 .095em, rgba(255, 210, 226, .05) .105em .118em);
  background-size: 100% 100%, 220% 100%, 100% 100%;
  background-position: 0 0, 110% 0, 0 0;
  mix-blend-mode: screen;
  animation: ll1-hologram-scan 4.2s linear infinite;
}

.ll1-worldmark-tag {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, .68);
  font: 800 clamp(7px, .68vw, 10px)/1.2 "DM Sans", sans-serif;
  letter-spacing: .25em;
}

@keyframes ll1-world-turn {
  to { transform: translateX(-50%); }
}

@keyframes ll1-love-reveal {
  0%, 43%, 100% { opacity: 1; }
  54%, 89% { opacity: 0; }
}

@keyframes ll1-globe-energy {
  0%, 100% {
    filter: saturate(1.05) hue-rotate(0deg) brightness(1.02);
    box-shadow:
      inset -.18em -.06em .3em rgba(0, 0, 0, .54),
      inset .07em .05em .14em rgba(255, 255, 255, .1),
      0 0 .2em rgba(239, 40, 55, .14);
  }
  45% {
    filter: saturate(1.12) hue-rotate(-10deg) brightness(1.1);
    box-shadow:
      inset -.18em -.06em .3em rgba(0, 0, 0, .5),
      inset .07em .05em .14em rgba(255, 255, 255, .12),
      0 0 .24em rgba(255, 70, 170, .18);
  }
  72% {
    filter: saturate(1.08) hue-rotate(8deg) brightness(1.06);
    box-shadow:
      inset -.18em -.06em .3em rgba(0, 0, 0, .52),
      inset .07em .05em .14em rgba(255, 255, 255, .11),
      0 0 .22em rgba(255, 187, 94, .15);
  }
}

@keyframes ll1-hologram-scan {
  0% { background-position: 0 0, 115% 0, 0 0; opacity: .58; }
  45% { opacity: .92; }
  100% { background-position: 0 0, -115% 0, 0 .118em; opacity: .58; }
}

@media (max-width: 820px) {
  .ll1-worldmark { width: min(590px, 100%); }
  .ll1-worldmark-primary { font-size: clamp(78px, 17vw, 118px); }
  .ll1-worldmark-live { font-size: clamp(39px, 8.5vw, 59px); }
}

@media (max-width: 560px) {
  .ll1-worldmark { margin-top: 20px !important; }
  .ll1-worldmark-primary { font-size: clamp(72px, 21.5vw, 103px); }
  .ll1-worldmark-live { font-size: clamp(36px, 10.75vw, 51px); }
  .ll1-worldmark-tag { max-width: 330px; margin-top: 17px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .ll1-worldmark-globe,
  .ll1-worldmark-map::before,
  .ll1-worldmark-hologram,
  .ll1-worldmark-i > b { animation: none; }
}
