/* iScreensavers — Windows-native catalog, light surfaces + cinematic dark heroes */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f3f5fa;
  --surface: #ffffff;
  --soft: #f5f7fc;
  --ink: #0b1220;
  --text: #1a2336;
  --muted: #5d687d;
  --line: #e3e8f1;
  --accent: #0a6cff;
  --accent-dark: #0654cc;
  --accent-soft: #e8f1ff;
  --violet: #6b5cff;
  --green: #0f8a5f;
  --dark: #070b16;
  --dark-2: #0d1528;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 4px 14px rgba(11, 18, 32, 0.05);
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.14);
  --shadow-lg: 0 40px 90px rgba(3, 8, 20, 0.5);
  --max: 1240px;
  --sans: "Inter", "Segoe UI Variable", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", "Segoe UI Variable Display", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .btn, .card-title, .tile-text strong, .hero-stats b, .podium-rank, .rank-num, .dl-ring span, .error-page h1 { font-family: var(--display); }
svg { flex: 0 0 auto; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(227, 232, 241, 0.9);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-nav .inner { display: flex; min-height: 64px; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo-img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px rgba(42, 109, 244, 0.35); transition: transform 0.25s ease; }
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.05); }
.logo-text { display: grid; line-height: 1.05; }
.logo-word { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.logo-word b { background: linear-gradient(135deg, #2a8bff, #6a4cff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.logo-text small { margin-top: 3px; color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.categories-trigger {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #3b475c;
  background: transparent;
  font-size: 14px;
  font-weight: 620;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.15s ease;
}
.nav-links > li > a:hover,
.categories-trigger:hover,
.nav-links .active { color: var(--ink); background: #edf1f8; }
.categories-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(720px, calc(100vw - 32px));
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: 0.16s ease;
}
.nav-category:hover .categories-menu,
.nav-category:focus-within .categories-menu { visibility: visible; opacity: 1; transform: none; }
.categories-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 2px 6px 12px;
  border-bottom: 1px solid var(--line);
}
.categories-menu-head strong { color: var(--ink); font-size: 14px; }
.categories-menu-head span { color: var(--muted); font-size: 12px; }
.category-menu-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.category-menu-group > strong {
  display: block;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.categories-menu a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 10px;
  color: #3b475c;
  font-size: 13px;
  font-weight: 620;
}
.categories-menu a:hover { color: var(--accent-dark); background: var(--accent-soft); }
.category-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
}
.category-icon svg { width: 17px; height: 17px; }

/* ---------- Shared type & controls ---------- */
.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 680;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-xl { min-height: 58px; padding: 0 30px; font-size: 17px; border-radius: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2b86ff, #0a6cff);
  box-shadow: 0 10px 26px rgba(10, 108, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { background: linear-gradient(180deg, #1f7bf5, #0759d6); box-shadow: 0 14px 32px rgba(10, 108, 255, 0.42); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #dbe6ff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 620;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #35e0a1; box-shadow: 0 0 0 4px rgba(53, 224, 161, 0.2); }
.chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3b475c;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 620;
  transition: 0.15s ease;
}
.chip:hover { color: var(--accent-dark); border-color: #b9d3ff; background: var(--accent-soft); }
.chip.is-active { color: #fff; border-color: var(--accent); background: var(--accent); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
}
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* shared cinematic backdrop */
.hero, .banner, .pd-hero, .dl-stage { position: relative; overflow: hidden; color: #fff; background: var(--dark); isolation: isolate; }
.banner, .pd-hero { padding-top: 34px; }
.hero-bg {
  position: absolute;
  inset: -60px;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: blur(48px) saturate(1.6);
  opacity: 0.55;
  transform: scale(1.1);
}
.hero::after, .banner::after, .pd-hero::after, .dl-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(107, 92, 255, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(7, 11, 22, 0.35), rgba(7, 11, 22, 0.8));
  content: "";
}

/* ---------- Home hero ---------- */
.hero { padding: 76px 0 130px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 64px; }
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero .lead { max-width: 520px; color: rgba(231, 238, 255, 0.78); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 38px; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); list-style: none; }
.hero-stats b { display: block; font-size: 28px; font-weight: 740; letter-spacing: -0.03em; }
.hero-stats span { color: rgba(231, 238, 255, 0.6); font-size: 13px; }
.hero-device { display: block; perspective: 1600px; }
.monitor { transform: rotateY(-7deg) rotateX(2deg); transition: transform 0.5s ease; }
.hero-device:hover .monitor { transform: rotateY(-2deg) rotateX(0); }
.monitor-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 9px solid #121826;
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 80px rgba(60, 120, 255, 0.28);
}
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; }
.monitor-glow { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 35%); pointer-events: none; }
.monitor-neck { width: 96px; height: 40px; margin: 0 auto; background: linear-gradient(90deg, #151c2c, #2a3550, #151c2c); }
.monitor-base { width: 240px; height: 10px; margin: 0 auto; border-radius: 6px; background: linear-gradient(90deg, #151c2c, #2f3b5a, #151c2c); }
.device-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 420px;
  margin: 22px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}
.device-chip small { display: block; color: rgba(231, 238, 255, 0.6); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.device-chip strong { font-size: 15px; }
.device-chip b { color: #8dc0ff; font-size: 14px; }

.trust-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -58px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.trust-strip > div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.trust-strip > div + div { border-left: 1px solid var(--line); }
.trust-strip .ico {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
}
.trust-strip .ico svg { width: 22px; height: 22px; }
.trust-strip strong { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.trust-strip p { color: var(--muted); font-size: 12.5px; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 56px 0 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-title { color: var(--ink); font-size: clamp(26px, 3vw, 34px); font-weight: 740; line-height: 1.15; letter-spacing: -0.035em; }
.see-all {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}
.see-all:hover { color: #fff; background: var(--accent); }
.band-dark { margin: 40px 0 16px; color: #fff; background: linear-gradient(180deg, #0a1020, #0e1730); }
.band-dark .section { padding-bottom: 56px; }
.band-dark .section-title { color: #fff; }
.band-dark .eyebrow { color: #7db5ff; }
.band-dark .see-all { color: #cfe1ff; background: rgba(255, 255, 255, 0.1); }
.band-dark .see-all:hover { color: #fff; background: var(--accent); }
.band-dark .card { border-color: #1d2a47; background: #121b33; box-shadow: none; }
.band-dark .card-title { color: #fff; }
.band-dark .card-meta { color: #8c9ab6; }

/* Collection tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background: #1a2238;
  box-shadow: var(--shadow-sm);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 20, 0.05) 30%, rgba(5, 9, 20, 0.82)); }
.tile-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(10, 16, 32, 0.45);
  backdrop-filter: blur(10px);
}
.tile-icon svg { width: 21px; height: 21px; }
.tile-text { position: absolute; right: 16px; bottom: 14px; left: 16px; }
.tile-text strong { display: block; font-size: 21px; letter-spacing: -0.02em; }
.tile-text small { color: rgba(255, 255, 255, 0.78); font-size: 13px; }

.category-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.category-group { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.category-group > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.category-group > div { display: grid; gap: 2px; }
.category-group a {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  border-radius: 10px;
  color: #36425a;
  font-size: 14px;
  font-weight: 620;
}
.category-group a:hover { color: var(--accent-dark); background: var(--accent-soft); }
.category-group svg { width: 19px; height: 19px; color: var(--accent); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #c8d8f2; box-shadow: 0 22px 44px rgba(11, 18, 32, 0.14); }
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e4e9f3;
}
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:not(.card-preview):hover .card-media img { transform: scale(1.05); }
.card-cta {
  position: absolute;
  bottom: 12px;
  left: 50%;
  padding: 8px 16px;
  transform: translate(-50%, 8px);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 16, 32, 0.55);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: 0.2s ease;
}
.card:hover .card-cta { transform: translate(-50%, 0); opacity: 1; }
.badge-q, .rank {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 760;
  letter-spacing: 0.04em;
}
.badge-q { right: 12px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(10, 16, 32, 0.55); backdrop-filter: blur(8px); }
.rank { left: 12px; background: linear-gradient(135deg, #2b86ff, #6b5cff); font-size: 13px; }
.card-body { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 4px; padding: 15px 17px 17px; }
.card-title { overflow: hidden; color: var(--ink); font-size: 16.5px; font-weight: 680; line-height: 1.3; letter-spacing: -0.015em; text-overflow: ellipsis; white-space: nowrap; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.card-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-size { flex: 0 0 auto; font-variant-numeric: tabular-nums; }

.grid-spotlight .card:first-child { grid-column: span 2; grid-row: span 2; }
.grid-spotlight .card:first-child .card-media { flex: 1; aspect-ratio: auto; min-height: 300px; }
.grid-spotlight .card:first-child .card-title { font-size: 22px; }
.grid-spotlight .card:first-child .card-body { padding: 20px 24px 22px; }
.grid-spotlight .card:first-child .card-meta { font-size: 14px; }

/* ---------- Listing banner ---------- */
.banner { padding-bottom: 78px; }
.banner-inner { position: relative; }
.banner-title { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.banner-icon {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}
.banner-icon svg { width: 34px; height: 34px; }
.banner h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 760; line-height: 1.05; letter-spacing: -0.03em; }
.banner-title p { max-width: 640px; margin-top: 8px; color: rgba(231, 238, 255, 0.76); font-size: 17px; }
.banner-count { margin-top: 22px; color: rgba(231, 238, 255, 0.7); font-size: 14px; }
.banner-count strong { color: #fff; }
.switcher {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: -34px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.switcher-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.switcher-group em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.switcher .chip { min-height: 34px; padding: 0 13px; font-size: 13px; }
.list-grid { margin-top: 32px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 48px 0 8px; }
.pager a, .pager span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.pager a { border-color: var(--line); background: var(--surface); }
.pager a:hover { color: var(--accent-dark); border-color: #b9d3ff; background: var(--accent-soft); }
.pager .is-current { color: #fff; background: var(--accent); box-shadow: 0 6px 16px rgba(10, 108, 255, 0.3); }

/* ---------- Top Screensavers ---------- */
.page-top .banner { padding-bottom: 110px; }
.podium { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: -64px; }
.podium-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.podium-card:hover { transform: translateY(-5px); }
.podium-card .card-media { aspect-ratio: 16 / 10; }
.podium-body { display: flex; align-items: center; gap: 16px; padding: 18px 22px 22px; }
.podium-body h2 { color: var(--ink); font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.podium-body p { margin-top: 3px; color: var(--muted); font-size: 13.5px; }
.podium-rank {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2b86ff, #6b5cff);
  box-shadow: 0 8px 20px rgba(80, 100, 255, 0.35);
  font-size: 26px;
  font-weight: 780;
}
.podium-2 .podium-rank { background: linear-gradient(135deg, #8fa0bd, #5b6a86); box-shadow: none; }
.podium-3 .podium-rank { background: linear-gradient(135deg, #d99a63, #a8643a); box-shadow: none; }
.rank-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.rank-row {
  display: grid;
  grid-template-columns: 46px 156px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 20px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: 0.18s ease;
}
.rank-row:hover { transform: translateX(4px); border-color: #c8d8f2; box-shadow: 0 14px 30px rgba(11, 18, 32, 0.1); }
.rank-num { color: #9aa6bd; font-size: 24px; font-weight: 760; text-align: center; letter-spacing: -0.03em; }
.rank-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 11px; background: #e4e9f3; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { min-width: 0; }
.rank-info strong { display: block; overflow: hidden; color: var(--ink); font-size: 17px; letter-spacing: -0.015em; text-overflow: ellipsis; white-space: nowrap; }
.rank-info small { color: var(--muted); font-size: 13.5px; }
.rank-tags { display: flex; gap: 8px; }
.tag { padding: 4px 10px; border-radius: 8px; color: #fff; background: var(--ink); font-size: 12px; font-weight: 700; }
.tag-soft { color: var(--muted); background: var(--soft); border: 1px solid var(--line); font-weight: 620; }
.rank-go { color: var(--accent); font-size: 14px; font-weight: 680; }

/* ---------- Product ---------- */
.pd-hero { padding-bottom: 64px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.85fr); align-items: start; gap: 34px; margin-top: 24px; }
.viewer-main {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #0b1020;
  box-shadow: var(--shadow-lg);
}
.viewer-main img { width: 100%; height: 100%; object-fit: cover; }
.viewer-main .badge-q { top: 16px; right: 16px; }
.viewer-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.vt {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  opacity: 0.65;
  background: #0b1020;
  cursor: pointer;
  transition: 0.15s ease;
}
.vt:hover { opacity: 1; }
.vt.is-active { border-color: #4b9bff; opacity: 1; }
.vt img { width: 100%; height: 100%; object-fit: cover; }
.buy-card {
  padding: 30px;
  border-radius: 26px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}
.buy-card h1 { color: var(--ink); font-size: clamp(30px, 3.2vw, 42px); font-weight: 760; line-height: 1.06; letter-spacing: -0.03em; }
.buy-desc { margin: 14px 0 16px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.pills .chip { min-height: 32px; padding: 0 12px; background: var(--soft); font-size: 13px; }
.buy-sub { margin: 12px 0 22px; color: var(--muted); font-size: 13.5px; text-align: center; }
.spec-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.spec-tiles li { display: grid; grid-template-columns: 22px 1fr; gap: 1px 10px; padding: 13px 14px; border-radius: 14px; background: var(--soft); }
.spec-tiles svg { grid-row: span 2; width: 22px; height: 22px; align-self: center; color: var(--accent); }
.spec-tiles span { color: var(--muted); font-size: 11.5px; }
.spec-tiles strong { color: var(--ink); font-size: 13.5px; line-height: 1.3; }
.spec-tiles a { color: var(--green); }

.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 28px; padding-top: 40px; }
.panel { margin-bottom: 20px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.panel h2 { margin-bottom: 14px; color: var(--ink); font-size: 22px; letter-spacing: -0.025em; }
.prose p { color: #46526a; font-size: 16px; line-height: 1.75; }
.static-wrap { position: relative; z-index: 2; margin-top: -36px; padding-bottom: 56px; }
.static-body { max-width: 860px; margin: 0 auto; color: #46526a; font-size: 16px; line-height: 1.75; }
.static-body .col { max-width: none; padding: 0; }
.static-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.static-body b, .static-body strong { color: var(--ink); font-weight: 700; }
.static-body hr { margin: 28px 0 18px; border: 0; border-top: 1px solid var(--line); }
.static-body img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.feature-grid li { display: flex; align-items: flex-start; gap: 12px; color: #3b475c; font-size: 15px; }
.feature-grid svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--green); }
.pd-side { position: sticky; top: 88px; }
.side-card h2 { font-size: 19px; }
.dl { margin: 0 0 20px; }
.dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; color: var(--ink); font-weight: 640; text-align: right; }
.filename { overflow-wrap: anywhere; }
.req-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.req-list li { position: relative; padding-left: 20px; color: #46526a; font-size: 14px; }
.req-list li::before { position: absolute; top: 0.6em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; }

.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.install-steps li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--soft); }
.install-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2b86ff, #6b5cff);
  font-weight: 760;
}
.install-steps strong { display: block; margin: 3px 0 4px; color: var(--ink); font-size: 15px; }
.install-steps p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.install-steps-lg li { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.mobile-download-bar { display: none; }

/* ---------- Download ---------- */
.dl-stage { padding: 64px 0 72px; }
.dl-wrap { display: grid; grid-template-columns: 460px minmax(0, 1fr); align-items: center; gap: 56px; }
.dl-card { padding: 36px 34px 30px; border-radius: 28px; color: var(--text); background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-lg); text-align: center; }
.dl-card h1 { color: var(--ink); font-size: 34px; font-weight: 760; letter-spacing: -0.03em; line-height: 1.1; }
.dl-sub { margin: 10px 0 24px; color: var(--muted); font-size: 15px; }
.dl-sub strong { color: var(--ink); }
.dl-ring { position: relative; display: grid; width: 124px; height: 124px; margin: 0 auto 22px; place-items: center; }
.dl-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.dl-ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: #e8edf7; }
.ring-fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.dl-ring span { color: var(--ink); font-size: 40px; font-weight: 760; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dl-facts { margin: 22px 0 14px; padding: 0; border-top: 1px solid var(--line); list-style: none; text-align: left; }
.dl-facts li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.dl-facts strong { color: var(--ink); text-align: right; }
.dl-facts a { color: var(--green); }
.back-link { color: var(--accent); font-size: 14px; font-weight: 650; }
.dl-preview { position: relative; }
.dl-preview img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 9px solid #121826; border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 80px rgba(60, 120, 255, 0.25); }
.dl-preview span {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(10, 16, 32, 0.55);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 650;
}

/* ---------- Error ---------- */
.error-page { padding: 100px 0; text-align: center; }
.error-page h1 { color: var(--ink); font-size: 96px; font-weight: 780; letter-spacing: -0.06em; line-height: 1; }
.error-page p { margin: 12px 0 28px; color: var(--muted); font-size: 18px; }

/* ---------- Footer ---------- */
.site-foot { margin-top: 80px; padding: 56px 0 28px; color: #9aa7bf; background: var(--dark); font-size: 14px; }
.site-foot .logo { color: #fff; }
.site-foot .logo-text small { color: #8d9ab6; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { max-width: 320px; margin-top: 14px; line-height: 1.65; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col strong { margin-bottom: 4px; color: #fff; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.foot-col a:hover { color: #fff; }
.foot-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 18px;
  row-gap: 10px;
  align-content: start;
}
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero { padding-bottom: 110px; }
  .monitor { transform: none; max-width: 640px; margin-inline: auto; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-body { grid-template-columns: 1fr; }
  .pd-side { position: static; }
  .dl-wrap { grid-template-columns: 1fr; }
  .dl-preview { order: -1; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .nav-links > li > a, .categories-trigger { padding-inline: 10px; font-size: 13px; }
  .site-nav .inner { gap: 10px; }
  .categories-menu { right: -60px; }
  .category-menu-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div:nth-child(3) { border-left: 0; }
  .podium { grid-template-columns: 1fr; margin-top: -48px; }
  .install-steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .switcher-group { margin-left: 0; padding-left: 0; border-left: 0; }
  .rank-row { grid-template-columns: 38px 120px minmax(0, 1fr); }
  .rank-tags, .rank-go { display: none; }
}
@media (max-width: 640px) {
  .logo > span:last-child, .nav-home { display: none; }
  .site-nav .inner { min-height: 58px; }
  .nav-links > li > a, .categories-trigger { min-height: 44px; padding-inline: 9px; font-size: 12.5px; }
  .categories-trigger svg { display: none; }
  .categories-menu { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; }
  .category-menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 44px 0 100px; }
  .hero .lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 14px 26px; }
  .hero-stats b { font-size: 23px; }
  .monitor-screen { border-width: 6px; border-radius: 12px; }
  .monitor-neck { height: 24px; }
  .monitor-base { width: 160px; }
  .trust-strip { margin-top: -48px; }
  .trust-strip > div { padding: 12px 10px; gap: 10px; }
  .trust-strip .ico { width: 36px; height: 36px; flex-basis: 36px; }
  .trust-strip p { display: none; }
  .section { padding: 40px 0 16px; }
  .section-head { align-items: center; margin-bottom: 18px; }
  .page-home .section-wrap .section-head { flex-wrap: wrap; row-gap: 10px; }
  .see-all { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .tile-grid { gap: 12px; }
  .tile-text strong { font-size: 17px; }
  .tile-icon { top: 10px; left: 10px; width: 34px; height: 34px; }
  .category-groups { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-group { padding: 12px; }
  .category-group a { min-height: 44px; }
  .grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-spotlight .card:first-child { grid-row: span 1; }
  .grid-spotlight .card:first-child .card-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .grid-spotlight .card:first-child .card-title { font-size: 17px; }
  .grid-spotlight .card:first-child .card-body { padding: 15px 17px 17px; }
  .card-body { padding: 12px 13px 14px; }
  .card-title { font-size: 14.5px; }
  .card-meta { font-size: 12px; }
  .card-size { display: none; }
  .card-cta { display: none; }
  .banner { padding-bottom: 64px; }
  .banner-icon { width: 54px; height: 54px; flex-basis: 54px; border-radius: 16px; }
  .banner-title { gap: 14px; }
  .banner-title p { font-size: 15px; }
  .switcher { margin-top: -26px; padding: 12px; }
  .chip { min-height: 44px; }
  .switcher .chip { min-height: 40px; }
  .pd-hero { padding-bottom: 40px; }
  .buy-card { padding: 22px 20px; border-radius: 22px; }
  .viewer-main { border-radius: 16px; }
  .viewer-thumbs { gap: 6px; }
  .panel { padding: 22px 20px; border-radius: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .spec-tiles { grid-template-columns: 1fr 1fr; }
  .dl-stage { padding: 24px 0 40px; }
  .dl-preview { order: 0; }
  .dl-card { padding: 28px 20px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .rank-row { grid-template-columns: 30px 96px minmax(0, 1fr); gap: 12px; padding: 8px 12px 8px 8px; }
  .rank-num { font-size: 18px; }
  .rank-info strong { font-size: 15px; }
  .mobile-download-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -10px 30px rgba(11, 18, 32, 0.12);
    backdrop-filter: blur(16px);
  }
  .mobile-download-bar > div { min-width: 0; }
  .mobile-download-bar strong, .mobile-download-bar span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-download-bar strong { color: var(--ink); font-size: 14px; }
  .mobile-download-bar span { color: var(--muted); font-size: 12px; }
  .mobile-download-bar .btn { min-height: 46px; flex: 0 0 auto; padding-inline: 20px; }
  body.page-product .site-foot { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Icons ---------- */
.ic { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: -0.2em; }
.flip { transform: scaleX(-1); }
.nav-links .ic { width: 17px; height: 17px; color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 7px; }
.eyebrow .ic { width: 16px; height: 16px; }
.banner-count { display: flex; align-items: center; gap: 8px; }
.banner-count .ic { width: 17px; height: 17px; color: #8dc0ff; }
.categories-menu-head strong { display: inline-flex; align-items: center; gap: 8px; }
.categories-menu-head strong .ic { color: var(--accent); }
.chip .ic { width: 15px; height: 15px; margin-right: 7px; color: var(--accent); }
.chip.is-active .ic { color: #fff; }
.chip { align-items: center; }
.see-all { gap: 7px; }
.see-all .ic { width: 15px; height: 15px; transition: transform 0.15s ease; }
.see-all:hover .ic { transform: translateX(3px); }
.device-chip b { display: inline-flex; align-items: center; gap: 6px; }
.device-chip b .ic { width: 15px; height: 15px; }
.card-cta { display: flex; align-items: center; gap: 7px; }
.card-cta .ic { width: 15px; height: 15px; }
.rank-go { display: inline-flex; align-items: center; gap: 6px; }
.rank-go .ic { width: 15px; height: 15px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; }
.back-link .ic { width: 15px; height: 15px; }

.hero-stats { gap: 18px 36px; }
.hero-stats li { display: flex; align-items: center; gap: 12px; }
.hero-stats .stat-ic { color: #8dc0ff; font-size: inherit; }
.stat-ic { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 13px; color: #8dc0ff; background: rgba(255, 255, 255, 0.07); }
.stat-ic .ic { width: 21px; height: 21px; }
.hero-stats b { font-size: 24px; line-height: 1.1; }

.sh-title { display: flex; align-items: center; gap: 16px; }
.sh-ic { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #2b86ff, #6a4cff); box-shadow: 0 8px 20px rgba(60, 100, 255, 0.28); }
.sh-ic .ic { width: 26px; height: 26px; }
.sh-title .eyebrow { margin-bottom: 4px; }
.band-dark .sh-ic { box-shadow: 0 8px 24px rgba(60, 100, 255, 0.45); }

.panel h2 { display: flex; align-items: center; gap: 11px; }
.panel h2 .ic { width: 24px; height: 24px; padding: 4px; border-radius: 8px; color: var(--accent); background: var(--accent-soft); box-sizing: content-box; }
.side-card h2 .ic { width: 20px; height: 20px; }
.install-steps li > span .ic { width: 20px; height: 20px; }
.install-steps li > span { width: 40px; height: 40px; flex-basis: 40px; border-radius: 13px; }
.install-steps em { display: block; color: var(--accent); font-size: 11.5px; font-style: normal; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.install-steps strong { margin-top: 2px; }
.dl-facts li > span { display: inline-flex; align-items: center; gap: 8px; }
.dl-facts li > span .ic { width: 16px; height: 16px; color: var(--accent); }
.foot-col a { display: inline-flex; align-items: center; gap: 9px; }
.foot-col a .ic { width: 16px; height: 16px; color: #5d8fe8; }
.foot-col a:hover .ic { color: #8dc0ff; }
.spec-tiles .ic { width: 22px; height: 22px; }
.btn .ic { width: 20px; height: 20px; }
.tile-icon .ic { width: 21px; height: 21px; }
.banner-icon .ic { width: 34px; height: 34px; }
@media (max-width: 640px) {
  .logo-text small { display: none; }
  .sh-ic { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .sh-ic .ic { width: 21px; height: 21px; }
  .sh-title { gap: 12px; }
  .nav-links .ic { display: none; }
  .stat-ic { width: 36px; height: 36px; border-radius: 11px; }
  .hero-stats li { gap: 9px; }
  .hero-stats { gap: 16px 22px; }
}

@media (max-width: 640px) {
  .switcher { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .switcher::-webkit-scrollbar { display: none; }
  .switcher > *, .switcher-group { flex: 0 0 auto; flex-wrap: nowrap; }
  .switcher-group { margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
}

/* ---------- Feature bar (above header) ---------- */
.feature-bar { position: relative; z-index: 61; color: #dbe6ff; background: linear-gradient(90deg, #070b16, #0d1630 50%, #070b16); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.feature-bar-list { display: flex; align-items: center; justify-content: center; gap: 8px 30px; margin-block: 0; padding: 0; list-style: none; min-height: 40px; }
.feature-bar-list li { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.feature-bar-list li + li::before { position: absolute; left: -16px; width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); content: ""; }
.fb-ic { width: 16px; height: 16px; color: #5fb0ff; }
.feature-bar-list li::after { display: none; }
@media (max-width: 900px) {
  .feature-bar-list { justify-content: flex-start; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .feature-bar-list::-webkit-scrollbar { display: none; }
  .feature-bar-list li { flex: 0 0 auto; }
  .feature-bar-list li + li::before { left: -12px; }
}

.feature-bar-list { min-height: 48px; gap: 8px 34px; }
.feature-bar-list li { gap: 9px; color: #fff; font-size: 14px; font-weight: 650; }
.feature-bar-list li + li::before { left: -19px; }
.fb-ic { box-sizing: content-box; width: 15px; height: 15px; padding: 5px; border-radius: 8px; color: #7dc0ff; background: rgba(90, 160, 255, 0.16); }
@media (max-width: 900px) { .feature-bar-list { gap: 24px; } .feature-bar-list li + li::before { left: -14px; } }

/* Feature list with checkmarks (reads as a list, not menu buttons) */
.feature-bar-list li + li::before { display: none; }
.fb-ic { box-sizing: border-box; width: 18px; height: 18px; padding: 0; border-radius: 50%; color: #2fd48a; background: transparent; }
.feature-bar-list li { gap: 8px; cursor: default; }
.feature-bar-list { gap: 8px 28px; }
@media (max-width: 900px) { .feature-bar-list { gap: 20px; } }

/* Trust strip removed: hero no longer needs overlap space */
.hero { padding-bottom: 76px; }
@media (max-width: 1100px) { .hero { padding-bottom: 64px; } }
@media (max-width: 640px) { .hero { padding-bottom: 48px; } }

/* Pager above the grid */
.pager-top { padding: 4px 0 24px; }
.pager-top { padding: 24px 0 8px; }

/* ---------- Auto-rotating screenshot viewer ---------- */
.viewer-main { background: #0b0f1d; }
.viewer-main .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s ease-in-out, transform 4.5s ease-out;
}
.viewer-main .slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.viewer-main .badge-q { z-index: 3; }
.vnav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 12, 24, 0.55);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.vnav .ic { width: 18px; height: 18px; }
.vnav-prev { left: 14px; }
.vnav-next { right: 14px; }
.viewer-main:hover .vnav, .viewer-main:focus-within .vnav { opacity: 1; }
.vnav:hover { background: rgba(8, 12, 24, 0.8); }
@media (hover: none) { .vnav { display: none; } }
.vt { position: relative; }
.vt-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #4b9bff;
}
.viewer.is-playing .vt.is-active .vt-bar { animation: vt-progress 3s linear forwards; }
@keyframes vt-progress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .viewer-main .slide { transition: opacity 0.2s ease; transform: none; }
  .viewer-main .slide.is-active { transform: none; }
}

.home-more { display: flex; justify-content: center; padding: 32px 0; }
.home-more .btn { min-width: min(100%, 320px); }
.page-home .site-foot { margin-top: 0; }


/* Hover screenshot flip on catalog cards (product-like fade) */
.card-preview .card-media .card-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s ease-in-out, transform 4.5s ease-out;
  z-index: 0;
}
.card-preview .card-media .card-shot.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.card-bars {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  z-index: 3;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.card-preview.is-playing .card-bars { opacity: 1; }
.card-bars > span {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.card-bars > span > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #fff;
}
.card-bars > span.is-on > i { width: 0; }
.card-preview.is-playing .card-bars > span.is-on > i { animation: card-bar 3s linear forwards; }
@keyframes card-bar { from { width: 0; } to { width: 100%; } }
@media (hover: none) { .card-bars { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .card-preview .card-media .card-shot { transition: opacity 0.2s ease; transform: none; }
  .card-preview .card-media .card-shot.is-active { transform: none; }
}

.vt-link { text-decoration: underline; text-underline-offset: 2px; }
.vt-link:hover { text-decoration-thickness: 2px; }
.spec-tiles .vt-link { color: var(--green); }
.dl .vt-link { color: var(--accent-dark, var(--accent)); }
