:root {
  --bg: #0b0714;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.6);
  --accent: #a78bfa;
}

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

body {
  font-family: ui-rounded, -apple-system, system-ui, "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 15% -10%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(50rem 35rem at 110% 20%, rgba(217, 70, 239, 0.22), transparent 60%),
    radial-gradient(45rem 40rem at 50% 110%, rgba(190, 24, 93, 0.25), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

header.hero { text-align: center; margin-bottom: 3.5rem; }

.hero img {
  width: 8rem;
  height: 8rem;
  border-radius: 1.8rem;
  box-shadow: 0 0 3rem rgba(167, 139, 250, 0.45);
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-top: 1.2rem;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.6rem 0 1rem;
}

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.8rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}

.card strong { display: block; margin-bottom: 0.15rem; }
.card span { color: var(--muted); font-size: 0.92rem; }

ul.traits { list-style: none; }
ul.traits li { padding: 0.3rem 0; color: var(--muted); }
ul.traits li::before { content: "✦ "; color: var(--accent); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

article p, article ul { margin-bottom: 1rem; color: var(--text); }
article ul { padding-left: 1.3rem; }
article li { margin-bottom: 0.5rem; }
article li strong { color: var(--text); }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.back { display: inline-block; margin-bottom: 2rem; }
.lang-note { color: var(--muted); font-size: 0.95rem; }
