:root {
  --bg: #06101d;
  --bg-deep: #040b14;
  --surface: #0a1727;
  --surface-2: #0d1d30;
  --surface-3: #11253c;
  --card: rgba(12, 27, 45, 0.82);
  --text: #eef8ff;
  --text-soft: #b8c9d8;
  --muted: #7890a6;
  --line: rgba(139, 195, 229, 0.13);
  --line-strong: rgba(112, 199, 255, 0.3);
  --blue: #2c9dff;
  --blue-light: #6ddcff;
  --blue-dark: #1775ed;
  --violet: #695dff;
  --green: #40d6aa;
  --danger: #ff6f82;
  --warning: #ffc66d;
  --shadow-sm: 0 12px 34px rgba(0, 7, 17, 0.26);
  --shadow-lg: 0 34px 90px rgba(0, 5, 14, 0.48);
  --glow: 0 0 45px rgba(39, 151, 255, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --container: 1180px;
  --header-height: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -5%, rgba(31, 115, 255, .13), transparent 29rem),
    radial-gradient(circle at -8% 32%, rgba(46, 198, 255, .06), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.12; letter-spacing: -.035em; }
h1 { margin-bottom: 1.35rem; font-size: clamp(2.85rem, 6vw, 5.7rem); font-weight: 760; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 730; }
h3 { margin-bottom: .65rem; font-size: 1.25rem; font-weight: 690; }
p { margin-bottom: 1rem; color: var(--text-soft); }

::selection { color: #fff; background: rgba(39, 150, 255, .52); }

:focus-visible {
  outline: 3px solid rgba(94, 213, 255, .82);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  border-radius: 10px;
  color: #03101d;
  background: var(--blue-light);
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: 104px; }
.section-tight { padding-top: 52px; }
.section-surface {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 26, 43, .68), rgba(7, 17, 30, .45));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .58rem;
  margin-bottom: .9rem;
  color: var(--blue-light);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-light), var(--violet));
  content: "";
}

.text-gradient {
  color: transparent;
  background: linear-gradient(110deg, #78e7ff 0%, #2fa2ff 43%, #8171ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
}

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  padding: .78rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(120deg, #158cea, #315ef4 70%, #6256ee);
  box-shadow: 0 12px 30px rgba(22, 112, 238, .28), inset 0 1px rgba(255,255,255,.22);
}
.button-primary:hover { box-shadow: 0 16px 38px rgba(22, 112, 238, .4), inset 0 1px rgba(255,255,255,.25); }
.button-secondary { border-color: var(--line-strong); background: rgba(19, 47, 75, .65); }
.button-secondary:hover { border-color: rgba(103, 216, 255, .58); background: rgba(24, 62, 98, .78); }
.button-ghost { border-color: var(--line); color: var(--text-soft); background: rgba(7, 20, 34, .28); }
.button-ghost:hover { border-color: var(--line-strong); color: var(--text); }
.button-light { color: #071522; background: #eefaff; box-shadow: 0 14px 32px rgba(4, 24, 43, .28); }
.button-light:hover { background: #fff; box-shadow: 0 18px 38px rgba(4, 24, 43, .4); }
.button-full { width: 100%; }
.button[disabled], .button.is-disabled { pointer-events: none; opacity: .5; }

.text-link, .text-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  border: 0;
  color: var(--blue-light);
  background: transparent;
  font-weight: 680;
}
.text-link span, .text-button span { transition: transform .2s ease; }
.text-link:hover span, .text-button:hover span { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(6, 16, 29, .76);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(5, 14, 25, .92); box-shadow: 0 12px 34px rgba(0, 5, 15, .25); }
.nav-shell { display: flex; width: min(calc(100% - 40px), var(--container)); height: 100%; align-items: center; margin-inline: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .72rem; margin-right: clamp(1.25rem, 4vw, 3.7rem); }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; align-items: baseline; font-size: 1.15rem; font-weight: 780; letter-spacing: -.035em; }
.brand-text em { color: var(--blue-light); font-style: normal; }
.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: .55rem .85rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 620;
  transition: color .2s ease, background .2s ease;
}
.nav-link::after {
  position: absolute;
  right: .85rem;
  bottom: 3px;
  left: .85rem;
  height: 2px;
  transform: scaleX(0);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-light), var(--violet));
  content: "";
  transition: transform .25s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); background: rgba(66, 154, 219, .07); }
.nav-link.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.header-discord {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55rem;
  padding: .55rem .88rem;
  border: 1px solid rgba(114, 103, 255, .28);
  border-radius: 11px;
  color: #dedaff;
  background: rgba(92, 77, 221, .12);
  font-size: .84rem;
  font-weight: 680;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.header-discord:hover { transform: translateY(-1px); border-color: rgba(139, 128, 255, .54); background: rgba(92, 77, 221, .2); }
.header-discord svg { width: 18px; height: 18px; }
.cart-link {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text-soft);
  background: rgba(13, 31, 50, .65);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.cart-link:hover, .cart-link.is-active { border-color: var(--line-strong); color: var(--blue-light); background: rgba(24, 58, 90, .7); }
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding-inline: 5px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: .66rem;
  font-weight: 780;
  line-height: 1;
}
.cart-count.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(13, 31, 50, .65);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-soft);
  content: "";
  transition: transform .25s var(--ease), opacity .2s ease;
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

/* Homepage hero */
.hero { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; padding-block: clamp(76px, 10vw, 128px); overflow: hidden; }
.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(103, 187, 236, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 187, 236, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  content: "";
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(20px); }
.hero-glow-one { top: 7%; right: -9%; width: 38rem; height: 38rem; background: radial-gradient(circle, rgba(24, 121, 255, .15), transparent 67%); }
.hero-glow-two { bottom: -22%; left: 22%; width: 26rem; height: 26rem; background: radial-gradient(circle, rgba(90, 75, 255, .09), transparent 67%); }
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(42px, 7vw, 95px); }
.hero-copy { max-width: 680px; }
.hero-copy h1 { max-width: 680px; }
.hero-lead { max-width: 650px; margin-bottom: 1.7rem; color: var(--text-soft); font-size: clamp(1.04rem, 2vw, 1.2rem); }
.hero-actions { margin-bottom: 1.35rem; }
.trust-note { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.discord-mini, .discord-large { display: inline-block; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.5 5.3A16.3 16.3 0 0 0 15.4 4l-.5 1a15 15 0 0 0-5.8 0l-.5-1a16 16 0 0 0-4.1 1.3C1.9 9.1 1.2 12.8 1.5 16.4A16.6 16.6 0 0 0 6.6 19l1.2-1.7-1.8-.9.4-.3c3.5 1.6 7.6 1.6 11.1 0l.5.3-1.9.9 1.2 1.7a16.6 16.6 0 0 0 5.1-2.6c.4-4.2-.7-7.9-2.9-11.1ZM8.9 14.2c-1 0-1.9-1-1.9-2.2s.8-2.2 1.9-2.2 1.9 1 1.9 2.2-.9 2.2-1.9 2.2Zm6.2 0c-1 0-1.9-1-1.9-2.2s.9-2.2 1.9-2.2 1.9 1 1.9 2.2-.8 2.2-1.9 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.discord-mini { width: 18px; height: 18px; }
.discord-large { width: 42px; height: 42px; }

.hero-visual { position: relative; min-height: 510px; perspective: 1000px; }
.hero-panel {
  position: absolute;
  z-index: 2;
  top: 52%;
  left: 50%;
  width: min(100%, 480px);
  transform: translate(-50%, -50%) rotateY(-5deg) rotateX(2deg);
  overflow: hidden;
  border: 1px solid rgba(105, 199, 255, .25);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(15, 36, 59, .96), rgba(7, 19, 34, .96));
  box-shadow: var(--shadow-lg), inset 0 1px rgba(255,255,255,.07), var(--glow);
}
.hero-panel::after { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(135deg, rgba(107, 220, 255, .07), transparent 38%); content: ""; }
.hero-panel-top { display: flex; height: 52px; align-items: center; gap: 7px; padding-inline: 20px; border-bottom: 1px solid var(--line); }
.window-dot { width: 7px; height: 7px; border-radius: 50%; background: #31506c; }
.window-dot:nth-child(2) { background: #386d8f; }
.window-dot:nth-child(3) { background: #3daacf; }
.live-pill { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #8de8cc; font-size: .64rem; font-weight: 720; letter-spacing: .08em; }
.live-pill i, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(64,214,170,.8); }
.hero-panel-body { padding: 27px; }
.hero-logo-card { display: flex; align-items: center; gap: 17px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10, 29, 49, .7); }
.hero-logo-card img { width: 62px; height: 62px; }
.hero-logo-card strong, .hero-logo-card span { display: block; }
.hero-logo-card strong { margin-bottom: 3px; font-size: 1.25rem; letter-spacing: -.03em; }
.hero-logo-card span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.signal-bars { display: flex; height: 105px; align-items: end; gap: 9px; padding: 25px 8px 8px; }
.signal-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, rgba(36,106,255,.32), rgba(72,214,255,.85)); box-shadow: 0 0 15px rgba(51,174,255,.13); }
.hero-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.hero-mini-grid > div { display: grid; grid-template-columns: 34px 1fr; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 31, 51, .72); }
.hero-mini-grid .mini-icon { grid-row: 1 / 3; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--blue-light); background: rgba(39,153,255,.13); }
.hero-mini-grid strong { font-size: .84rem; letter-spacing: -.01em; }
.hero-mini-grid small { color: var(--muted); font-size: .68rem; }
.orbit { position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(64, 172, 255, .1); border-radius: 50%; }
.orbit::after { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 16px var(--blue); content: ""; }
.orbit-one { width: 460px; height: 460px; animation: orbit-spin 22s linear infinite; }
.orbit-two { width: 580px; height: 580px; border-style: dashed; animation: orbit-spin 32s linear infinite reverse; }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.floating-card { position: absolute; z-index: 3; display: flex; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(9, 25, 43, .94); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.floating-card span, .floating-card strong { font-size: .75rem; }
.floating-card span { color: var(--muted); }
.floating-card-one { top: 55px; right: -5px; flex-direction: column; animation: float-y 5s ease-in-out infinite; }
.floating-card-one strong { color: var(--blue-light); }
.floating-card-two { bottom: 48px; left: -15px; align-items: center; gap: 9px; animation: float-y 5s 1.5s ease-in-out infinite; }
@keyframes float-y { 50% { transform: translateY(-9px); } }

.stats-strip { position: relative; z-index: 2; border-block: 1px solid var(--line); background: rgba(8, 21, 36, .65); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { position: relative; padding: 25px 30px; text-align: center; }
.stat-item + .stat-item::before { position: absolute; top: 25%; bottom: 25%; left: 0; width: 1px; background: var(--line); content: ""; }
.stat-value, .stat-label { display: block; }
.stat-value { margin-bottom: 2px; color: var(--text); font-size: 1.6rem; font-weight: 760; letter-spacing: -.04em; }
.stat-label { color: var(--muted); font-size: .78rem; }

.section-heading { display: grid; align-items: end; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 45px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p { max-width: 540px; justify-self: end; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-title-row h2, .section-title-row p { margin-bottom: 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(15,35,57,.75), rgba(7,20,34,.55)); transition: transform .3s var(--ease), border-color .3s ease, background .3s ease; }
.benefit-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(145deg, rgba(18,44,71,.8), rgba(8,23,39,.65)); }
.benefit-card p { margin-bottom: 0; font-size: .92rem; }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 24px; border: 1px solid rgba(76,198,255,.28); border-radius: 14px; color: var(--blue-light); background: linear-gradient(135deg, rgba(42,166,255,.17), rgba(97,85,255,.12)); font-size: 1.15rem; }

/* Shared cards */
.card-grid { display: grid; gap: 20px; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(13,31,51,.94), rgba(7,19,33,.9)); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(88, 194, 255, .34); box-shadow: 0 24px 55px rgba(0,7,18,.42), 0 0 35px rgba(40,145,255,.08); }
.product-image-link { position: relative; display: block; aspect-ratio: 800 / 540; overflow: hidden; background: #09182a; }
.product-image-link::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,16,29,.35), transparent 45%); content: ""; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: .4rem .62rem; border: 1px solid rgba(104,218,255,.22); border-radius: 999px; color: #c9f5ff; background: rgba(6,22,38,.8); backdrop-filter: blur(10px); font-size: .68rem; font-weight: 720; letter-spacing: .02em; }
.is-unavailable { border-color: rgba(255, 74, 94, .28); }
.is-unavailable .product-image,
.is-unavailable .download-thumb img,
.detail-image-wrap.is-unavailable .detail-image { filter: saturate(.42) brightness(.62); }
.unavailable-surface { cursor: not-allowed; }
.availability-ribbon {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: calc(100% - 28px);
  padding: .58rem .8rem;
  transform: translate(-50%, -50%) rotate(-6deg);
  border: 1px solid rgba(255, 171, 181, .48);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(110deg, rgba(168, 14, 38, .96), rgba(232, 34, 57, .96));
  box-shadow: 0 12px 30px rgba(102, 0, 17, .42);
  font-size: clamp(.68rem, 1.5vw, .84rem);
  font-weight: 820;
  letter-spacing: .14em;
  line-height: 1;
  text-align: center;
}
.unavailable-control,
.unavailable-link,
.unavailable-button {
  cursor: not-allowed;
  opacity: .62;
}
.unavailable-control { border-color: rgba(255, 91, 111, .3); color: #ff8796; background: rgba(126, 18, 36, .17); }
.unavailable-link { color: #ff8796; }
.unavailable-badge,
.unavailable-text { color: #ff8796; background: rgba(153, 20, 42, .16); }
.product-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.product-category { margin-bottom: .55rem; color: var(--blue-light); font-size: .7rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.product-content h3 { margin-bottom: .62rem; }
.product-content h3 a:hover { color: var(--blue-light); }
.product-description { display: -webkit-box; min-height: 3.2em; margin-bottom: 1.25rem; overflow: hidden; color: var(--text-soft); font-size: .86rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.price { color: var(--text); font-size: 1.18rem; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.price small { color: var(--muted); font-size: .68rem; font-weight: 520; letter-spacing: 0; }
.card-actions { display: flex; gap: 8px; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 11px; color: var(--blue-light); background: rgba(22, 73, 111, .3); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.icon-button:hover { transform: translateY(-2px); border-color: rgba(99,215,255,.65); background: rgba(28,94,140,.48); }
.icon-button svg { width: 18px; height: 18px; }
.details-link { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(10,26,43,.45); transition: color .2s ease, border-color .2s ease; }
.details-link:hover { border-color: var(--line-strong); color: var(--text); }

.split-feature { display: grid; align-items: center; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 8vw, 110px); }
.split-copy > p:not(.eyebrow) { max-width: 560px; }
.check-list { display: grid; gap: 10px; margin: 25px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-soft); font-size: .9rem; }
.check-list li::before { position: absolute; top: .18rem; left: 0; display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid rgba(67,217,255,.28); border-radius: 50%; color: var(--blue-light); background: rgba(42,153,231,.1); content: "✓"; font-size: .68rem; font-weight: 800; }
.download-preview-stack { position: relative; min-height: 390px; }
.preview-file { position: absolute; display: grid; width: 84%; grid-template-columns: 66px 1fr auto; align-items: center; gap: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: rgba(12,29,48,.96); box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.preview-file:hover { transform: translateX(-8px); border-color: var(--line-strong); }
.preview-file.is-unavailable:hover { transform: none; border-color: rgba(255, 74, 94, .28); }
.preview-file:nth-child(1) { z-index: 3; top: 24px; left: 0; }
.preview-file:nth-child(2) { z-index: 2; top: 140px; left: 8%; }
.preview-file:nth-child(3) { z-index: 1; top: 256px; left: 16%; }
.preview-file img { width: 66px; height: 50px; object-fit: cover; border-radius: 10px; }
.preview-file strong, .preview-file small { display: block; }
.preview-file strong { overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.preview-file small { color: var(--muted); font-size: .71rem; }
.preview-size { padding: .35rem .55rem; border-radius: 8px; color: var(--blue-light); background: rgba(41,151,225,.1); font-size: .72rem; font-weight: 700; white-space: nowrap; }

.community-section { padding-block: 78px; }
.community-card { position: relative; display: grid; align-items: center; grid-template-columns: 72px 1fr auto; gap: 28px; overflow: hidden; padding: 46px 50px; border: 1px solid rgba(111,122,255,.3); border-radius: var(--radius-xl); background: linear-gradient(115deg, #126da9, #315ae0 58%, #6654e5); box-shadow: 0 28px 75px rgba(20,69,185,.25); }
.community-card::before { position: absolute; right: -5%; bottom: -150%; width: 530px; height: 530px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); content: ""; }
.community-card > * { position: relative; z-index: 1; }
.community-mark { display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; color: #fff; background: rgba(5,27,70,.2); }
.community-card .eyebrow, .community-card h2, .community-card p { color: #fff; }
.community-card .eyebrow { margin-bottom: .55rem; opacity: .78; }
.community-card .eyebrow::before { background: #fff; }
.community-card h2 { margin-bottom: .55rem; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.community-card p { max-width: 620px; margin-bottom: 0; opacity: .77; }

/* Page hero */
.page-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 0%, rgba(37,131,255,.14), transparent 42rem); }
.page-hero::after { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(100,194,255,.12) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent 85%); content: ""; opacity: .26; }
.compact-hero { padding-block: 88px 84px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 850px; text-align: center; }
.page-hero-inner .eyebrow { justify-content: center; }
.page-hero h1 { margin-bottom: 1rem; font-size: clamp(2.65rem, 5vw, 4.65rem); }
.page-hero p:last-child { max-width: 690px; margin: 0 auto; font-size: 1.05rem; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-width: 0; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(14,34,56,.85), rgba(8,21,36,.72)); text-align: left; transition: transform .3s var(--ease), border-color .3s ease, background .3s ease; }
.category-card::after { position: absolute; right: -42px; bottom: -60px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(43,142,255,.12), transparent 70%); content: ""; }
.category-card:hover, .category-card.is-active { transform: translateY(-4px); border-color: rgba(84,195,255,.42); background: linear-gradient(145deg, rgba(17,45,73,.95), rgba(9,25,43,.82)); }
.category-card.is-active { box-shadow: inset 0 0 0 1px rgba(71,178,255,.12), 0 17px 45px rgba(0,8,20,.22); }
.category-icon { display: grid; width: 45px; height: 45px; place-items: center; margin-bottom: 28px; border: 1px solid rgba(74,196,255,.23); border-radius: 13px; color: var(--blue-light); background: rgba(34,132,205,.12); }
.category-icon svg { width: 22px; height: 22px; }
.category-card h3 { margin-bottom: .58rem; }
.category-card p { min-height: 3.2em; margin-bottom: 20px; color: var(--muted); font-size: .84rem; }
.category-meta { display: flex; align-items: center; justify-content: space-between; color: var(--text-soft); font-size: .75rem; font-weight: 650; }
.category-meta span:last-child { color: var(--blue-light); }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.catalog-toolbar h2, .catalog-toolbar p { margin-bottom: 0; }
.result-count { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter-chip { display: inline-flex; min-height: 40px; align-items: center; gap: .5rem; padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(9,25,42,.6); font-size: .78rem; font-weight: 640; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.filter-chip:hover { border-color: var(--line-strong); color: var(--text); }
.filter-chip.is-active { border-color: rgba(72,197,255,.35); color: var(--blue-light); background: rgba(33,130,201,.14); }
.empty-state { max-width: 620px; margin: 30px auto; padding: 55px 30px; border: 1px dashed rgba(117,173,206,.22); border-radius: var(--radius-lg); background: rgba(8,21,36,.44); text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state h3 { font-size: 1.45rem; }
.empty-state p { max-width: 430px; margin: 0 auto 24px; }
.empty-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 20px; border: 1px solid var(--line-strong); border-radius: 18px; color: var(--blue-light); background: rgba(40,139,211,.12); font-size: 1.65rem; }

/* Downloads */
.download-controls { display: grid; grid-template-columns: 1fr 230px; gap: 13px; margin-bottom: 18px; }
.search-field, .select-field { position: relative; display: flex; min-width: 0; align-items: center; }
.search-field input, .select-field select, .form-field input, .form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  outline: 0;
  color: var(--text);
  background: rgba(10, 27, 45, .85);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-field input { height: 54px; padding: 0 18px 0 49px; border-radius: 14px; }
.search-field input::placeholder, .form-field input::placeholder, .form-field textarea::placeholder { color: #657c92; }
.search-field input:focus, .select-field select:focus, .form-field input:focus, .form-field textarea:focus { border-color: rgba(78,203,255,.52); background: rgba(12,34,56,.96); box-shadow: 0 0 0 4px rgba(45,162,239,.1); }
.search-icon { position: absolute; z-index: 1; left: 18px; width: 17px; height: 17px; border: 2px solid var(--muted); border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; transform: rotate(45deg); border-radius: 2px; background: var(--muted); content: ""; }
.select-field select { height: 54px; padding: 0 45px 0 17px; appearance: none; border-radius: 14px; }
.select-chevron { position: absolute; right: 17px; width: 8px; height: 8px; transform: translateY(-3px) rotate(45deg); border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); pointer-events: none; }
.download-filter-chips { margin-bottom: 15px; }
.catalog-toolbar-small { align-items: center; margin-bottom: 22px; }
.clear-filters { padding: .4rem 0; border: 0; color: var(--blue-light); background: transparent; font-size: .78rem; font-weight: 650; }
.clear-filters[hidden] { display: none; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.download-card { display: grid; min-width: 0; grid-template-columns: 172px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(13,31,51,.92), rgba(7,19,33,.85)); transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.download-card:hover { transform: translateY(-4px); border-color: rgba(82,194,255,.35); box-shadow: 0 20px 48px rgba(0,7,18,.3); }
.download-thumb { position: relative; overflow: hidden; background: #0a1a2e; }
.download-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.download-card:hover .download-thumb img { transform: scale(1.04); }
.file-type { position: absolute; bottom: 12px; left: 12px; padding: .34rem .48rem; border: 1px solid rgba(103,215,255,.24); border-radius: 7px; color: #bcefff; background: rgba(6,20,34,.82); font-size: .62rem; font-weight: 760; letter-spacing: .08em; }
.download-card-body { display: flex; min-width: 0; flex-direction: column; padding: 21px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: .7rem; color: var(--muted); font-size: .68rem; }
.download-meta span { display: inline-flex; align-items: center; gap: 5px; }
.download-meta .size { color: var(--blue-light); font-weight: 690; }
.download-card h3 { margin-bottom: .55rem; font-size: 1.08rem; }
.download-card h3 a:hover { color: var(--blue-light); }
.download-card p { display: -webkit-box; margin-bottom: 1rem; overflow: hidden; color: var(--text-soft); font-size: .79rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.download-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.download-card-bottom .text-link { padding: 0; font-size: .76rem; }
.downloads-number { color: var(--muted); font-size: .68rem; white-space: nowrap; }

/* Detail pages */
.detail-section { min-height: 70vh; padding-top: 62px; }
.back-link { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 28px; color: var(--muted); font-size: .84rem; font-weight: 620; transition: color .2s ease; }
.back-link:hover { color: var(--blue-light); }
.detail-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr); gap: clamp(40px, 6vw, 78px); }
.detail-image-wrap { position: sticky; top: calc(var(--header-height) + 28px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.detail-image-wrap::after { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px rgba(255,255,255,.05); content: ""; }
.detail-image { width: 100%; aspect-ratio: 800 / 540; object-fit: cover; }
.detail-image-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.detail-badge { padding: .35rem .55rem; border-radius: 999px; color: var(--blue-light); background: rgba(39,145,217,.13); font-weight: 700; }
.detail-copy { padding-top: 8px; }
.detail-copy h1 { margin-bottom: 1.1rem; font-size: clamp(2.3rem, 4.5vw, 4rem); }
.detail-lead { margin-bottom: 1.6rem; font-size: 1.06rem; }
.detail-price-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding: 21px 0; border-block: 1px solid var(--line); }
.detail-price-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; }
.detail-price { font-size: 1.75rem; font-weight: 780; letter-spacing: -.04em; }
.detail-copy .button { min-width: 190px; }
.detail-block { margin-top: 31px; }
.detail-block h2 { margin-bottom: 16px; font-size: 1.18rem; letter-spacing: -.02em; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; min-width: 0; padding: 12px 14px 12px 38px; border: 1px solid var(--line); border-radius: 12px; color: var(--text-soft); background: rgba(11,29,48,.52); font-size: .8rem; }
.feature-list li::before { position: absolute; top: 50%; left: 14px; color: var(--blue-light); content: "✓"; font-weight: 800; transform: translateY(-50%); }
.info-table { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 12px 15px; }
.info-row + .info-row { border-top: 1px solid var(--line); }
.info-row dt { color: var(--muted); font-size: .78rem; }
.info-row dd { margin: 0; color: var(--text-soft); font-size: .78rem; text-align: right; overflow-wrap: anywhere; }
.detail-trust { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--muted); font-size: .75rem; }
.detail-trust::before { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--green); background: rgba(64,214,170,.1); content: "✓"; font-weight: 800; }
.file-detail-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 17px; }
.meta-pill { display: inline-flex; min-height: 33px; align-items: center; padding: .38rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: rgba(12,31,51,.55); font-size: .7rem; font-weight: 620; }
.meta-pill.primary { border-color: rgba(80,201,255,.25); color: var(--blue-light); background: rgba(36,136,204,.1); }
.external-note { margin-top: 16px; padding: 13px 15px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; color: var(--muted); background: rgba(32,103,160,.08); font-size: .75rem; }
.not-found-state { padding-block: 70px; }

/* Cart */
.cart-hero { padding-block: 62px 58px; }
.cart-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) 360px; gap: 25px; }
.cart-list { display: grid; gap: 13px; }
.cart-item { display: grid; min-width: 0; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 19px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(11,27,45,.76); }
.cart-item-image { width: 130px; aspect-ratio: 800 / 540; object-fit: cover; border-radius: 12px; background: var(--surface); }
.cart-item-info { min-width: 0; }
.cart-item-category { margin-bottom: 4px; color: var(--blue-light); font-size: .65rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.cart-item h3 { margin-bottom: 5px; font-size: 1rem; }
.cart-item h3 a:hover { color: var(--blue-light); }
.cart-unit-price { margin-bottom: 0; color: var(--muted); font-size: .73rem; }
.cart-item-actions { display: grid; justify-items: end; gap: 11px; }
.cart-line-price { font-size: .94rem; font-weight: 720; white-space: nowrap; }
.quantity-control { display: flex; height: 42px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(6,19,33,.5); }
.quantity-control button { display: grid; width: 37px; height: 100%; place-items: center; padding: 0; border: 0; color: var(--text-soft); background: transparent; font-size: 1.1rem; transition: color .2s ease, background .2s ease; }
.quantity-control button:hover { color: var(--blue-light); background: rgba(42,137,203,.12); }
.quantity-control input { width: 40px; height: 100%; padding: 0; border: 0; border-inline: 1px solid var(--line); outline: 0; color: var(--text); background: transparent; text-align: center; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.remove-item { padding: .3rem 0; border: 0; color: var(--muted); background: transparent; font-size: .7rem; transition: color .2s ease; }
.remove-item:hover { color: var(--danger); }
.cart-summary { position: sticky; top: calc(var(--header-height) + 25px); padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(15,35,57,.95), rgba(8,22,38,.93)); box-shadow: var(--shadow-sm); }
.cart-summary h2 { margin-bottom: 22px; font-size: 1.3rem; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--muted); font-size: .84rem; }
.summary-row strong { color: var(--text-soft); font-weight: 640; }
.summary-total { margin: 20px 0; padding-top: 19px; border-top: 1px solid var(--line); }
.summary-total span { color: var(--text-soft); }
.summary-total strong { color: var(--text); font-size: 1.38rem; font-weight: 780; letter-spacing: -.04em; }
.summary-note { margin: 15px 0 0; color: var(--muted); font-size: .69rem; text-align: center; }
.cart-empty { margin-top: 0; }
.cart-empty .empty-icon svg { width: 28px; height: 28px; }

/* Checkout */
.checkout-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; }
.checkout-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(11,27,45,.76); }
.checkout-card h2 { margin-bottom: 8px; font-size: 1.42rem; }
.checkout-intro { margin-bottom: 25px; color: var(--muted); font-size: .84rem; }
.demo-notice { display: flex; gap: 12px; margin-bottom: 24px; padding: 14px 16px; border: 1px solid rgba(255,198,109,.18); border-radius: 12px; color: #dec492; background: rgba(134,88,18,.08); font-size: .77rem; }
.demo-notice strong { color: var(--warning); }
.demo-notice span:first-child { font-size: 1.05rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--text-soft); font-size: .76rem; font-weight: 630; }
.form-field input, .form-field textarea { min-height: 50px; padding: 0 14px; border-radius: 11px; }
.form-field textarea { min-height: 105px; padding-block: 12px; resize: vertical; }
.checkbox-field { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 10px; margin-block: 5px; color: var(--muted); font-size: .75rem; }
.checkbox-field input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.checkout-summary-list { display: grid; gap: 12px; margin-bottom: 20px; }
.checkout-summary-item { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 11px; }
.checkout-summary-item img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; }
.checkout-summary-item strong, .checkout-summary-item small { display: block; }
.checkout-summary-item strong { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.checkout-summary-item small { color: var(--muted); font-size: .65rem; }
.checkout-summary-item > span { color: var(--text-soft); font-size: .74rem; font-weight: 650; white-space: nowrap; }
.checkout-success { max-width: 720px; margin: 0 auto; padding: 52px 35px; border: 1px solid rgba(64,214,170,.24); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(11,44,49,.75), rgba(8,25,38,.78)); text-align: center; }
.success-icon { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 22px; border: 1px solid rgba(64,214,170,.28); border-radius: 50%; color: var(--green); background: rgba(64,214,170,.1); font-size: 1.65rem; }
.checkout-success h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.order-code { display: inline-flex; margin: 4px 0 25px; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; color: var(--blue-light); background: rgba(14,34,54,.6); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 45px; padding-block: 60px 45px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 330px; margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.footer-column h2 { margin-bottom: 17px; color: var(--text-soft); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); font-size: .8rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--blue-light); }
.footer-community { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(14,31,51,.45); }
.footer-community p { margin-bottom: 13px; color: var(--muted); font-size: .76rem; }
.footer-community .text-link { padding: 0; font-size: .78rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 19px 25px; border-top: 1px solid var(--line); color: #5f7588; font-size: .7rem; }
.footer-bottom p { margin: 0; color: inherit; }

/* Toast and utility */
.toast-region { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; width: min(calc(100% - 40px), 360px); gap: 10px; pointer-events: none; }
.toast { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; padding: 13px 15px; transform: translateY(18px); border: 1px solid var(--line-strong); border-radius: 14px; opacity: 0; background: rgba(8,25,42,.96); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); transition: opacity .25s ease, transform .3s var(--ease); }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--blue-light); background: rgba(39,151,226,.13); }
.toast strong, .toast span { display: block; }
.toast strong { font-size: .78rem; }
.toast span { color: var(--muted); font-size: .69rem; }
.error-code { display: block; margin-bottom: 10px; color: transparent; background: linear-gradient(120deg, var(--blue-light), var(--violet)); -webkit-background-clip: text; background-clip: text; font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: .9; letter-spacing: -.08em; }
.error-page { display: grid; min-height: 72vh; place-items: center; }
.error-page .empty-state { border: 0; background: transparent; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 45px; }
  .hero-visual { min-height: 455px; }
  .hero-panel { width: 410px; }
  .orbit-one { width: 410px; height: 410px; }
  .orbit-two { width: 500px; height: 500px; }
  .floating-card-one { right: -12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 210px 1fr; }
  .footer-main { grid-template-columns: 1.3fr .7fr .8fr; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-community { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .footer-community p { margin-bottom: 0; }
}

@media (max-width: 860px) {
  :root { --header-height: 70px; }
  .section { padding-block: 82px; }
  .section-tight { padding-top: 43px; }
  .nav-shell { width: min(calc(100% - 28px), var(--container)); }
  .brand { margin-right: auto; }
  .nav-toggle { position: relative; display: inline-flex; }
  .nav-menu { position: fixed; z-index: 99; top: var(--header-height); right: 0; left: 0; display: grid; align-content: start; gap: 4px; height: calc(100dvh - var(--header-height)); padding: 20px; transform: scaleX(0); transform-origin: right center; border-top: 1px solid var(--line); background: rgba(5,14,25,.985); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s var(--ease), opacity .25s ease, visibility .3s; }
  .nav-menu.is-open { transform: scaleX(1); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { min-height: 54px; padding-inline: 16px; font-size: 1rem; }
  .nav-link::after { top: 12px; right: auto; bottom: 12px; left: 0; width: 3px; height: auto; transform: scaleY(0); }
  .nav-link.is-active::after { transform: scaleY(1); }
  .nav-actions { margin-left: 12px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 590px); min-height: 500px; margin-inline: auto; }
  .hero-panel { width: min(88%, 480px); }
  .floating-card-one { right: 2%; }
  .floating-card-two { left: 2%; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { justify-self: start; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .benefit-card .feature-icon { grid-row: 1 / 3; margin: 0; }
  .benefit-card p { grid-column: 2; }
  .split-feature { grid-template-columns: 1fr; gap: 45px; }
  .split-copy { max-width: 650px; }
  .download-preview-stack { width: min(100%, 680px); }
  .community-card { grid-template-columns: 65px 1fr; padding: 38px; }
  .community-card .button { grid-column: 2; justify-self: start; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { display: grid; grid-template-columns: 52px 1fr auto; column-gap: 18px; align-items: center; }
  .category-icon { grid-row: 1 / 4; margin: 0; }
  .category-card h3 { align-self: end; margin: 0; }
  .category-card p { min-height: 0; margin: 6px 0 0; }
  .category-meta { grid-column: 3; grid-row: 1 / 4; gap: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-image-wrap { position: relative; top: 0; }
  .detail-copy { max-width: 760px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: relative; top: 0; }
  .checkout-layout > .cart-summary { grid-row: 1; }
}

@media (max-width: 660px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding-block: 68px; }
  .section-tight { padding-top: 35px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .brand-text { font-size: 1.05rem; }
  .brand img { width: 34px; height: 34px; }
  .header-discord { width: 44px; padding: 0; justify-content: center; }
  .discord-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .nav-actions { gap: 7px; margin-left: 8px; }
  .hero { padding-top: 62px; }
  .hero-actions .button-primary, .hero-actions .button-secondary { flex: 1 1 calc(50% - 6px); }
  .hero-actions .button-ghost { width: 100%; }
  .hero-visual { min-height: 415px; }
  .hero-panel { width: 94%; }
  .hero-panel-body { padding: 20px; }
  .hero-mini-grid { gap: 8px; }
  .hero-mini-grid > div { padding: 11px; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 430px; height: 430px; }
  .floating-card-one { top: 15px; right: 0; }
  .floating-card-two { bottom: 0; left: 0; }
  .stats-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .stat-item { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; }
  .stat-item + .stat-item::before { top: 0; right: 20%; bottom: auto; left: 20%; width: auto; height: 1px; }
  .stat-value { margin: 0; font-size: 1.25rem; }
  .section-title-row { align-items: start; }
  .product-grid { grid-template-columns: 1fr; }
  .preview-file { width: 94%; grid-template-columns: 52px minmax(0, 1fr) auto; }
  .preview-file img { width: 52px; height: 46px; }
  .preview-file:nth-child(2) { left: 3%; }
  .preview-file:nth-child(3) { left: 6%; }
  .community-card { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .community-mark { margin-inline: auto; }
  .community-card .eyebrow { justify-content: center; }
  .community-card .button { grid-column: 1; justify-self: stretch; }
  .compact-hero { padding-block: 65px 62px; }
  .category-card { grid-template-columns: 50px 1fr; }
  .category-meta { grid-column: 2; grid-row: 3; margin-top: 13px; }
  .catalog-toolbar { align-items: start; flex-direction: column; gap: 10px; }
  .catalog-toolbar-small { align-items: center; flex-direction: row; }
  .filter-chips { flex-wrap: nowrap; width: calc(100% + 14px); margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .download-controls { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 125px 1fr; }
  .download-card-body { padding: 17px; }
  .download-card-bottom { align-items: flex-start; flex-direction: column; }
  .detail-section { padding-top: 38px; }
  .detail-grid { gap: 30px; }
  .detail-image-wrap { border-radius: var(--radius-lg); }
  .detail-price-row { align-items: stretch; flex-direction: column; }
  .detail-copy .button { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 85px 1fr; align-items: start; }
  .cart-item-image { width: 85px; }
  .cart-item-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto auto; align-items: center; justify-items: start; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
  .cart-line-price { grid-column: 3; }
  .remove-item { grid-column: 2; grid-row: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full, .checkbox-field { grid-column: 1; }
  .checkout-card { padding: 23px 19px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand, .footer-column:last-child { grid-column: 1 / -1; }
  .footer-community { display: block; }
  .footer-community p { margin-bottom: 13px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
  .brand { margin-right: auto; }
  .nav-actions { margin-left: 5px; }
  .hero-actions .button { width: 100%; flex-basis: 100%; }
  .hero-visual { min-height: 385px; }
  .hero-panel-body { padding: 15px; }
  .hero-logo-card { padding: 14px; }
  .hero-logo-card img { width: 50px; height: 50px; }
  .signal-bars { height: 85px; padding-top: 19px; }
  .hero-mini-grid small { display: none; }
  .floating-card { padding: 9px 11px; }
  .section-title-row { flex-direction: column; }
  .download-card { grid-template-columns: 1fr; }
  .download-thumb { aspect-ratio: 800 / 350; }
  .preview-file { grid-template-columns: 45px minmax(0, 1fr); }
  .preview-file img { width: 45px; height: 42px; }
  .preview-size { display: none; }
  .category-card { padding: 22px 18px; }
  .detail-image-caption { align-items: flex-start; flex-direction: column; }
  .cart-item { grid-template-columns: 70px 1fr; gap: 13px; }
  .cart-item-image { width: 70px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-column:last-child { grid-column: auto; }
}

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