html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.fo {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: min(100%, 440px);
  background: #17141a;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  padding: 16px 20px 16px;
  color: #fff7e6;
}

.fo__rail {
  position: relative;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.18);
}

.fo__beacon {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 0;
  animation-name: beaconCross;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.fo__beacon--slow {
  animation-duration: 2s;
  animation-delay: -400ms;
}

.fo__beacon--fast {
  animation-duration: 1s;
  animation-delay: -500ms;
}

.fo__beacon--drift {
  animation-duration: 2s;
  animation-delay: -1200ms;
}

.fo__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.fo__dot--lilac {
  background: radial-gradient(circle at 50% 50%, rgba(185, 160, 255, 0.92) 0%, rgba(185, 160, 255, 0.34) 42%, rgba(185, 160, 255, 0) 72%);
}

.fo__dot--mint {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(76, 212, 166, 0.92) 0%, rgba(76, 212, 166, 0.34) 42%, rgba(76, 212, 166, 0) 72%);
}

.fo__dot--blue {
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(110, 200, 255, 0.88) 0%, rgba(47, 109, 246, 0.34) 42%, rgba(47, 109, 246, 0) 72%);
}

@keyframes beaconCross {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(108%);
  }
}
.fo__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  margin-top: 16px;
}

.fo__col {
  min-width: 0;
}

.fo__head {
  margin: 0;
  font-weight: 800;
  font-size: clamp(9px, 2.6vw, 10px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fff7e6;
}

.fo__links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.fo__links li {
  margin-top: 4px;
}

.fo__links li:first-child {
  margin-top: 0;
}

.fo__links a {
  font-weight: 600;
  font-size: clamp(8px, 2.4vw, 10px);
  line-height: 1.3;
  color: rgba(255, 247, 230, 0.72);
  text-decoration: none;
  transition: color 220ms ease-out;
}

.fo__links a:hover,
.fo__links a:focus-visible {
  color: #fff7e6;
}

.fo__copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 247, 230, 0.14);
  font-weight: 600;
  font-size: clamp(7px, 2.2vw, 9px);
  line-height: 1;
  color: rgba(255, 247, 230, 0.62);
}

.fo__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fo__ico {
  display: inline-flex;
  width: 12px;
  height: 12px;
}

.fo__ico svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 340px), (max-height: 220px) {
  .fo {
    padding: 12px;
  }
  .fo__cols {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .fo__col {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .fo__head {
    font-size: 8px;
    flex: 0 0 auto;
  }
  .fo__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
  }
  .fo__links li {
    margin-top: 0;
  }
  .fo__links a {
    font-size: 8px;
  }
  .fo__dot {
    width: 14px;
    height: 14px;
  }
  .fo__dot--mint {
    width: 10px;
    height: 10px;
  }
  .fo__dot--blue {
    width: 16px;
    height: 16px;
  }
  .fo__copy {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 7px;
  }
  .fo__ico {
    width: 10px;
    height: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fo__beacon {
    animation: none !important;
  }
  .fo__beacon--slow {
    transform: translateX(20%) !important;
  }
  .fo__beacon--fast {
    transform: translateX(50%) !important;
  }
  .fo__beacon--drift {
    transform: translateX(62%) !important;
  }
  .fo__links a {
    transition: none !important;
  }
}
