@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --forest: #17251d;
  --forest-deep: #101a15;
  --moss: #77876c;
  --moon: #f0ead8;
  --gold: #c9b986;
  --muted: #b7bda9;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--moon);
  background:
    radial-gradient(ellipse at 50% 8%, rgb(91 111 78 / 30%), transparent 37%),
    radial-gradient(ellipse at 0% 100%, rgb(80 100 69 / 17%), transparent 39%),
    linear-gradient(145deg, #1d2c22 0%, var(--forest) 48%, var(--forest-deep) 100%);
  font-family: 'Manrope', sans-serif;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 290px;
  height: 100vh;
  content: '';
  pointer-events: none;
  opacity: .16;
  background: repeating-linear-gradient(105deg, transparent 0 42px, rgb(201 185 134 / 20%) 43px, transparent 44px 88px);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}

body::before {
  top: 0;
  left: -180px;
  transform: rotate(12deg);
}

body::after {
  top: 0;
  right: -180px;
  transform: rotate(-12deg);
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 48px 20px;
}

.profile {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  text-align: center;
  animation: rise-in 900ms ease-out both;
}

.crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--gold);
}

.crest-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.crest-line:last-child {
  transform: scaleX(-1);
}

.crest-mark {
  font-size: 19px;
  line-height: 1;
}

.logo {
  display: block;
  width: min(100%, 370px);
  height: auto;
  margin: 0 auto 15px;
  filter: drop-shadow(0 5px 20px rgb(229 231 218 / 13%));
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--moon);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.intro {
  margin: 13px 0 29px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.links {
  display: grid;
  gap: 12px;
}

.link {
  display: grid;
  min-height: 74px;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: 13px;
  padding: 12px 19px;
  border: 1px solid rgb(219 215 190 / 50%);
  border-radius: 3px;
  color: #233027;
  background: var(--moon);
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.link:hover {
  transform: translateY(-2px);
  border-color: #e8dbab;
  background: #faf4e5;
}

.link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.link-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(55 69 55 / 22%);
  border-radius: 50%;
  color: #344333;
  font-size: 21px;
}

.fansly-icon {
  font-size: 25px;
}

.link-copy {
  display: grid;
  gap: 3px;
}

.link-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.link-copy small {
  color: #6b7567;
  font-size: 11px;
}

.link-arrow {
  justify-self: end;
  color: #687560;
  font-size: 18px;
  transition: transform 180ms ease;
}

.link:hover .link-arrow {
  transform: translate(2px, -2px);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 30px;
  color: #a9b09e;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.footer-leaf {
  color: var(--gold);
  font-size: 19px;
}

.footer-leaf-flip {
  transform: scaleX(-1);
}

.firefly {
  position: absolute;
  z-index: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e8d9a3;
  box-shadow: 0 0 13px 3px rgb(232 217 163 / 55%);
  animation: shimmer 3.2s ease-in-out infinite alternate;
}

.firefly-one {
  top: 24%;
  left: 21%;
}

.firefly-two {
  top: 39%;
  right: 20%;
  animation-delay: 900ms;
}

.firefly-three {
  right: 28%;
  bottom: 20%;
  animation-delay: 1.7s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  from {
    opacity: .28;
  }

  to {
    opacity: .9;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 35px 22px;
  }

  .logo {
    width: min(100%, 330px);
  }

  h1 {
    font-size: 33px;
  }

  .firefly-one {
    left: 9%;
  }

  .firefly-two {
    right: 8%;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}