/* Anipop static site theme (dark + neon gradient) */

:root {
  --bg: 11 11 15; /* #0B0B0F */
  --surface: 20 20 28; /* #14141C */
  --surface-2: 28 28 40; /* #1C1C28 */
  --text: 245 246 255; /* #F5F6FF */
  --muted: 160 164 184; /* #A0A4B8 */
  --brand-1: 92 108 255; /* #5C6CFF */
  --brand-2: 166 92 255; /* #A65CFF */
  --brand-3: 255 79 163; /* #FF4FA3 */
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: rgb(var(--bg));
  color: rgb(var(--text));
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgb(var(--brand-2) / 0.35);
}

.bg-grid {
  background-image: radial-gradient(circle at 10% 10%, rgb(var(--brand-1) / 0.14), transparent 42%),
    radial-gradient(circle at 85% 35%, rgb(var(--brand-3) / 0.12), transparent 42%),
    radial-gradient(circle at 55% 90%, rgb(var(--brand-2) / 0.12), transparent 45%),
    linear-gradient(180deg, rgb(var(--bg)) 0%, rgb(var(--bg)) 65%, rgb(0 0 0) 100%);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  background: rgb(var(--bg) / 0.7);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(var(--brand-1)) 0%, rgb(var(--brand-2)) 45%, rgb(var(--brand-3)) 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 18px 55px rgb(92 108 255 / 0.22),
    0 18px 55px rgb(255 79 163 / 0.18);
}

.brand-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 12px;
  color: rgb(var(--muted));
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--muted));
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav a:hover {
  background: rgb(255 255 255 / 0.05);
  color: rgb(var(--text));
}

.nav a.active {
  background: rgb(255 255 255 / 0.10);
  color: rgb(var(--text));
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10);
}

.lang {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10);
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgb(var(--muted));
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lang button:hover {
  color: rgb(var(--text));
}

.lang button[aria-pressed="true"] {
  background: rgb(255 255 255 / 0.10);
  color: rgb(var(--text));
}

.main {
  padding: 48px 0;
}

.card {
  border-radius: 22px;
  background: rgb(var(--surface) / 0.7);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08) inset, 0 12px 40px rgb(0 0 0 / 0.55);
}

.card.pad {
  padding: 24px;
}

.footer {
  border-top: 1px solid rgb(255 255 255 / 0.06);
  padding: 34px 0;
  color: rgb(var(--muted));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.footer-links a:hover {
  color: rgb(var(--text));
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10);
  color: rgb(var(--muted));
  font-size: 12px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--brand-2));
}

.h1 {
  margin: 12px 0 0;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 900;
}

.h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
}

.muted {
  color: rgb(var(--muted));
}

.lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgb(var(--muted));
  max-width: 58ch;
}

.text-gradient {
  background: linear-gradient(135deg, rgb(var(--brand-1)) 0%, rgb(var(--brand-2)) 40%, rgb(var(--brand-3)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-2 {
  display: grid;
  gap: 26px;
  align-items: center;
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  transition: filter 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, rgb(var(--brand-1)) 0%, rgb(var(--brand-2)) 45%, rgb(var(--brand-3)) 100%);
  color: white;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10), 0 18px 55px rgb(92 108 255 / 0.22),
    0 18px 55px rgb(255 79 163 / 0.18);
}

.btn.primary:hover {
  filter: brightness(1.12);
}

.btn.ghost {
  background: rgb(255 255 255 / 0.05);
  color: rgb(var(--text));
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10);
}

.btn.ghost:hover {
  background: rgb(255 255 255 / 0.08);
}

.kicker {
  margin-top: 14px;
  font-size: 12px;
  color: rgb(var(--muted));
}

.legal {
  font-size: 12px;
  color: rgb(var(--muted));
  margin-top: 18px;
}

.legal a:hover {
  text-decoration: underline;
}

.mock {
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, rgb(var(--brand-1)) 0%, rgb(var(--brand-2)) 45%, rgb(var(--brand-3)) 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10), 0 18px 55px rgb(92 108 255 / 0.22),
    0 18px 55px rgb(255 79 163 / 0.18);
}

.mock-inner {
  border-radius: 20px;
  background: rgb(var(--bg) / 0.6);
  padding: 22px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08) inset;
}

.mock-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-tile,
.mock-wide {
  border-radius: 18px;
  background: rgb(255 255 255 / 0.05);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10);
  padding: 16px;
}

.mock-wide {
  margin-top: 12px;
}

.section {
  margin-top: 40px;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgb(var(--muted));
  font-size: 14px;
  line-height: 1.7;
}

.list li {
  margin: 6px 0;
}

.prose p {
  margin: 0;
  color: rgb(var(--muted));
  font-size: 14px;
  line-height: 1.75;
}

.prose h2 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: rgb(var(--text));
}

.prose ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgb(var(--muted));
  font-size: 14px;
  line-height: 1.7;
}

.sep {
  color: rgb(255 255 255 / 0.14);
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .h1 {
    font-size: 38px;
  }
}

