/* UI Theme Library — landing only. Relative, static, no build. */
:root {
  --ink: #14141c;
  --muted: #5c5c6e;
  --paper: #f6f3ee;
  --line: #e4dfd6;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Outfit", "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 18px; }
.brand i {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #14141c; color: #fff; font-style: normal; font-weight: 800;
}
.top nav { display: flex; gap: 18px; font-weight: 650; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

.hero { padding: 48px 0 36px; max-width: 720px; }
.hero .eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px); line-height: 0.98; letter-spacing: -.05em;
  font-weight: 800; margin: 0 0 16px;
}
.hero p { margin: 0; font-size: 18px; color: var(--muted); font-weight: 500; max-width: 540px; line-height: 1.5; }

.themes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  padding: 12px 0 80px;
}
.theme-card {
  display: block; text-decoration: none; border-radius: 28px; overflow: hidden;
  min-height: 420px; position: relative; isolation: isolate;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s;
}
.theme-card:hover { transform: translateY(-6px); }
.theme-card .preview { height: 250px; position: relative; overflow: hidden; }
.theme-card .meta { padding: 22px 24px 24px; background: #fff; }
.theme-card .kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.theme-card h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; }
.theme-card p { margin: 0; color: var(--muted); font-weight: 500; font-size: 14px; }
.theme-card .cta { margin-top: 14px; font-weight: 700; font-size: 14px; }

/* Manga Pop preview */
.card-manga { box-shadow: 8px 8px 0 #1c1c28; border: 3px solid #1c1c28; }
.card-manga .preview {
  background: #f7f5ff;
  background-image: radial-gradient(#d9d6ee 1px, transparent 1px);
  background-size: 12px 12px;
  display: flex; align-items: center; justify-content: center;
}
.card-manga .kicker { color: #4f56c9; }
.fake-btn {
  background: #6b74e8; color: #fff; font-weight: 800;
  border: 2px solid #1c1c28; border-radius: 999px;
  padding: 10px 22px; box-shadow: 4px 4px 0 #c5c9f5;
  font-family: inherit; font-size: 16px;
}
.fake-boom {
  position: absolute; top: 28px; left: 28px;
  font-family: "Bangers", impact, sans-serif;
  font-size: 42px; color: #4f56c9;
  -webkit-text-stroke: 4px #fff; paint-order: stroke fill;
  letter-spacing: .04em; transform: rotate(-12deg);
  text-shadow: 3px 3px 0 #c5c9f5;
}

/* Liquid Glass preview */
.card-glass { border: 1px solid rgba(255,255,255,.2); box-shadow: 0 18px 50px rgba(8,12,32,.28); }
.card-glass .preview {
  background:
    radial-gradient(400px 200px at 20% 0%, rgba(167,139,250,.7), transparent 60%),
    radial-gradient(400px 220px at 90% 80%, rgba(56,189,248,.6), transparent 55%),
    linear-gradient(160deg, #14183a, #0b1020);
  display: flex; align-items: center; justify-content: center;
}
.card-glass .meta { background: #12162c; color: #f4f7ff; }
.card-glass p { color: #b7c0d9; }
.card-glass .kicker { color: #67e8f9; }
.fake-glass {
  background: linear-gradient(145deg, rgba(125,211,252,.5), rgba(167,139,250,.45));
  color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px; padding: 10px 22px;
  box-shadow: 0 10px 30px rgba(56,189,248,.3), inset 0 1px 0 rgba(255,255,255,.4);
  backdrop-filter: blur(10px);
  font-size: 16px;
}
.blob {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  filter: blur(30px); opacity: .55; animation: morph 8s ease-in-out infinite;
}
.blob.a { left: 10%; top: 10%; background: #6366f1; }
.blob.b { right: 8%; bottom: 5%; background: #22d3ee; animation-delay: -3s; }
@keyframes morph {
  50% { border-radius: 40% 60% 50% 70%; transform: translate(12px, -10px) scale(1.1); }
}

.foot {
  border-top: 1px solid var(--line); padding: 28px 0 48px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px; font-weight: 500;
}
.foot a { font-weight: 700; text-decoration: none; }

@media (max-width: 760px) {
  .themes { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 20px; }
  .top nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-card, .blob { animation: none !important; transition: none !important; }
}
