@font-face {
  font-family: 'UnifrakturMaguntia';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/unifraktur-maguntia-400.woff2') format('woff2');
}

@keyframes logoGhost {
  0%, 100% { text-shadow: 0 0 18px rgba(0, 255, 179, .5), 3px 0 0 rgba(255, 0, 122, .35), -3px 0 0 rgba(167, 0, 255, .3); }
  48% { text-shadow: 0 0 18px rgba(0, 255, 179, .5), 3px 0 0 rgba(255, 0, 122, .35), -3px 0 0 rgba(167, 0, 255, .3); }
  49% { text-shadow: 0 0 26px rgba(0, 255, 179, .7), 9px 0 0 rgba(255, 0, 122, .6), -7px 0 0 rgba(167, 0, 255, .5); }
  51% { text-shadow: 0 0 18px rgba(0, 255, 179, .5), -5px 0 0 rgba(255, 0, 122, .45), 5px 0 0 rgba(167, 0, 255, .4); }
  53% { text-shadow: 0 0 18px rgba(0, 255, 179, .5), 3px 0 0 rgba(255, 0, 122, .35), -3px 0 0 rgba(167, 0, 255, .3); }
}
@keyframes flicker {
  0%, 97%, 100% { opacity: 1; }
  98% { opacity: .55; }
  99% { opacity: .85; }
}
@keyframes ledPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--teal), 0 0 16px var(--teal); }
  50% { opacity: .25; box-shadow: 0 0 2px var(--teal); }
}

.landing-shell {
  min-height: 100vh;
  width: 100%;
  background: #1B1B2A;
  background-image: linear-gradient(180deg, #202033 0%, #1B1B2A 55%, #101019 100%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.landing-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 56px 24px 28px;
  min-height: 100vh;
}

.landing-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  width: 100%;
}

.landing-logo {
  margin: 0;
  font-family: 'UnifrakturMaguntia', serif;
  font-weight: 400;
  font-size: clamp(46px, 15vw, 76px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--teal);
  animation: logoGhost 7s steps(1, end) infinite, flicker 6s infinite;
}

.landing-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}
.landing-divider span:first-child,
.landing-divider span:last-child {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 122, 0), var(--pink));
}
.landing-divider span:last-child {
  background: linear-gradient(90deg, var(--pink), rgba(255, 0, 122, 0));
}
.landing-divider-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--yellow);
}

.landing-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--text-dim2);
}
.landing-status-led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  animation: ledPulse 1.4s ease-in-out infinite;
}

.landing-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
}

.landing-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 16px 20px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}

.landing-action-login {
  background: linear-gradient(90deg, rgba(0, 255, 179, .18), rgba(0, 255, 179, .04));
  border: 2px solid var(--teal);
  box-shadow: 0 0 18px rgba(0, 255, 179, .3), inset 0 0 24px rgba(0, 255, 179, .08);
  color: var(--teal);
}
.landing-action-login:hover {
  background: rgba(0, 255, 179, .28);
  color: var(--text);
}
.landing-action-login .landing-action-arrow {
  color: var(--yellow);
}

.landing-action-register {
  background: linear-gradient(90deg, rgba(255, 0, 122, .16), rgba(255, 0, 122, .04));
  border: 2px solid var(--pink);
  box-shadow: 0 0 18px rgba(255, 0, 122, .28), inset 0 0 24px rgba(255, 0, 122, .08);
  color: var(--pink);
}
.landing-action-register:hover {
  background: rgba(255, 0, 122, .28);
  color: var(--text);
}
.landing-action-register .landing-action-arrow {
  color: var(--purple);
}

.landing-action-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
}

.landing-footer {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-dim);
  text-align: center;
}
