@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400&display=swap');

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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060610;
  overflow: hidden;
  position: relative;
}

/* --- 地球を包むネットワークの光 --- */
.globe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 700px);
  height: min(90vw, 700px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, rgba(34, 197, 156, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 65% 60%, rgba(56, 152, 236, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.globe::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 156, 0.07);
}

/* --- ネットワークの環（動物たちを繋ぐ軌道） --- */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 156, 0.05);
  pointer-events: none;
}

.orbit--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  transform: translate(-50%, -50%) rotate(15deg);
  animation: spin 90s linear infinite;
}

.orbit--2 {
  width: min(75vw, 580px);
  height: min(75vw, 580px);
  transform: translate(-50%, -50%) rotate(-30deg);
  animation: spin 120s linear infinite reverse;
}

.orbit--3 {
  width: min(40vw, 300px);
  height: min(40vw, 300px);
  transform: translate(-50%, -50%) rotate(60deg);
  animation: spin 70s linear infinite;
}

/* --- 軌道上のノード（動物を象徴する接続点） --- */
.node {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.node--1 {
  width: 4px;
  height: 4px;
  background: rgba(34, 197, 156, 0.7);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px 2px rgba(34, 197, 156, 0.3);
  animation: blink 3s ease-in-out infinite;
}

.node--2 {
  width: 3px;
  height: 3px;
  background: rgba(56, 152, 236, 0.7);
  bottom: 10%;
  right: 5%;
  box-shadow: 0 0 10px 2px rgba(56, 152, 236, 0.3);
  animation: blink 4s ease-in-out 1s infinite;
}

.node--3 {
  width: 5px;
  height: 5px;
  background: rgba(244, 169, 80, 0.7);
  top: 30%;
  left: 2%;
  box-shadow: 0 0 14px 3px rgba(244, 169, 80, 0.25);
  animation: blink 3.5s ease-in-out 0.5s infinite;
}

.node--4 {
  width: 3px;
  height: 3px;
  background: rgba(167, 139, 250, 0.7);
  bottom: 5%;
  left: 30%;
  box-shadow: 0 0 10px 2px rgba(167, 139, 250, 0.25);
  animation: blink 4.5s ease-in-out 2s infinite;
}

.node--5 {
  width: 4px;
  height: 4px;
  background: rgba(251, 113, 133, 0.6);
  top: 15%;
  right: 15%;
  box-shadow: 0 0 12px 2px rgba(251, 113, 133, 0.2);
  animation: blink 3.8s ease-in-out 1.5s infinite;
}

/* --- 接続線（動物間のネットワーク） --- */
.connections {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.connections svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* --- ロゴ --- */
.logo {
  position: relative;
  z-index: 1;
  text-align: center;
}

.logo h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  color: #eef0f6;
  letter-spacing: 0.25em;
  position: relative;
  padding-right: 0.25em;
}

/* アンダーライン：ネットワーク接続を暗示 */
.logo h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 156, 0.5), transparent);
  margin: 1.2rem auto 0;
}

/* シグナルドット：接続の証 */
.signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c59c;
  border-radius: 50%;
  margin-left: 0.08em;
  vertical-align: middle;
  position: relative;
  top: -0.12em;
  animation: signal 3s ease-in-out infinite;
}

/* --- タグライン --- */
.tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  color: rgba(34, 197, 156, 0.4);
  letter-spacing: 0.35em;
  margin-top: 1.8rem;
  text-transform: uppercase;
}

/* --- テクスチャ --- */
.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 10;
}

/* --- アニメーション --- */
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(375deg); }
}

@keyframes signal {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 0 0 rgba(34, 197, 156, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 16px 4px rgba(34, 197, 156, 0.25);
  }
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
