@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  color-scheme: dark;
  font-family: 'Inter', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #040517;
  color: #f6f7ff;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: none;
  filter: brightness(1.05);
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 101, 242, 0.42), transparent 55%),
    radial-gradient(circle at 86% 8%, rgba(242, 75, 88, 0.35), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(0, 186, 255, 0.2), transparent 50%),
    #040517;
  color: inherit;
}

#app {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding-block: 3.5rem;
}

.page-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main.page {
  width: min(1100px, 100%);
  padding-inline: clamp(1.5rem, 5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  background: linear-gradient(135deg, rgba(15, 21, 63, 0.92), rgba(38, 15, 72, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 42px 120px rgba(5, 4, 25, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  isolation: isolate;
  animation: fadeUp 0.9s ease forwards;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% 40% 40% -40%;
  background: radial-gradient(circle at 20% 20%, rgba(235, 70, 248, 0.45), transparent 60%);
  opacity: 0.9;
  transform: rotate(8deg);
  z-index: -1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
}

.pill-accent {
  background: rgba(0, 186, 255, 0.18);
  border-color: rgba(0, 186, 255, 0.24);
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-sub {
  max-width: 48ch;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(235, 238, 255, 0.85);
}

.cta-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.btn span {
  font-size: 1.05rem;
}

.btn small {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(235, 238, 255, 0.72);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(10, 5, 40, 0.35);
}

.btn-primary {
  background: linear-gradient(135deg, #5865f2, #7289da);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.chip {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.chip-outline {
  background: rgba(0, 186, 255, 0.15);
  border-color: rgba(0, 186, 255, 0.28);
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.section {
  position: relative;
  padding: clamp(2.5rem, 4vw, 3rem);
  border-radius: 26px;
  background: rgba(10, 11, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(5, 6, 24, 0.4);
  backdrop-filter: blur(18px);
  animation: fadeUp 0.9s ease forwards;
}

.section-highlight {
  background: linear-gradient(135deg, rgba(16, 21, 58, 0.72), rgba(19, 15, 63, 0.6));
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.9rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.section-header p {
  margin: 0;
  color: rgba(235, 238, 255, 0.75);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(88, 101, 242, 0.9);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.info-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.info-card p {
  margin: 0;
  color: rgba(235, 238, 255, 0.8);
}

.ip-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.ip-card {
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  background: rgba(0, 186, 255, 0.12);
  border: 1px solid rgba(0, 186, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ip-card span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.75);
}

.ip-card strong {
  font-size: 1.1rem;
}

.ip-card:hover,
.ip-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 186, 255, 0.24);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.rule-card {
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rule-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.rule-card p {
  margin: 0;
  color: rgba(235, 238, 255, 0.8);
}

.rule-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(235, 238, 255, 0.78);
}

.rule-list li {
  line-height: 1.55;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.policy-links a {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.3);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.bot-note {
  margin: 0 0 1.8rem;
  font-size: 0.9rem;
  color: rgba(235, 238, 255, 0.75);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.command-card {
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.command-card code {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.4);
  font-size: 0.85rem;
}

.command-card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(235, 238, 255, 0.8);
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.link-card {
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 186, 255, 0.72);
}

.link-card strong {
  font-size: 1.05rem;
}

.link-card p {
  margin: 0;
  color: rgba(235, 238, 255, 0.75);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(5, 7, 32, 0.4);
}

.cta-section {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.35), rgba(0, 186, 255, 0.3));
  border-color: rgba(255, 255, 255, 0.18);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52ch;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.cta-inner p {
  margin: 0;
  color: rgba(240, 245, 255, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cta-domain {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer {
  width: 100%;
  max-width: 1100px;
  padding: 2.5rem clamp(1.5rem, 5vw, 2.75rem) 4rem;
  color: rgba(235, 238, 255, 0.6);
  font-size: 0.85rem;
  text-align: left;
}

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

@media (max-width: 900px) {
  #app {
    padding-block: 2.5rem;
  }

  .hero {
    padding: clamp(2.2rem, 7vw, 3rem);
  }
}

@media (max-width: 640px) {
  main.page {
    padding-inline: 1.25rem;
  }

  .cta-group {
    grid-template-columns: 1fr;
  }

  .chip-nav {
    gap: 0.5rem;
  }

  .btn {
    border-radius: 14px;
  }

  .section {
    padding: 2.2rem 1.6rem;
  }

  .policy-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
