/* Illegal SMP Wiki - identité hub, version épurée */

:root {
  --radius: 0.25rem;
  --background: #0b0713;
  --foreground: #f3f0f8;
  --surface: #161021;
  --card: #191225;
  --primary: #ee2def;
  --primary-foreground: #07040c;
  --secondary: #271f35;
  --muted: #211c2b;
  --muted-foreground: #a19baf;
  --accent: #35ea52;
  --accent-foreground: #07040c;
  --gold: #f3b01d;
  --destructive: #f51d31;
  --border: #342742;
  --violet: #b981ff;
  --font-display: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-width: 260px;
  --header-h: 56px;
  --content-max: 720px;
  --wide-max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: color-mix(in srgb, var(--primary) 72%, black);
  color: var(--primary-foreground);
}

a {
  color: var(--violet);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-top: 2.2em; }
h3 { font-size: 1.15rem; margin-top: 1.6em; }

p { margin: 0 0 1em; color: var(--muted-foreground); }
p.lead { font-size: 1.05rem; color: var(--foreground); opacity: 0.9; }

ul, ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
  color: var(--muted-foreground);
}

li { margin-bottom: 0.35em; }
li strong { color: var(--foreground); }

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
}

/* --- Shell --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--foreground);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand span { color: var(--primary); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ip-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}

.site-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  background: color-mix(in srgb, var(--violet) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--violet) 28%, transparent);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-link:hover {
  color: var(--foreground);
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

.layout {
  display: grid;
  grid-template-columns: var(--nav-width) 1fr;
  min-height: calc(100vh - var(--header-h));
}

.sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 1.25rem 0.9rem 2rem;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.nav-group {
  margin-bottom: 1.35rem;
}

.nav-group-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.55rem 0.55rem;
}

.nav-link {
  display: block;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--foreground);
  background: var(--muted);
}

.nav-link.active {
  color: var(--foreground);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--primary) 28%, transparent);
}

.main {
  position: relative;
  min-width: 0;
}

.main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 7%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
}

.content {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.content.wide {
  max-width: var(--wide-max);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--muted-foreground); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--foreground); }

/* --- Cards / panels --- */

.panel {
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease;
}

.panel:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: inherit;
  height: 100%;
}

.card-link:hover { color: inherit; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--muted);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  overflow: hidden;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--foreground);
  margin: 0;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  margin: 0;
  flex: 1;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.5rem;
}

/* --- Item page --- */

.item-hero {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.item-preview {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.item-preview img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
}

.item-hero-text { min-width: 0; }
.item-hero-text h1 { margin-bottom: 0.35em; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  background: var(--muted);
}

.badge.legendary { color: var(--destructive); border-color: color-mix(in srgb, var(--destructive) 40%, transparent); background: color-mix(in srgb, var(--destructive) 12%, transparent); }
.badge.epic { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, transparent); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.badge.rare { color: #6ea8ff; border-color: color-mix(in srgb, #6ea8ff 40%, transparent); background: color-mix(in srgb, #6ea8ff 12%, transparent); }
.badge.gold { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.badge.toxic { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

.stat-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.stat-table th,
.stat-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.stat-table th {
  width: 36%;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
}

.stat-table td { color: var(--foreground); }

.recipe {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 4px;
  margin: 0.75rem 0 1.25rem;
}

.recipe-cell {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.15;
  padding: 2px;
}

.recipe-cell.filled {
  color: var(--foreground);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

.callout {
  border-left: 2px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout.warn {
  border-left-color: var(--destructive);
  background: color-mix(in srgb, var(--destructive) 8%, transparent);
}

.callout.gold {
  border-left-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

.callout p { margin: 0; color: var(--foreground); font-size: 0.92rem; }

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.home-hero {
  margin-bottom: 2.5rem;
}

.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.home-hero h1 span {
  color: var(--primary);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { color: inherit; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(100deg, var(--primary), var(--violet));
  color: var(--primary-foreground);
  box-shadow: 0 12px 40px -16px color-mix(in srgb, var(--primary) 55%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}

.placeholder-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  opacity: 0.7;
}

/* --- Countdown / openings --- */

.countdown-card {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 0;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 55%),
    radial-gradient(ellipse at 90% 100%, color-mix(in srgb, var(--destructive) 18%, transparent), transparent 50%),
    color-mix(in srgb, var(--card) 92%, transparent);
}

.countdown-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.countdown-label {
  position: relative;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.countdown-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  background: color-mix(in srgb, var(--background) 70%, transparent);
  backdrop-filter: blur(6px);
}

.countdown-unit span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px color-mix(in srgb, var(--primary) 45%, transparent);
}

.countdown-unit small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.countdown-stamp {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
  margin: 1.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--foreground);
}

.countdown-stamp time {
  background: linear-gradient(100deg, var(--primary), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown-tz {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.countdown-live {
  position: relative;
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
}

.countdown-card.is-live .countdown-grid {
  opacity: 0.35;
}

.dimension-card.nether {
  border-color: color-mix(in srgb, var(--destructive) 35%, var(--border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--destructive) 12%, transparent), transparent 55%),
    color-mix(in srgb, var(--surface) 85%, transparent);
}

.dimension-card.end {
  border-color: color-mix(in srgb, var(--violet) 40%, var(--border));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--violet) 14%, transparent), transparent 55%),
    color-mix(in srgb, var(--surface) 85%, transparent);
}

.dimension-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1em;
}

.muted-note {
  font-size: 0.85em;
  color: var(--muted-foreground);
}

.content .btn {
  margin: 0.5rem 0 1rem;
}

@media (max-width: 520px) {
  .countdown-grid { gap: 0.4rem; }
  .countdown-unit { padding: 0.75rem 0.25rem; }
  .countdown-unit span { font-size: 1.45rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-meta .ip-pill { display: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    inset: var(--header-h) auto 0 0;
    width: min(var(--nav-width), 86vw);
    z-index: 40;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 20px 0 60px rgba(0,0,0,0.45);
  }
  body.nav-open .sidebar { transform: translateX(0); }
  .item-hero { flex-direction: column; align-items: center; text-align: center; }
  .badges { justify-content: center; }
}

/* --- Reveal animations --- */

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes reveal-slide {
  from {
    opacity: 0;
    transform: translateX(-0.9rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-header {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes title-shine {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  40% {
    text-shadow:
      0 0 18px color-mix(in srgb, var(--primary) 50%, transparent),
      0 0 40px color-mix(in srgb, var(--violet) 28%, transparent);
  }
}

@keyframes kicker-pulse {
  0%, 100% { opacity: 0.8; letter-spacing: 0.32em; }
  50% { opacity: 1; letter-spacing: 0.4em; }
}

@keyframes preview-pop {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: reveal-header 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav-group {
    animation: reveal-slide 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .nav-group:nth-child(1) { animation-delay: 0.1s; }
  .nav-group:nth-child(2) { animation-delay: 0.18s; }
  .nav-group:nth-child(3) { animation-delay: 0.26s; }

  .content > * {
    animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .content > *:nth-child(1) { animation-delay: 0.05s; }
  .content > *:nth-child(2) { animation-delay: 0.1s; }
  .content > *:nth-child(3) { animation-delay: 0.15s; }
  .content > *:nth-child(4) { animation-delay: 0.2s; }
  .content > *:nth-child(5) { animation-delay: 0.25s; }
  .content > *:nth-child(6) { animation-delay: 0.3s; }
  .content > *:nth-child(7) { animation-delay: 0.35s; }
  .content > *:nth-child(8) { animation-delay: 0.4s; }
  .content > *:nth-child(9) { animation-delay: 0.45s; }
  .content > *:nth-child(n+10) { animation-delay: 0.5s; }

  .home-hero .kicker,
  .item-hero .kicker {
    animation: kicker-pulse 2.2s ease-in-out 0.35s 1;
  }

  .home-hero h1,
  .item-hero h1 {
    animation: title-shine 2.6s ease-in-out 0.45s 1;
  }

  .item-hero .item-preview {
    animation: preview-pop 0.75s cubic-bezier(0.34, 1.45, 0.64, 1) 0.12s both;
  }

  .home-actions .btn,
  .item-hero .badges .badge {
    animation: reveal-scale 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .home-actions .btn:nth-child(1),
  .item-hero .badges .badge:nth-child(1) { animation-delay: 0.32s; }
  .home-actions .btn:nth-child(2),
  .item-hero .badges .badge:nth-child(2) { animation-delay: 0.42s; }
  .home-actions .btn:nth-child(3),
  .item-hero .badges .badge:nth-child(3) { animation-delay: 0.52s; }

  .grid > .panel,
  .grid > .card-link {
    animation: reveal-scale 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .grid > :nth-child(1) { animation-delay: 0.12s; }
  .grid > :nth-child(2) { animation-delay: 0.2s; }
  .grid > :nth-child(3) { animation-delay: 0.28s; }
  .grid > :nth-child(4) { animation-delay: 0.36s; }
  .grid > :nth-child(5) { animation-delay: 0.44s; }
  .grid > :nth-child(6) { animation-delay: 0.52s; }
  .grid > :nth-child(n+7) { animation-delay: 0.58s; }

  .content > ul > li,
  .content > ol > li {
    animation: reveal-slide 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .content > ul > li:nth-child(1),
  .content > ol > li:nth-child(1) { animation-delay: 0.08s; }
  .content > ul > li:nth-child(2),
  .content > ol > li:nth-child(2) { animation-delay: 0.14s; }
  .content > ul > li:nth-child(3),
  .content > ol > li:nth-child(3) { animation-delay: 0.2s; }
  .content > ul > li:nth-child(4),
  .content > ol > li:nth-child(4) { animation-delay: 0.26s; }
  .content > ul > li:nth-child(5),
  .content > ol > li:nth-child(5) { animation-delay: 0.32s; }
  .content > ul > li:nth-child(6),
  .content > ol > li:nth-child(6) { animation-delay: 0.38s; }
  .content > ul > li:nth-child(n+7),
  .content > ol > li:nth-child(n+7) { animation-delay: 0.44s; }

  .stat-table tr {
    animation: reveal-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .stat-table tr:nth-child(1) { animation-delay: 0.08s; }
  .stat-table tr:nth-child(2) { animation-delay: 0.14s; }
  .stat-table tr:nth-child(3) { animation-delay: 0.2s; }
  .stat-table tr:nth-child(4) { animation-delay: 0.26s; }
  .stat-table tr:nth-child(5) { animation-delay: 0.32s; }
  .stat-table tr:nth-child(n+6) { animation-delay: 0.38s; }

  .content > .callout {
    animation: reveal-slide 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
  }

  .panel.card-link {
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .panel.card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -18px color-mix(in srgb, var(--primary) 50%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-group,
  .content > *,
  .grid > .panel,
  .grid > .card-link,
  .home-actions .btn,
  .item-hero .badges .badge,
  .item-hero .item-preview {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
