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

:root {
  --bg: #050810;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.1);
  --text: #e2e8f0;
  --muted: #4a5568;
}

body {
  font-family: 'Segoe UI', 'Hiragino Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── 背景キャンバス ── */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── レイアウト ── */
.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 2.5rem;
}

/* ── ヘッダー ── */
header { text-align: center; }

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #63b3ed;
  box-shadow: 0 0 10px #63b3ed, 0 0 20px #63b3ed;
  animation: pulse 2s ease-in-out infinite;
}
.logo-dot:last-child { animation-delay: 1s; }

h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accent { color: #63b3ed; }

.subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.divider {
  width: 120px; height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #63b3ed, transparent);
}

/* ── グリッド ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 960px;
}

/* ── カード ── */
.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 50%, rgba(var(--clr), 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(var(--clr), 0.5);
  box-shadow:
    0 0 20px rgba(var(--clr), 0.15),
    0 20px 40px rgba(0,0,0,0.4);
}
.card:hover .card-glow { opacity: 1; }
.card:hover .card-arrow { opacity: 1; transform: translateX(0); }

.card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(var(--clr), 0.6));
}

.card-body { flex: 1; }
.card-body h2 { font-size: 1rem; font-weight: 700; }
.card-body p  { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; word-break: break-all; }

.card-arrow {
  font-size: 1.1rem;
  color: rgba(var(--clr), 1);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}

/* ── フッター ── */
footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #48c78e;
  box-shadow: 0 0 8px #48c78e;
  animation: pulse 2s infinite;
}

.sep { color: #2d3748; }

/* ── アニメーション ── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* カード入場アニメ */
.card {
  animation: fadeUp 0.5s ease both;
}
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.19s; }
.card:nth-child(4) { animation-delay: 0.26s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
