* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }

:root {
  --bg: #000;
  --text: #f6f8ff;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
}

button { font: inherit; color: inherit; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
}

.topbar-inner {
  width: min(1250px, 96vw);
  margin: 0 auto;
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.nav-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-link.active { color: #90bcff; }

.nav-link[aria-disabled="true"] {
  opacity: 0.9;
  cursor: default;
}

.lang-wrap {
  display: flex;
  gap: 5px;
}

.lang-btn {
  border: 1px solid #273045;
  background: #0b0f18;
  color: #dbe4ff;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  cursor: default;
}

.lang-btn.active {
  background: #dce4ff;
  color: #0f1830;
  border-color: #dce4ff;
}

.lang-btn[aria-disabled="true"] {
  pointer-events: none;
}

.hero-view {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(22, 35, 82, 0.28), transparent 47%),
    radial-gradient(circle at 52% 50%, rgba(8, 14, 34, 0.66), transparent 69%);
}

.hero-globe {
  width: min(58vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 58%, rgba(44, 92, 245, 0.4), rgba(7, 11, 28, 0.08) 31%, rgba(0,0,0,0) 72%),
    radial-gradient(circle at 31% 27%, rgba(132, 168, 255, 0.2), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(88, 132, 255, 0.1), rgba(0, 0, 0, 0.72) 64%);
  box-shadow:
    0 0 110px rgba(64, 113, 255, 0.22),
    inset 0 0 74px rgba(89, 133, 255, 0.17),
    inset 0 0 120px rgba(3, 8, 23, 0.95);
  position: relative;
  z-index: 1;
}

.hero-globe::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(circle, rgba(145, 180, 255, 0.75) 0.9px, transparent 1.8px),
    radial-gradient(circle, rgba(90, 142, 255, 0.55) 0.8px, transparent 1.8px);
  background-size: 6px 6px, 9px 9px;
  background-position: 0 0, 3px 5px;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: blur(0.25px);
}

.hero-content {
  position: absolute;
  text-align: center;
  transform: translateY(-2%);
  z-index: 2;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  letter-spacing: 0.05em;
  font-family: "Barlow Condensed", sans-serif;
  color: #6fb0ff;
  text-shadow: 0 0 14px rgba(45, 130, 255, 0.68);
}

.hero-sub {
  margin: 10px 0 0;
  font-size: clamp(1.05rem, 1.75vw, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fixed-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 90;
  text-align: center;
  font-size: 0.62rem;
  color: #d6ddf0;
  line-height: 1.65;
  letter-spacing: 0.03em;
  pointer-events: none;
}

.fixed-footer p { margin: 0; }
.fixed-footer span + span { margin-left: 16px; }

@media (max-width: 980px) {
  .topbar-inner { min-height: 44px; }
  .hero-globe {
    width: min(84vw, 560px);
    transform: translateY(-4%);
  }
}

@media (max-width: 640px) {
  .topbar-inner { width: 94vw; min-height: 42px; }

  .nav { gap: 12px; }

  .nav-link { font-size: 0.72rem; }

  .lang-btn {
    font-size: 0.58rem;
    padding: 2px 6px;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 11vw, 2.5rem);
  }

  .hero-sub {
    font-size: 0.92rem;
    padding: 0 14px;
  }

  .fixed-footer {
    font-size: 0.56rem;
    line-height: 1.6;
  }

  .fixed-footer span {
    display: block;
    margin: 0;
  }
}
