/* =========================================================
   MCraft — Persian Minecraft landing page
   ========================================================= */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b14;
  --bg-soft: #0a1120;
  --surface: rgba(15, 23, 42, .72);
  --surface-2: rgba(17, 27, 49, .9);
  --border: rgba(148, 163, 184, .14);
  --border-strong: rgba(148, 163, 184, .26);
  --text: #e8eef9;
  --muted: #9fb0ca;
  --muted-2: #7c8ca6;
  --green: #34d399;
  --green-deep: #10b981;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --amber: #fbbf24;
  --purple: #c084fc;
  --red: #fb7185;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header: 76px;
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(52, 211, 153, .11), transparent 60%),
    radial-gradient(800px 500px at 5% 15%, rgba(34, 211, 238, .08), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(168, 85, 247, .07), transparent 60%),
    var(--bg);
  pointer-events: none;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(148, 163, 184, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 80%);
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(52, 211, 153, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.container--narrow { width: min(820px, calc(100% - 48px)); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn--primary {
  color: #04150f;
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 42%, #22d3ee 100%);
  box-shadow: 0 10px 30px -10px rgba(52, 211, 153, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(52, 211, 153, .85), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn--ghost {
  color: var(--text);
  background: rgba(15, 23, 42, .55);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, .55);
  background: rgba(20, 32, 54, .8);
}
.btn--sm { padding: 10px 16px; font-size: .85rem; gap: 7px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 20, .78);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { filter: drop-shadow(0 4px 14px rgba(52, 211, 153, .35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: .14em;
  background: linear-gradient(100deg, #fff, #a7f3d0 70%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__text small { font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, .6);
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, .15) 0%, rgba(7, 11, 20, .45) 48%, rgba(7, 11, 20, .92) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 20, .45) 30%, transparent 62%),
    radial-gradient(900px 500px at 80% 45%, rgba(52, 211, 153, .06), transparent 70%);
}
.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 150px;
  padding-bottom: 110px;
}
.hero__content { max-width: 700px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 999px;
  background: rgba(16, 185, 129, .1);
  color: #a7f3d0;
  font-size: .78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, .16); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, .04); }
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.03em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.grad {
  background: linear-gradient(100deg, #6ee7b7 0%, #34d399 34%, #22d3ee 72%, #a3e635 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 26px rgba(52, 211, 153, .25));
}
.hero__lead {
  margin-top: 22px;
  max-width: 590px;
  color: #c4d2e6;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 2;
}
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats {
  display: flex;
  gap: 0;
  margin: 46px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(148, 163, 184, .16);
  max-width: 560px;
}
.hero__stats > div { padding-inline: 28px; border-inline-end: 1px solid rgba(148, 163, 184, .16); }
.hero__stats > div:first-child { padding-inline-start: 0; }
.hero__stats > div:last-child { border-inline-end: 0; }
.hero__stats dt {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(120deg, #fff, #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stats dd { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }

.hero__badge {
  position: relative;
  width: 190px;
  height: 190px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(167, 243, 208, .27);
  background: radial-gradient(circle at 35% 30%, rgba(52, 211, 153, .18), rgba(7, 11, 20, .35) 65%);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px -30px rgba(52, 211, 153, .45), inset 0 0 50px rgba(52, 211, 153, .08);
}
.hero__badge img { width: 88px; height: 88px; filter: drop-shadow(0 8px 26px rgba(52, 211, 153, .55)); }
.hero__badge-ring {
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(167, 243, 208, .3);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.hero__badge-ring::before,
.hero__badge-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--green);
  transform: rotate(45deg);
  box-shadow: 0 0 16px var(--green);
}
.hero__badge-ring::before { top: 12px; left: 50%; }
.hero__badge-ring::after { bottom: 12px; left: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge-text {
  position: absolute;
  bottom: 30px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: #a7f3d0;
  text-align: center;
  line-height: 1.6;
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(226, 232, 240, .38);
  border-radius: 999px;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  transform: translateX(-50%);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(8, 14, 26, .75);
  padding: 17px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: #8fa4c0;
  white-space: nowrap;
}
.marquee i {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  transform: rotate(45deg);
  flex: 0 0 auto;
}
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--gallery {
  background: linear-gradient(180deg, transparent, rgba(10, 17, 32, .75) 18%, rgba(10, 17, 32, .75) 82%, transparent);
  border-block: 1px solid rgba(148, 163, 184, .07);
}
.section--downloads {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(34, 211, 238, .07), transparent 60%),
    radial-gradient(900px 500px at 0% 80%, rgba(52, 211, 153, .07), transparent 60%);
}
.section-head { max-width: 700px; margin-bottom: 54px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgba(52, 211, 153, .25);
  border-radius: 999px;
  background: rgba(16, 185, 129, .08);
  color: #a7f3d0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  transform: rotate(45deg);
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.7vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(30, 41, 59, .55), rgba(9, 15, 28, .7));
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.feature::before {
  content: "";
  position: absolute;
  inset-inline: 18%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  opacity: .6;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, .32);
  background: linear-gradient(160deg, rgba(30, 41, 59, .72), rgba(9, 15, 28, .8));
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  box-shadow: 0 8px 26px -12px color-mix(in srgb, var(--c) 60%, transparent);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.06rem; font-weight: 800; }
.feature p { margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.9; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 232px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #0b1322;
  cursor: zoom-in;
  text-align: start;
  color: var(--text);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 8, 16, .92) 0%, rgba(4, 8, 16, .32) 42%, transparent 72%);
  pointer-events: none;
}
.gallery__item:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, .4);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9);
}
.gallery__item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gallery__caption {
  position: absolute;
  inset-inline: 20px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(6px);
  transition: transform .35s ease;
}
.gallery__item:hover .gallery__caption { transform: none; }
.gallery__caption strong { font-size: 1.05rem; font-weight: 800; }
.gallery__caption small { color: #b9c8dd; font-size: .78rem; }

/* ---------- about / SEO content ---------- */
.section--about {
  background:
    radial-gradient(700px 400px at 0% 50%, rgba(52, 211, 153, .06), transparent 65%),
    radial-gradient(700px 400px at 100% 50%, rgba(34, 211, 238, .05), transparent 65%);
}
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.about__body h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.about__body p {
  margin-top: 16px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 2.05;
}
.about__body p strong { color: #e8eef9; }
.about__body p a {
  color: #6ee7b7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about__list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.about__list li {
  position: relative;
  padding-inline-start: 28px;
  color: #cbd5e1;
  font-size: .9rem;
}
.about__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 14px rgba(52, 211, 153, .45);
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 26px;
  box-shadow: 0 30px 80px -40px #000;
}
.about__caption {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 999px;
  background: rgba(7, 11, 20, .72);
  backdrop-filter: blur(10px);
  color: #dbeafe;
  font-size: .74rem;
}

/* ---------- downloads ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dl-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(23, 34, 56, .72), rgba(8, 14, 26, .85));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.dl-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), transparent);
  opacity: .55;
}
.dl-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, .3);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .9);
}
.dl-card--latest {
  border-color: rgba(52, 211, 153, .36);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(52, 211, 153, .13), transparent 70%),
    linear-gradient(165deg, rgba(23, 34, 56, .8), rgba(8, 14, 26, .9));
  box-shadow: 0 20px 60px -34px rgba(52, 211, 153, .55);
}
.dl-card--latest::before { opacity: 1; height: 4px; }
.dl-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dl-card__date { color: var(--muted-2); font-size: .74rem; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  border: 1px solid currentColor;
}
.tag--green { color: #6ee7b7; background: rgba(52, 211, 153, .12); }
.tag--cyan { color: #67e8f9; background: rgba(34, 211, 238, .1); }
.tag--blue { color: #93c5fd; background: rgba(96, 165, 250, .1); }
.tag--purple { color: #d8b4fe; background: rgba(192, 132, 252, .1); }
.tag--amber { color: #fcd34d; background: rgba(251, 191, 36, .1); }
.tag--red { color: #fda4af; background: rgba(251, 113, 133, .1); }
.dl-card__version {
  margin-top: 14px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  direction: ltr;
  text-align: right;
}
.dl-card--latest .dl-card__version {
  background: linear-gradient(100deg, #fff, #6ee7b7 60%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dl-card__desc { margin-top: 9px; color: var(--muted); font-size: .88rem; line-height: 1.9; min-height: 3.4em; }
.dl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, .16);
}
.dl-card__meta span {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(148, 163, 184, .08);
  color: #b7c6da;
  font-size: .72rem;
}
.dl-card__actions { display: flex; gap: 8px; margin-top: 18px; }
.dl-card__actions .btn { flex: 1; }
.download-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(251, 191, 36, .22);
  border-radius: 16px;
  background: rgba(251, 191, 36, .05);
  color: #c9d5e6;
  font-size: .86rem;
  line-height: 1.9;
}
.download-note svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--amber); margin-top: 3px; }
.download-note a { color: #fcd34d; text-decoration: underline; text-underline-offset: 3px; }
.download-note strong { color: #fff; }

/* ---------- guide ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(20, 31, 52, .6), rgba(8, 14, 26, .7));
}
.step__num {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(140deg, #6ee7b7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .85;
}
.step h3 { margin-top: 16px; font-size: 1.08rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.9; }

.code-card {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0a1220, #05080f);
  overflow: hidden;
  box-shadow: 0 30px 70px -40px #000;
}
.code-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
  color: var(--muted);
  font-size: .78rem;
}
.code-card__dots { display: inline-flex; gap: 6px; }
.code-card__dots i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; opacity: .8; }
.code-card__dots i:nth-child(2) { background: #f59e0b; }
.code-card__dots i:nth-child(3) { background: #22c55e; }
.copy-btn {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(148, 163, 184, .06);
  color: var(--muted);
  font-size: .74rem;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { color: #a7f3d0; border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .08); }
.copy-btn.is-copied { color: #6ee7b7; border-color: rgba(52, 211, 153, .5); }
.code-card pre {
  margin: 0;
  padding: 22px 20px 8px;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: .88rem;
  line-height: 1.7;
  color: #d7e3f4;
}
.tok-dim { color: #64748b; user-select: none; }
.code-card__hint { padding: 4px 20px 20px; color: var(--muted-2); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 23, 42, .55);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq__item[open], .faq__item:hover {
  border-color: rgba(52, 211, 153, .28);
  background: rgba(17, 27, 49, .75);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: .96rem;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 6px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.95;
}
.faq__item p a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 20px; }
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 42px 44px;
  border: 1px solid rgba(52, 211, 153, .22);
  border-radius: 30px;
  background:
    radial-gradient(700px 300px at 85% 20%, rgba(34, 211, 238, .15), transparent 70%),
    radial-gradient(600px 300px at 10% 100%, rgba(52, 211, 153, .16), transparent 70%),
    linear-gradient(150deg, rgba(16, 30, 48, .9), rgba(8, 14, 26, .95));
  box-shadow: 0 40px 100px -50px rgba(52, 211, 153, .4);
}
.cta__glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}
.cta__mark { position: relative; width: 78px; height: 78px; flex: 0 0 auto; filter: drop-shadow(0 8px 30px rgba(52, 211, 153, .5)); }
.cta__content { position: relative; flex: 1; }
.cta__content h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta__content p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.cta > .btn { position: relative; flex: 0 0 auto; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: 100px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 14, 26, .6), #04070d);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer__brand p { margin-top: 16px; max-width: 340px; color: var(--muted); font-size: .86rem; line-height: 1.95; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(148, 163, 184, .04);
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.footer__social a:hover { color: #6ee7b7; border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.enamad-seal { margin-top: 20px; }
.enamad-seal a {
  display: inline-block;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
  line-height: 0;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .7);
}
.enamad-seal img { width: 105px; height: auto; }
.footer__seal-row { display: flex; padding-top: 32px; }
.footer__disclaimer a {
  color: #6ee7b7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { margin-bottom: 6px; font-size: .92rem; font-weight: 800; }
.footer__col a { color: var(--muted); font-size: .86rem; transition: color .2s ease, transform .2s ease; width: fit-content; }
.footer__col a:hover { color: #6ee7b7; transform: translateX(-3px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(148, 163, 184, .1);
  color: var(--muted-2);
  font-size: .76rem;
}
.footer__disclaimer { text-align: left; }

/* ---------- to top ---------- */
.to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(52, 211, 153, .35);
  border-radius: 12px;
  background: rgba(8, 14, 26, .85);
  color: #6ee7b7;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: rgba(52, 211, 153, .12); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 10px;
  padding: 24px;
  background: rgba(3, 6, 12, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox img {
  max-width: min(1100px, 86vw);
  max-height: 78vh;
  width: auto;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 16px;
  box-shadow: 0 40px 120px -30px #000;
  background: #0b1322;
}
.lightbox figcaption { color: #cbd5e1; font-size: .9rem; text-align: center; }
.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(15, 23, 42, .7);
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .45); transform: scale(1.06); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 18px; left: 18px; z-index: 2; }
.lightbox__nav--prev { justify-self: start; }
.lightbox__nav--next { justify-self: end; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__col:last-child { display: none; }
  .hero__badge { width: 160px; height: 160px; }
  .hero__badge img { width: 72px; height: 72px; }
}
@media (max-width: 900px) {
  :root { --header: 68px; }
  .nav {
    position: fixed;
    top: var(--header);
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(7, 11, 20, .97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid rgba(148, 163, 184, .08); font-size: .98rem; }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .hero__inner { padding-top: 130px; padding-bottom: 90px; }
  .hero__badge { display: none; }
  .hero__overlay {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 20, .7) 45%, rgba(7, 11, 20, .55) 100%),
      linear-gradient(90deg, rgba(7, 11, 20, .35), rgba(7, 11, 20, .7));
  }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .cta { flex-wrap: wrap; padding: 34px 28px; }
  .cta__mark { width: 62px; height: 62px; }
  .cta__content { flex: 1 1 220px; }
  .cta > .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__brand { grid-column: span 2; }
  .footer__col:last-child { display: flex; }
}
@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 36px); }
  .section { padding: 84px 0; }
  .header-actions .btn { display: none; }
  .hero__inner { padding-top: 118px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .hero__lead { font-size: .96rem; }
  .hero__stats { flex-wrap: wrap; gap: 18px 0; }
  .hero__stats > div { padding-inline: 20px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
  .download-grid { grid-template-columns: 1fr; }
  .dl-card__desc { min-height: 0; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__disclaimer { text-align: right; }
  .lightbox { grid-template-columns: 1fr; padding: 16px; }
  .lightbox__nav { position: absolute; bottom: 20px; z-index: 2; }
  .lightbox__nav--prev { left: calc(50% - 58px); }
  .lightbox__nav--next { right: calc(50% - 58px); }
  .lightbox img { max-width: 92vw; max-height: 70vh; }
  .cta { padding: 30px 22px; border-radius: 22px; }
}
/* ---------- download center page ---------- */
.page-downloads { background: #060a12; }
.page-downloads .site-header { background: rgba(7, 11, 20, .82); border-bottom-color: var(--border); backdrop-filter: blur(18px); }
.dl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.dl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 10, 18, .08) 0%, rgba(6, 10, 18, .4) 45%, rgba(6, 10, 18, .93) 100%),
    linear-gradient(0deg, #060a12 0%, rgba(6, 10, 18, .15) 52%, rgba(6, 10, 18, .45) 100%);
}
.dl-hero__inner { position: relative; padding-top: calc(var(--header) + 80px); padding-bottom: 70px; }
.dl-hero__inner > .pill,
.dl-hero__inner > h1,
.dl-hero__inner > p,
.dl-hero__inner > .dl-hero__stats { max-width: 760px; }
.dl-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.dl-hero p { margin-top: 18px; max-width: 580px; color: #c4d2e6; font-size: 1rem; line-height: 2; }
.dl-hero__stats { display: flex; gap: 0; margin-top: 32px; }
.dl-hero__stats > div {
  display: flex;
  flex-direction: column;
  padding-inline: 26px;
  border-inline-end: 1px solid rgba(148, 163, 184, .2);
}
.dl-hero__stats > div:first-child { padding-inline-start: 0; }
.dl-hero__stats > div:last-child { border-inline-end: 0; }
.dl-hero__stats strong {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(120deg, #fff, #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dl-hero__stats span { color: var(--muted); font-size: .78rem; }

.dl-section { padding-top: 54px; }
.dl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, .55);
}
.dl-search {
  position: relative;
  flex: 1 1 300px;
  max-width: 420px;
}
.dl-search svg {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  transform: translateY(-50%);
  pointer-events: none;
}
.dl-search input {
  width: 100%;
  padding: 11px 44px 11px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(6, 10, 18, .7);
  color: var(--text);
  font-family: inherit;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dl-search input::placeholder { color: var(--muted-2); }
.dl-search input:focus { border-color: rgba(52, 211, 153, .5); box-shadow: 0 0 0 3px rgba(52, 211, 153, .1); }
.dl-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(148, 163, 184, .05);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.chip:hover { color: var(--text); border-color: rgba(52, 211, 153, .35); }
.chip.is-active {
  color: #04150f;
  border-color: transparent;
  background: linear-gradient(135deg, #6ee7b7, #34d399 55%, #22d3ee);
  box-shadow: 0 8px 20px -10px rgba(52, 211, 153, .8);
}
.dl-count { margin: 18px 4px 14px; color: var(--muted-2); font-size: .8rem; }
.dl-list { display: flex; flex-direction: column; gap: 14px; }
.dl-row {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 186px;
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 31, 52, .62), rgba(8, 14, 26, .82));
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.dl-row:hover {
  border-color: rgba(52, 211, 153, .3);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -30px #000;
}
.dl-row[hidden] { display: none; }
.dl-row__version {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-inline-end: 24px;
  border-inline-end: 1px dashed rgba(148, 163, 184, .18);
}
.dl-row__version strong {
  direction: ltr;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.dl-row__date { color: var(--muted-2); font-size: .74rem; }
.dl-row__body p { color: var(--muted); font-size: .9rem; line-height: 1.9; }
.dl-row__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dl-row__meta span {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(148, 163, 184, .08);
  color: #b7c6da;
  font-size: .72rem;
}
.dl-row__sha { margin-top: 10px; }
.dl-row__sha summary {
  width: fit-content;
  color: var(--muted-2);
  font-size: .74rem;
  cursor: pointer;
  list-style: none;
}
.dl-row__sha summary::-webkit-details-marker { display: none; }
.dl-row__sha summary::before { content: "+ "; color: var(--green); }
.dl-row__sha[open] summary::before { content: "− "; }
.dl-row__sha code {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .68rem;
  direction: ltr;
  text-align: left;
  word-break: break-all;
}
.dl-row__actions { display: flex; flex-direction: column; gap: 8px; }
.dl-row__actions .btn { width: 100%; }
.dl-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  margin-top: 8px;
}
.dl-back { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.page-downloads .site-footer { margin-top: 70px; }

@media (max-width: 900px) {
  .dl-row { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
  .dl-row__version { padding-inline-end: 18px; }
  .dl-row__actions { grid-column: 1 / -1; flex-direction: row; }
  .dl-row__actions .btn { flex: 1; }
}
@media (max-width: 640px) {
  .dl-hero { min-height: 500px; }
  .dl-hero__inner { padding-top: calc(var(--header) + 56px); padding-bottom: 50px; }
  .dl-hero__stats > div { padding-inline: 18px; }
  .dl-row { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .dl-row__version {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-inline-end: 0;
    border-inline-end: 0;
    border-bottom: 1px dashed rgba(148, 163, 184, .18);
    padding-bottom: 14px;
  }
  .dl-row__version strong { font-size: 1.6rem; }
  .dl-row__date { margin-inline-start: auto; }
  .dl-toolbar { padding: 12px; }
  .dl-search { max-width: none; }
  .dl-filters { width: 100%; }
  .chip { flex: 1; text-align: center; padding-inline: 10px; }
}

/* ---------- image credits page ---------- */
.page-credits { background: #060a12; }
.page-credits .site-header { background: rgba(7, 11, 20, .82); border-bottom-color: var(--border); backdrop-filter: blur(18px); }
.credits-section { padding-top: calc(var(--header) + 80px); }
.credits-section .section-head { max-width: 820px; }
.credits-section .section-head h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.credits-section .section-head p a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }
.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.credit-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 31, 52, .62), rgba(8, 14, 26, .82));
  transition: transform .25s ease, border-color .25s ease;
}
.credit-card:hover { transform: translateY(-3px); border-color: rgba(52, 211, 153, .3); }
.credit-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.credit-card__body { padding: 15px 17px 17px; }
.credit-card__body h2 { font-size: 1rem; font-weight: 800; }
.credit-card__body p { margin-top: 4px; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.credit-card__body p a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }
.credit-card__source {
  display: inline-block;
  margin-top: 10px;
  color: #67e8f9;
  font-size: .76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.credit-card__source:hover { color: #a5f3fc; }
.page-credits .site-footer { margin-top: 70px; }

@media (max-width: 900px) {
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .credits-grid { grid-template-columns: 1fr; }
  .credits-section { padding-top: calc(var(--header) + 50px); }
}

@media (max-width: 640px) {
  .hero__bg { object-position: 30% center; }
  .page-downloads .header-actions .btn {
    display: inline-flex;
    padding: 9px 13px;
    font-size: .76rem;
  }
  .page-downloads .header-actions .btn svg { width: 15px; height: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
