:root {
  --bg: #08090d;
  --bg-2: #0c0d12;
  --panel: #111218;
  --panel-2: #17181f;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.2);
  --text: #f7f7f8;
  --muted: #a1a2aa;
  --dim: #6d6e76;
  --white: #fff;
  --shell: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, svg { display: block; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -70px; padding: 10px 16px; border-radius: 8px; background: white; color: black; }
.skip-link:focus { top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(8,9,13,.84); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-row { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 720; letter-spacing: -.025em; }
.brand svg { width: 34px; height: 34px; color: #303137; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: 95px; }
.desktop-nav a, .text-action { color: #c5c6cc; font-size: 13px; transition: color .2s; }
.desktop-nav a:hover, .text-action:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.button { min-height: 49px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 650; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark, .button-white { background: white; color: #0b0c10; box-shadow: 0 14px 35px rgba(255,255,255,.08); }
.button-dark:hover, .button-white:hover { background: #dedee2; box-shadow: 0 17px 42px rgba(255,255,255,.12); }
.button-small { min-height: 40px; padding-inline: 17px; border-radius: 10px; }
.button-line { color: #dddde2; border-color: var(--line); background: rgba(255,255,255,.025); }
.button-line:hover { border-color: var(--line-strong); background: rgba(255,255,255,.06); }
.button svg { width: 18px; fill: currentColor; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 1.5px; margin: 6px 0; background: white; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero { position: relative; min-height: 770px; overflow: hidden; padding: 154px 0 92px; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 78px 78px; -webkit-mask-image: linear-gradient(to right, black, transparent 78%); mask-image: linear-gradient(to right, black, transparent 78%); }
.hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: 1%; top: 9%; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(110px); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .87fr 1.13fr; gap: 72px; align-items: center; }
.hero-pill { width: max-content; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #c0c1c7; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.hero-pill i { width: 7px; height: 7px; border-radius: 50%; background: white; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.hero h1 { margin: 29px 0 22px; font-size: clamp(58px,5.6vw,82px); line-height: .99; letter-spacing: -.064em; font-weight: 740; }
.hero h1 em { color: #bfc0c7; font-family: inherit; font-style: normal; font-weight: inherit; }
.hero-copy > p { max-width: 525px; margin: 0; color: #aaaab2; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-shot { position: relative; min-width: 0; margin: 0; perspective: 1200px; }
.hero-shot::before, .hero-shot::after { content: ""; position: absolute; z-index: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.hero-shot::before { width: 440px; height: 440px; right: -85px; top: -100px; }
.hero-shot::after { width: 290px; height: 290px; right: -10px; top: -25px; }
.app-frame { position: relative; z-index: 2; overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: perspective(1200px) rotateY(var(--tilt-y,-3deg)) rotateX(var(--tilt-x,1deg)) translate3d(var(--shift-x,0),var(--shift-y,0),0); transition: transform .18s ease-out; will-change: transform; }
.app-frame img { width: 100%; height: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; box-shadow: 0 35px 100px rgba(0,0,0,.55); }

.trust-strip { border-bottom: 1px solid var(--line); background: #0b0c10; }
.trust-row { min-height: 116px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 30px; }
.trust-row > div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-row strong { font-size: 20px; letter-spacing: -.02em; }
.trust-row span { color: var(--dim); font-size: 11px; }
.trust-row > i { width: 1px; height: 34px; background: var(--line); }

.section { padding: 118px 0; }
.mods-section { background: #0a0b0f; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: end; margin-bottom: 48px; }
.section-index { grid-column: 1; margin-bottom: -40px; color: #c9c9ce; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.section-heading h2 { grid-column: 1; margin: 56px 0 0; font-size: clamp(39px,5vw,61px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > p { grid-column: 2; max-width: 420px; justify-self: end; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.mod-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #96979e; cursor: pointer; font-size: 12px; transition: color .2s, background .2s, border-color .2s; }
.filter:hover { color: white; border-color: var(--line-strong); }
.filter.active { color: #0b0c10; background: white; border-color: white; }
.search-field { width: 210px; height: 41px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); color: #707178; }
.search-field:focus-within { border-color: rgba(255,255,255,.35); }
.search-field svg { width: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: white; font-size: 12px; }
.search-field input::placeholder { color: #707178; }
.mod-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mod-card { position: relative; min-width: 0; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); transform: perspective(900px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translateY(var(--card-y,0)); transition: transform .22s ease-out, border-color .25s, background .25s, opacity .25s; will-change: transform; }
.mod-card::before { content: ""; position: absolute; z-index: 0; inset: -1px; opacity: 0; pointer-events: none; background: radial-gradient(320px circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(255,255,255,.12),transparent 62%); transition: opacity .25s; }
.mod-card > * { position: relative; z-index: 1; }
.mod-card:hover { --card-y: -6px; border-color: rgba(255,255,255,.24); background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.02)); }
.mod-card:hover::before { opacity: 1; }
.mod-card[hidden] { display: none; }
.mod-image { position: relative; display: block; height: 185px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: #101116; }
.mod-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s,filter .45s; }
.mod-image:hover img { transform: scale(1.035); filter: contrast(1.08) saturate(1.05); }
.start-image img { object-position: center 72%; }
.taskbar-image img, .explorer-image img { object-position: center; }
.shot-tag { position: absolute; top: 10px; left: 10px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: rgba(9,10,14,.82); color: #d5d5da; backdrop-filter: blur(10px); font-size: 8px; letter-spacing: .07em; }
.mod-info { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; }
.mod-info > div > span { color: #777880; font-size: 8px; letter-spacing: .1em; }
.mod-info h3 { margin: 7px 0 0; font-size: 24px; line-height: 1.1; letter-spacing: -.04em; }
.mod-info > a { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #c6c6cc; transition: color .2s, background .2s; }
.mod-info > a:hover { color: black; background: white; }
.mod-card > p { min-height: 62px; margin: 16px 0 0; color: #92939b; font-size: 12px; line-height: 1.65; }
.mod-meta { display: flex; align-items: center; gap: 10px; min-height: 35px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: #777880; font-size: 9px; }
.mod-meta strong { margin-left: auto; color: #b7b8be; font-weight: 600; }
.mod-meta a { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #d5d5da; transition: color .2s,background .2s; }
.mod-meta a:hover { color: #090a0e; background: white; }
.catalog-card { display: flex; flex-direction: column; }
.catalog-preview { position: relative; display: block; height: 155px; overflow: hidden; margin-bottom: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: #0b0c10; }
.catalog-preview::after { content: "REAL MOD MEDIA"; position: absolute; left: 9px; top: 9px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: rgba(8,9,13,.78); color: white; backdrop-filter: blur(10px); font-size: 7px; letter-spacing: .09em; }
.catalog-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s,filter .45s; }
.catalog-preview:hover img { transform: scale(1.035); filter: contrast(1.06) saturate(1.08); }
.catalog-card-top { display: flex; align-items: center; justify-content: space-between; color: #71727a; font-size: 8px; letter-spacing: .1em; }
.catalog-card .version { color: #aaaab1; letter-spacing: .04em; }
.catalog-card h3 { min-height: 52px; margin: 8px 0 0; font-size: 21px; line-height: 1.18; letter-spacing: -.035em; }
.catalog-card > p { min-height: 60px; margin-top: 12px; }
.no-results { padding: 50px 20px; text-align: center; color: var(--muted); }
.catalog-link { display: flex; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 24px 0; border-block: 1px solid var(--line); color: #85868d; font-size: 12px; }
.catalog-link a { color: #dedee3; font-weight: 650; }
.catalog-link a:hover { color: white; }

.home-page .mods-section .mod-toolbar { display: none; }
.home-page .mods-section .mod-card:nth-child(n+10) { display: none; }

.mods-page-main { padding-top: 78px; background: #0a0b0f; }
.mods-page-section { min-height: 100vh; padding-top: 68px; }
.mods-page-heading { display: grid; grid-template-columns: 1.06fr .94fr; gap: 34px 80px; align-items: end; margin-bottom: 64px; padding: 48px 0 68px; border-bottom: 1px solid var(--line); }
.mods-page-heading .section-index { grid-column: 1; margin: 0 0 -20px; }
.mods-page-heading h1 { grid-column: 1; margin: 0; font-size: clamp(51px,6.2vw,78px); line-height: .98; letter-spacing: -.06em; }
.mods-page-heading > p { grid-column: 2; align-self: end; max-width: 470px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.release-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-loader { min-height: 280px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 13px; }
.catalog-loader-error { color: #e7bcbc; }

/* Individual mod pages */
.mod-detail-main { min-height: 100vh; padding: 78px 0 110px; background: #0a0b0f; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; padding: 34px 0 24px; color: #666770; font-size: 11px; }
.breadcrumbs a { color: #a3a4ab; }
.breadcrumbs a:hover { color: white; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-detail-hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; padding: 60px 0 88px; border-bottom: 1px solid var(--line); }
.detail-kicker { color: #8f9098; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.mod-detail-copy h1 { max-width: 660px; margin: 18px 0 23px; font-size: clamp(48px,6.1vw,78px); line-height: .94; letter-spacing: -.06em; }
.mod-detail-copy > p { max-width: 630px; margin: 0; color: #a0a1a9; font-size: 16px; line-height: 1.75; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.mod-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 48px 0 0; }
.mod-facts div { min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.mod-facts dt { color: #65666e; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.mod-facts dd { overflow: hidden; margin: 7px 0 0; color: #d4d4da; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mod-detail-copy, .mod-detail-media { min-width: 0; }
.mod-detail-media { margin: 0; }
.mod-detail-media img { width: 100%; max-width: 100%; max-height: 570px; display: block; object-fit: contain; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: #101116; box-shadow: 0 34px 90px rgba(0,0,0,.34); }
.mod-detail-media figcaption { margin-top: 12px; color: #61626a; font-size: 9px; text-align: right; }
.detail-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 80px 0 16px; }
.detail-panel { min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); }
.detail-number { color: #5e5f67; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.detail-panel h2 { max-width: 430px; margin: 90px 0 17px; font-size: 31px; letter-spacing: -.04em; }
.detail-panel p { max-width: 610px; margin: 10px 0 0; color: #898a92; font-size: 13px; line-height: 1.75; }
.install-guide { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; margin-top: 16px; padding: 72px; border: 1px solid var(--line); border-radius: 24px; background: #111217; }
.install-guide h2 { margin: 15px 0 0; font-size: clamp(35px,4vw,52px); line-height: 1.02; letter-spacing: -.05em; }
.install-guide ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.install-guide li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.install-guide li > span { color: #696a72; font-size: 9px; font-weight: 700; }
.install-guide li p { margin: 0; color: #8f9098; font-size: 12px; line-height: 1.7; }
.install-guide li strong { color: #e2e2e6; }
.related-mods { padding-top: 100px; }
.related-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-bottom: 30px; }
.related-heading .detail-kicker { grid-column: 1 / -1; }
.related-heading h2 { margin: 0; font-size: 40px; letter-spacing: -.045em; }
.related-heading > a { padding-bottom: 5px; color: #b5b6bc; font-size: 11px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #111217; transition: transform .25s,border-color .25s; }
.related-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.23); }
.related-card > a { height: 190px; display: block; overflow: hidden; background: #0b0c10; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.related-card:hover img { transform: scale(1.035); }
.related-card > div { padding: 20px; }
.related-card span { color: #6e6f77; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.related-card h3 { margin: 8px 0 0; font-size: 18px; letter-spacing: -.03em; }
.related-card h3 a { color: #dedee3; }

.principles { position: relative; overflow: hidden; padding: 118px 0; background: #101116; border-block: 1px solid var(--line); }
.principles::before { content: ""; position: absolute; width: 580px; height: 580px; left: 37%; top: 20%; border-radius: 50%; background: rgba(255,255,255,.055); filter: blur(100px); }
.section-heading.inverse { position: relative; z-index: 2; }
.principle-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.principle { position: relative; min-height: 330px; padding: 29px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.principle:nth-child(2) { border-color: rgba(255,255,255,.2); background: linear-gradient(160deg,rgba(255,255,255,.095),rgba(255,255,255,.025)); }
.principle-number { position: absolute; right: 23px; top: 17px; color: rgba(255,255,255,.055); font-size: 66px; font-weight: 750; letter-spacing: -.08em; }
.principle h3 { margin: 170px 0 10px; font-size: 23px; letter-spacing: -.025em; }
.principle p { margin: 0; color: #8d8e96; font-size: 13px; line-height: 1.7; }
.principle svg { position: absolute; left: 29px; top: 29px; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); fill: none; stroke: white; stroke-width: 2; }

.faq-section { background: #0a0b0f; border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro .section-index { margin: 0 0 17px; }
.faq-intro h2 { margin: 0; font-size: clamp(40px,4.7vw,58px); line-height: 1.02; letter-spacing: -.05em; }
.faq-intro > p { max-width: 430px; margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 54px 28px 0; cursor: pointer; list-style: none; color: #e5e5e8; font-size: 19px; font-weight: 650; letter-spacing: -.025em; transition: color .2s,padding-left .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 22px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #aaaab2; font-size: 18px; font-weight: 400; transition: transform .25s,background .25s,color .25s; }
.faq-list summary:hover { padding-left: 8px; color: white; }
.faq-list details[open] summary::after { content: "−"; transform: rotate(180deg); background: white; color: #0a0b0f; }
.faq-list details p { max-width: 650px; margin: -4px 54px 27px 0; color: #8d8e96; font-size: 13px; line-height: 1.75; }
.faq-list details p a { color: #e0e0e4; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.faq-list details p a:hover { color: white; text-decoration-color: white; }

.workflow { background: #0a0b0f; }
.workflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
.workflow-intro { position: sticky; top: 120px; }
.workflow-intro .section-index { margin: 0 0 17px; }
.workflow-intro h2 { margin: 0; font-size: clamp(40px,4.7vw,58px); line-height: 1.02; letter-spacing: -.05em; }
.workflow-intro > p { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 76px 1fr 28px; gap: 16px; padding: 37px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: #d2d2d7; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.steps h3 { margin: -5px 0 7px; font-size: 24px; letter-spacing: -.03em; }
.steps p { max-width: 430px; margin: 0; color: #8b8c94; font-size: 13px; line-height: 1.7; }
.steps b { color: #777880; font-size: 17px; font-weight: 400; }

.cta { padding: 0 0 90px; background: #0a0b0f; }
.cta-inner { position: relative; min-height: 450px; overflow: hidden; padding: 68px 70px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(135deg,#dedee2,#898b92); color: #0a0b0f; }
.cta-inner::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(0,0,0,.3) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.3) 1px,transparent 1px); background-size: 58px 58px; -webkit-mask-image: linear-gradient(90deg,black,transparent 75%); mask-image: linear-gradient(90deg,black,transparent 75%); }
.cta-inner > div:not(.cta-mark), .cta-inner > a { position: relative; z-index: 2; }
.cta-inner > div > span { font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.cta h2 { margin: 25px 0 0; font-size: clamp(49px,5.6vw,69px); line-height: .93; letter-spacing: -.06em; }
.cta .button-white { background: #0a0b0f; color: white; box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.cta .button-white:hover { background: #25262b; }
.cta-mark { position: absolute; right: 45px; top: 45px; width: 330px; opacity: .11; transform: rotate(-8deg); }
.cta-mark svg { width: 100%; fill: black; }

.footer { padding: 66px 0 24px; border-top: 1px solid var(--line); background: #07080b; }
.footer-grid { display: flex; justify-content: space-between; padding-bottom: 55px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid > div:first-child p { color: #73747b; font-size: 12px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 5px; color: #d9d9de; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: #73747b; font-size: 12px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: #56575e; font-size: 10px; }

.reveal { opacity: 0; filter: blur(7px); transform: translateY(28px) scale(.985); transition: opacity .78s cubic-bezier(.2,.75,.25,1),transform .78s cubic-bezier(.2,.75,.25,1),filter .78s; }
.reveal.visible { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

/* Motion system */
.scroll-progress { position: fixed; z-index: 250; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; transform: scaleX(var(--scroll-progress,0)); transform-origin: left; background: white; box-shadow: 0 0 16px rgba(255,255,255,.65); }
.brand svg { transition: transform .35s cubic-bezier(.2,.8,.2,1),filter .35s; }
.brand:hover svg { transform: rotate(-9deg) scale(1.08); filter: drop-shadow(0 0 12px rgba(255,255,255,.22)); }
.hero-pill { opacity: 0; transform: translateY(12px); transition: opacity .55s .12s,transform .55s .12s; }
.page-ready .hero-pill { opacity: 1; transform: translateY(0); }
.hero-pill i { animation: signal 2.1s ease-in-out infinite; }
.hero-line { display: block; overflow: hidden; padding: 0 .07em .08em 0; margin-bottom: -.08em; }
.hero-line > span { display: block; transform: translateY(115%); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.page-ready .hero-line:first-child > span { transform: translateY(0); transition-delay: .16s; }
.page-ready .hero-line:nth-child(2) > span { transform: translateY(0); transition-delay: .27s; }
.hero-copy > p, .hero-actions { opacity: 0; transform: translateY(15px); transition: opacity .65s,transform .65s; }
.page-ready .hero-copy > p { opacity: 1; transform: none; transition-delay: .42s; }
.page-ready .hero-actions { opacity: 1; transform: none; transition-delay: .52s; }
.hero-shot::before { animation: orbital 24s linear infinite; }
.hero-shot::after { animation: orbital-reverse 18s linear infinite; }
.page-ready .app-frame { animation: app-enter 1.05s .18s both cubic-bezier(.18,.9,.28,1); }
.mod-card.filtering-in { animation: card-in .42s both cubic-bezier(.2,.8,.2,1); }
.mod-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg,transparent 25%,rgba(255,255,255,.11) 47%,transparent 68%); transform: translateX(-140%); }
.mod-card:hover .mod-image::after { animation: sheen .85s ease-out; }
.principle { transition: transform .3s,border-color .3s,background .3s; }
.principle:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.055); }
.principle svg { transition: transform .45s cubic-bezier(.2,.8,.2,1),background .3s; }
.principle:hover svg { transform: rotate(-8deg) scale(1.08); background: rgba(255,255,255,.1); }
.steps li { transition: padding-left .28s,background .28s; }
.steps li:hover { padding-left: 12px; background: linear-gradient(90deg,rgba(255,255,255,.04),transparent 75%); }
.steps li b { transition: transform .25s,color .25s; }
.steps li:hover b { transform: translateY(5px); color: white; }
.steps li:last-child:hover b { transform: rotate(8deg) scale(1.2); }
.cta-inner::after { content: ""; position: absolute; z-index: 1; inset: -70% -35%; pointer-events: none; background: linear-gradient(105deg,transparent 42%,rgba(255,255,255,.27) 50%,transparent 58%); transform: translateX(-50%) rotate(4deg); animation: cta-light 6s 1s ease-in-out infinite; }
.button { position: relative; overflow: hidden; }
.button::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; transform: skewX(-18deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); transition: left .55s ease; }
.button:hover::after { left: 130%; }

@keyframes signal { 0%,100% { opacity: .55; box-shadow: 0 0 0 4px rgba(255,255,255,.06); } 50% { opacity: 1; box-shadow: 0 0 0 7px rgba(255,255,255,.02),0 0 15px rgba(255,255,255,.42); } }
@keyframes orbital { to { transform: rotate(360deg) scale(1.02); } }
@keyframes orbital-reverse { to { transform: rotate(-360deg) scale(.98); } }
@keyframes app-enter { from { opacity: 0; transform: perspective(1200px) translate3d(70px,24px,0) rotateY(-11deg) rotateX(4deg) scale(.94); } to { opacity: 1; transform: perspective(1200px) rotateY(var(--tilt-y,-3deg)) rotateX(var(--tilt-x,1deg)) translate3d(var(--shift-x,0),var(--shift-y,0),0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes sheen { from { transform: translateX(-140%); } to { transform: translateX(140%); } }
@keyframes cta-light { 0%,35% { transform: translateX(-50%) rotate(4deg); } 68%,100% { transform: translateX(70%) rotate(4deg); } }

@media (max-width: 1020px) {
  .desktop-nav { margin-left: 0; gap: 23px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 40px; }
  .hero h1 { font-size: 59px; }
  .mods-page-heading { gap: 30px 50px; }
  .faq-grid { gap: 65px; }
  .workflow-grid { gap: 65px; }
}

@media (max-width: 840px) {
  .desktop-nav, .text-action { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { position: fixed; inset: 78px 0 auto; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 28px; transform: translateY(-130%); opacity: 0; pointer-events: none; border-bottom: 1px solid var(--line); background: rgba(8,9,13,.98); transition: transform .25s,opacity .25s; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { padding: 15px 6px; border-bottom: 1px solid rgba(255,255,255,.06); color: #d0d1d6; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 82px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(54px,10.5vw,78px); }
  .hero-shot { width: min(680px,94%); margin-inline: auto; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 0; padding: 18px 0; }
  .trust-row > div { min-height: 75px; justify-content: center; }
  .trust-row > i { display: none; }
  .section, .principles { padding: 90px 0; }
  .section-heading { display: block; }
  .section-index { margin: 0 0 14px; }
  .section-heading h2 { margin: 0; }
  .section-heading > p { margin-top: 22px; }
  .mod-gallery { grid-template-columns: 1fr 1fr; }
  .mod-card:last-child { grid-column: 1 / -1; }
  .home-page .mod-card:nth-child(9) { grid-column: 1 / -1; }
  .mods-page .mod-card:last-child { grid-column: auto; }
  .mods-page-heading { display: block; padding-top: 28px; }
  .mod-detail-hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .mod-detail-media { grid-row: 1; }
  .detail-content-grid { grid-template-columns: 1fr; }
  .install-guide { grid-template-columns: 1fr; gap: 45px; padding: 48px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-card:last-child { display: none; }
  .mods-page-heading .section-index { margin: 0 0 16px; }
  .mods-page-heading h1 { max-width: 700px; }
  .mods-page-heading > p { margin-top: 25px; }
  .release-actions { margin-top: 28px; }
  .principle-list { grid-template-columns: 1fr; }
  .principle { min-height: 280px; }
  .principle h3 { margin-top: 135px; }
  .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .faq-intro { position: static; }
  .workflow-grid { grid-template-columns: 1fr; gap: 55px; }
  .workflow-intro { position: static; }
  .cta-mark { right: -50px; opacity: .07; }
}

@media (max-width: 590px) {
  .shell { width: min(calc(100% - 28px),var(--shell)); }
  .nav-row { height: 68px; }
  .brand { font-size: 18px; }
  .brand svg { width: 30px; height: 30px; }
  .button-small { display: none; }
  .mobile-menu { top: 68px; background: #08090d; }
  .mods-page-main { padding-top: 68px; }
  .mod-detail-main { padding-top: 68px; }
  .breadcrumbs { padding-top: 26px; }
  .mod-detail-hero { padding: 28px 0 60px; }
  .mod-detail-copy h1 { font-size: 47px; }
  .mod-facts { grid-template-columns: 1fr; }
  .mod-facts dd { white-space: normal; }
  .mod-detail-media img { border-radius: 15px; }
  .detail-content-grid { padding-top: 58px; }
  .detail-panel { min-height: 260px; padding: 24px; }
  .detail-panel h2 { margin-top: 65px; font-size: 27px; }
  .install-guide { padding: 34px 24px; border-radius: 18px; }
  .related-mods { padding-top: 72px; }
  .related-heading { display: block; }
  .related-heading h2 { margin: 10px 0 14px; font-size: 34px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card:last-child { display: block; }
  .mods-page-section { padding-top: 36px; }
  .mods-page-heading { margin-bottom: 42px; padding-bottom: 45px; }
  .mods-page-heading h1 { font-size: 48px; }
  .release-actions { flex-direction: column; }
  .release-actions .button { width: 100%; }
  .hero { min-height: 0; padding: 108px 0 72px; }
  .hero h1 { font-size: clamp(47px,14.7vw,65px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-shot { width: 100%; }
  .app-frame { padding: 0; transform: none; }
  .app-frame img { border-radius: 10px; }
  .section, .principles { padding: 78px 0; }
  .section-heading h2 { font-size: 40px; }
  .mod-toolbar { flex-direction: column; align-items: stretch; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .search-field { width: 100%; }
  .mod-gallery { grid-template-columns: 1fr; }
  .mod-card:last-child { grid-column: auto; }
  .home-page .mod-card:nth-child(9) { grid-column: auto; }
  .mod-image { height: 185px; }
  .mod-card > p { min-height: 0; }
  .catalog-link { flex-direction: column; gap: 12px; }
  .principle { min-height: 270px; }
  .faq-list summary { padding: 24px 48px 24px 0; font-size: 17px; }
  .faq-list summary::after { top: 18px; }
  .faq-list details p { margin-right: 0; }
  .steps li { grid-template-columns: 46px 1fr 20px; padding: 30px 0; }
  .steps h3 { font-size: 21px; }
  .cta { padding-bottom: 65px; }
  .cta-inner { min-height: 440px; padding: 48px 26px; border-radius: 22px; }
  .cta h2 { font-size: 44px; }
  .cta-inner .button { width: 100%; }
  .footer-grid { flex-direction: column; gap: 45px; }
  .footer-links { gap: 45px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

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