:root {
  --dark: #252525;
  --light: #ffffff;
  --blue: #6889a7;
  --blue-dim: #4a6480;
  --border: 3px solid #ffffff;
  --border-blue: 3px solid #6889a7;
  --shadow: 6px 6px 0px #ffffff;
  --shadow-blue: 6px 6px 0px #6889a7;
}

* {
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--light);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  line-height: 1.7;
  text-align: center;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: var(--dark);
  transition: opacity 0.6s ease, visibility 0.6s;
  animation: hide 0s 4s forwards;
}

.loader span {
  position: relative;
  width: 10rem;
  height: 2px;
  overflow: hidden;
  background: var(--blue-dim);
}

.loader span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--blue);
  animation: slide 1.2s ease-in-out infinite alternate;
}

.loaded .loader {
  opacity: 0;
  visibility: hidden;
}

main {
  width: min(100%, 36rem);
  padding: 3rem 1.5rem;
}

.logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  display: grid;
  place-items: center;
  border: 1px dashed var(--blue);
  border-radius: 6px;
  color: var(--blue);
  font-size: 0.85rem;
  object-fit: cover;
  animation: float 8s ease-in-out infinite alternate;
}

.brand {
  color: var(--blue);
}

h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.terminal {
  margin-top: 2rem;
  border: 1px solid var(--blue-dim);
  text-align: left;
}

.bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--blue-dim);
  background: rgba(255, 255, 255, 0.03);
  color: var(--blue);
  font-size: 0.75rem;
  line-height: 1;
}

.bar i {
  width: 8px;
  height: 8px;
  background: var(--blue-dim);
}

.bar span {
  margin-left: 0.5rem;
}

.terminal p {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.terminal p::before {
  content: ">";
  color: var(--blue);
}

.status {
  margin-top: 2.5rem;
  color: var(--blue);
  font-size: 0.9rem;
}

.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  margin-left: 0.4em;
  vertical-align: text-bottom;
  background: var(--blue);
  animation: blink 2.4s ease-in-out infinite;
}

.links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.links a {
  color: var(--light);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-dim);
  transition: color 0.4s ease, border-color 0.4s ease;
}

.links a:hover,
.links a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.notice {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 17rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--blue-dim);
  background: var(--dark);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: left;
}

.notice strong {
  display: block;
  color: var(--blue);
}

.notice p {
  opacity: 0.7;
}

@keyframes slide {
  to {
    transform: translateX(150%);
  }
}

@keyframes hide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes float {
  to {
    transform: translateY(-10px);
  }
}

@keyframes blink {
  50% {
    opacity: 0.1;
  }
}

@media (max-width: 1100px) {
  .notice {
    position: static;
    width: min(100% - 3rem, 36rem);
    max-width: none;
    margin-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }

  .loader {
    display: none;
  }
}