:root {
  color-scheme: dark;
  --blue: #48a7ff;
  --blue-bright: #8ed2ff;
  --gold: #d9ae58;
  --gold-soft: #f3dc9a;
  --ink: #030711;
  --text: #edf6ff;
  --muted: #aebfd1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scene,
.vignette,
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene {
  z-index: -3;
  background-image: url("assets/lorencia-bg-2560.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  animation: awaken 16s ease-out both;
}

.vignette {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(3, 9, 20, .28) 0 22%, rgba(2, 6, 14, .72) 76%, rgba(1, 3, 8, .95) 100%),
    linear-gradient(180deg, rgba(1, 5, 12, .1) 0%, rgba(1, 5, 13, .25) 52%, rgba(1, 4, 10, .9) 100%);
}

.stars {
  z-index: -1;
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(114, 190, 255, .9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(231, 196, 116, .75) 0 1px, transparent 1.6px);
  background-position: 0 0, 35px 55px;
  background-size: 92px 92px, 130px 130px;
  mask-image: linear-gradient(to bottom, black 0 58%, transparent 86%);
  animation: drift 24s linear infinite;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vh, 72px) 24px 96px;
  text-align: center;
}

.hero__content {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: reveal 1.15s cubic-bezier(.2, .75, .2, 1) both;
}

.brand {
  width: clamp(218px, 31vh, 340px);
  height: auto;
  display: block;
  margin-bottom: clamp(18px, 3vh, 34px);
  border-radius: 50%;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .86)) drop-shadow(0 0 26px rgba(36, 128, 255, .22));
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 13px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.66rem, 1.4vw, .8rem);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow span {
  width: clamp(22px, 5vw, 55px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow span:last-child {
  transform: rotate(180deg);
}

h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8.8vw, 6.9rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(101, 76, 28, .72), 0 14px 42px rgba(0, 0, 0, .92), 0 0 28px rgba(45, 145, 255, .2);
}

.lead {
  margin: 21px 0 0;
  color: var(--blue-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-style: italic;
  letter-spacing: .045em;
}

.description {
  max-width: 610px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: clamp(.89rem, 1.5vw, 1rem);
  line-height: 1.7;
  text-wrap: balance;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.platform {
  min-width: 145px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  color: #f4f8ff;
  text-align: left;
  border: 1px solid rgba(113, 178, 231, .25);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(12, 30, 55, .74), rgba(4, 10, 22, .78));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 8px 25px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
}

.platform svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: var(--blue-bright);
  filter: drop-shadow(0 0 8px rgba(71, 167, 255, .35));
}

.platform span {
  font-size: .87rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .055em;
}

.platform small {
  display: block;
  margin-bottom: 2px;
  color: #879db4;
  font-size: .55rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 17px;
  padding: 10px 18px;
  color: #dceeff;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(96, 175, 255, .33);
  border-radius: 999px;
  background: rgba(8, 25, 49, .72);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.facebook-link:hover,
.facebook-link:focus-visible {
  color: #fff;
  border-color: rgba(114, 198, 255, .72);
  background: rgba(17, 62, 109, .82);
  transform: translateY(-2px);
  outline: none;
}

.facebook-link svg {
  width: 19px;
  height: 19px;
  fill: #69b7ff;
}

footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px max(20px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  color: #7d90a6;
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(1, 4, 10, .88));
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #57b7ff;
  box-shadow: 0 0 12px #2799ff;
  animation: pulse 2s ease-in-out infinite;
}

.separator {
  color: var(--gold);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes awaken {
  from { opacity: .35; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes drift {
  to { background-position: 92px 46px, -95px 120px; }
}

@keyframes pulse {
  50% { opacity: .45; transform: scale(.72); }
}

@media (max-width: 640px) {
  .scene {
    background-position: 68% center;
  }

  .vignette {
    background:
      radial-gradient(circle at 50% 40%, rgba(2, 8, 18, .25), rgba(1, 5, 13, .78) 70%, rgba(1, 3, 8, .96) 100%),
      linear-gradient(180deg, rgba(1, 5, 12, .15), rgba(1, 4, 10, .86));
  }

  .hero {
    align-items: start;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: 118px;
  }

  .brand {
    width: min(58vw, 265px);
    margin-bottom: 16px;
  }

  .eyebrow {
    gap: 8px;
    letter-spacing: .16em;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.35rem);
  }

  .description {
    line-height: 1.55;
  }

  .platforms {
    gap: 7px;
    margin-top: 20px;
  }

  .platform {
    min-width: 0;
    flex: 1 1 30%;
    justify-content: center;
    gap: 7px;
    padding: 9px 7px;
  }

  .platform svg {
    width: 20px;
    height: 20px;
  }

  .platform span {
    font-size: .72rem;
  }

  .platform small {
    display: none;
  }

  .facebook-link {
    margin-top: 15px;
    padding: 9px 16px;
    font-size: .66rem;
  }

  footer {
    flex-wrap: wrap;
    gap: 5px 8px;
    font-size: .58rem;
    line-height: 1.35;
  }
}

@media (max-height: 760px) and (min-width: 641px) {
  .hero {
    padding-top: 22px;
  }

  .brand {
    width: 190px;
    margin-bottom: 14px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .lead {
    margin-top: 14px;
  }

  .description {
    margin-top: 9px;
  }

  .platforms {
    margin-top: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
