:root {
  --bg: #07060a;
  --bg-soft: #12101a;
  --surface: rgba(16, 13, 24, 0.84);
  --surface-strong: rgba(22, 18, 32, 0.96);
  --ink: #fff7fd;
  --muted: rgba(255, 247, 253, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff3ec9;
  --accent-soft: rgba(255, 62, 201, 0.16);
  --accent-second: #4ab8ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

body.sync-theme {
  --bg: #0b0b10;
  --bg-soft: #15151d;
  --surface: rgba(22, 22, 30, 0.86);
  --surface-strong: rgba(28, 28, 38, 0.96);
  --ink: #fffdfd;
  --muted: rgba(255, 253, 253, 0.74);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7b7dff;
  --accent-soft: rgba(123, 125, 255, 0.16);
  --accent-second: #5de6d2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 30%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-second) 16%, transparent), transparent 26%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 92%);
  pointer-events: none;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.topbar,
.hero,
.section,
.footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 999px;
  background: rgba(14, 12, 21, 0.74);
  backdrop-filter: blur(14px);
}

.brand,
.topnav a,
.eyebrow,
.meta-label,
.link-label,
.list-label {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  font-size: 0.92rem;
}

main {
  margin-top: 22px;
  display: grid;
  gap: 22px;
}

.hero,
.section,
.footer {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%),
    radial-gradient(circle at 80% 25%, color-mix(in srgb, var(--accent-second) 16%, transparent), transparent 18%);
  pointer-events: none;
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.hero-banner-wrap {
  margin-bottom: 8px;
}

.hero-banner {
  display: block;
  width: min(100%, 720px);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.eyebrow,
.meta-label,
.link-label,
.list-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.hero-subtitle,
.hero-heading,
.hero-text,
.meta-card strong,
.section p,
.link-card a,
.footer p,
.placeholder-text {
  margin: 0;
  line-height: 1.85;
}

.hero-heading {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-subtitle {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: var(--accent-second);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text,
.section p,
.footer p,
.placeholder-text {
  color: var(--muted);
}

.copy-stack {
  display: grid;
  gap: 10px;
}

.copy-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
  line-height: 1.7;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.meta-card,
.info-card,
.link-card,
.placeholder-card,
.host-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.meta-grid {
  display: grid;
  gap: 12px;
}

.meta-item {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.meta-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.action-link.primary {
  background: var(--accent);
  border-color: transparent;
  color: #180710;
}

.section {
  display: grid;
  gap: 24px;
}

.section-head {
  display: grid;
  gap: 10px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card h3,
.host-card h3,
.placeholder-card h3 {
  margin-bottom: 10px;
}

.host-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.host-list li {
  display: grid;
  gap: 3px;
}

.host-list strong {
  font-size: 1.1rem;
}

.link-list {
  display: grid;
  gap: 14px;
}

.link-card {
  display: grid;
  gap: 8px;
}

.link-card a {
  text-decoration: none;
  color: var(--ink);
}

.service-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.service-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.dark-button {
  color: var(--ink);
}

.service-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  flex: 0 0 auto;
}

.service-mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-copy {
  display: grid;
  gap: 2px;
}

.service-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.service-copy span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.logo-x {
  background: #111;
  color: #fff;
}

.logo-discord {
  background: #5865f2;
  color: #fff;
}

.logo-vrchat {
  background: #ffffff;
  color: #111;
}

.sync-stack {
  display: grid;
  gap: 18px;
}

.placeholder-card {
  background:
    linear-gradient(145deg, rgba(123, 125, 255, 0.16), rgba(28, 28, 38, 0.96));
}

.footer {
  margin-top: 22px;
  padding-top: 22px;
  padding-bottom: 22px;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
  }

  .topnav {
    justify-content: space-between;
  }

  .topnav a {
    flex: 1 1 calc(33.333% - 8px);
    justify-content: center;
  }

  .hero,
  .section,
  .footer {
    padding: 24px 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(2.6rem, 17vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .hero-banner {
    width: 100%;
    border-radius: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .action-link {
    width: 100%;
  }
}
