:root {
    --red: #e50914;
    --red-dark: #b40710;
    --ink: #11110f;
    --muted: #6d6d68;
    --line: #e7e7e2;
    --soft: #f6f6f3;
    --paper: #ffffff;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(17, 17, 15, .08);
    --shell: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: 14px; top: -100px; z-index: 9999; padding: 12px 18px;
    color: #fff; background: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 14px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.header-main { min-height: 86px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 250px; }
.brand-mark {
    display: grid; place-items: center; width: 46px; height: 46px; color: #fff;
    background: var(--red); border-radius: 14px; font-size: 27px; font-weight: 900;
    box-shadow: 0 9px 24px rgba(229, 9, 20, .24); transform: rotate(-3deg);
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 24px; letter-spacing: -.7px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.45px; text-transform: uppercase; }
.header-search { position: relative; margin-left: auto; width: min(100%, 500px); }
.header-search input {
    width: 100%; height: 48px; padding: 0 54px 0 19px; color: var(--ink);
    background: var(--soft); border: 1px solid transparent; border-radius: 999px; outline: 0;
    transition: .2s ease;
}
.header-search input:focus { background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 9, 20, .09); }
.header-search button {
    position: absolute; right: 5px; top: 5px; display: grid; place-items: center;
    width: 38px; height: 38px; padding: 0; color: #fff; background: var(--ink);
    border: 0; border-radius: 50%; cursor: pointer; transition: .2s ease;
}
.header-search button:hover { background: var(--red); }
.header-search svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-toggle { display: none; }
.primary-nav { position: relative; z-index: 40; background: #fff; border-top: 1px solid #f0f0ec; }
.nav-scroll { display: flex; gap: 4px; align-items: center; min-height: 52px; overflow: visible; }
.nav-scroll > a, .nav-group-toggle {
    flex: 0 0 auto; position: relative; padding: 14px 13px 13px; color: #4a4a46;
    background: transparent; border: 0; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: .2s ease;
}
.nav-scroll > a::after, .nav-group-toggle::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 7px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .2s ease;
}
.nav-scroll > a:hover, .nav-group-toggle:hover, .nav-group.is-open .nav-group-toggle { color: var(--ink); }
.nav-scroll > a:hover::after, .nav-group-toggle:hover::after, .nav-group.is-open .nav-group-toggle::after { transform: scaleX(1); transform-origin: left; }
.nav-scroll .nav-home { color: var(--red); }
.nav-group { position: relative; }
.nav-group-toggle span { display: inline-block; margin-left: 5px; color: var(--red); transition: transform .2s ease; }
.nav-group:hover .nav-group-toggle span, .nav-group:focus-within .nav-group-toggle span, .nav-group.is-open .nav-group-toggle span { transform: rotate(180deg); }
.nav-group-menu { position: absolute; left: 0; top: calc(100% + 1px); display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 7px; width: min(760px, calc(100vw - 44px)); max-height: min(65vh, 560px); padding: 18px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 16px 16px; box-shadow: 0 24px 55px rgba(17,17,15,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.nav-group-menu-other { left: auto; right: 0; }
.nav-group:hover .nav-group-menu, .nav-group:focus-within .nav-group-menu, .nav-group.is-open .nav-group-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group-menu a { display: flex; align-items: center; min-height: 43px; padding: 9px 11px; color: #41413d; background: var(--soft); border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 800; line-height: 1.3; transition: .18s ease; }
.nav-group-menu a:hover { color: var(--red); background: #fff; border-color: rgba(229,9,20,.25); box-shadow: 0 7px 17px rgba(17,17,15,.06); }

/* Shared */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--red); border-radius: 99px; }
.section { padding: 66px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-title { margin: 0; font-size: clamp(29px, 3vw, 46px); line-height: 1.04; letter-spacing: -1.8px; }
.section-copy { max-width: 690px; margin: 10px 0 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-size: 14px; font-weight: 900; white-space: nowrap; }
.text-link::after { content: "→"; font-size: 19px; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 13px; font-weight: 700; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: #bbb; }
.empty-state { padding: 60px 30px; text-align: center; background: var(--soft); border: 1px dashed #d8d8d2; border-radius: var(--radius); }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { margin: 0; color: var(--muted); }

/* Hero */
.home-hero { padding: 38px 0 0; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .65fr); gap: 20px; }
.hero-feature {
    position: relative; min-height: 540px; overflow: hidden; color: #fff; background: #181815;
    border-radius: 28px; box-shadow: var(--shadow); isolation: isolate;
}
.hero-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 12, 10, .95) 0%, rgba(12, 12, 10, .71) 43%, rgba(12, 12, 10, .12) 78%), linear-gradient(0deg, rgba(12, 12, 10, .74), transparent 60%); }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transform: scale(1.02); }
.hero-content { display: flex; flex-direction: column; justify-content: end; min-height: 540px; max-width: 700px; padding: 56px; }
.hero-kicker { display: inline-flex; width: fit-content; padding: 7px 11px; margin-bottom: 18px; color: #fff; background: var(--red); border-radius: 6px; font-size: 11px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -2.7px; text-wrap: balance; }
.hero-copy { max-width: 610px; margin: 20px 0 28px; color: rgba(255, 255, 255, .77); font-size: 16px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 27px; color: #fff; font-size: 13px; font-weight: 800; }
.hero-meta span::before { content: "•"; margin-right: 8px; color: var(--red); }
.primary-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: fit-content;
    min-height: 48px; padding: 0 21px; color: #fff; background: var(--red); border: 0;
    border-radius: 10px; font-size: 14px; font-weight: 900; box-shadow: 0 12px 28px rgba(229, 9, 20, .25); transition: .2s ease;
}
.primary-button:hover { background: #ff1722; transform: translateY(-2px); }
.hero-side { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.hero-intro { padding: 34px; color: #fff; background: var(--red); border-radius: 28px; }
.hero-intro span { display: block; margin-bottom: 22px; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; opacity: .78; }
.hero-intro h1 { margin: 0; font-size: clamp(29px, 3vw, 45px); line-height: 1.02; letter-spacing: -1.8px; }
.hero-intro p { margin: 18px 0 0; opacity: .84; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; background: #343430; border-radius: 28px; }
.hero-stat { display: flex; flex-direction: column; justify-content: end; min-height: 150px; padding: 28px; color: #fff; background: var(--ink); }
.hero-stat strong { font-size: 32px; line-height: 1; }
.hero-stat small { margin-top: 9px; color: #a8a8a2; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* Categories */
.category-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-chip { position: relative; min-height: 138px; padding: 23px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: .22s ease; }
.category-chip::before { content: ""; position: absolute; width: 80px; height: 80px; right: -30px; bottom: -30px; background: rgba(229, 9, 20, .09); border-radius: 50%; transition: .22s ease; }
.category-chip:hover { border-color: rgba(229, 9, 20, .32); box-shadow: var(--shadow); transform: translateY(-4px); }
.category-chip:hover::before { transform: scale(1.6); }
.category-chip b { display: block; max-width: 180px; font-size: 16px; line-height: 1.2; }
.category-chip small { display: block; margin-top: 11px; color: var(--muted); font-weight: 700; }
.category-chip small strong { display: inline; color: var(--red); font-size: inherit; }

/* Cards */
.post-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 18px; }
.post-card { min-width: 0; }
.card-poster-wrap { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--soft); border-radius: 15px; box-shadow: 0 12px 28px rgba(17, 17, 15, .10); }
.card-poster { width: 100%; height: 100%; object-fit: cover; transition: transform .42s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.post-card:hover .card-poster { transform: scale(1.055); filter: brightness(.78); }
.card-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 10, 9, .05); opacity: 0; transition: .25s ease; }
.post-card:hover .card-overlay { opacity: 1; }
.card-play { display: grid; place-items: center; width: 52px; height: 52px; color: #fff; background: var(--red); border-radius: 50%; font-size: 19px; box-shadow: 0 12px 28px rgba(0,0,0,.28); transform: translateY(8px); transition: .25s ease; }
.post-card:hover .card-play { transform: translateY(0); }
.card-badge { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 6px 8px; color: #fff; background: rgba(17, 17, 15, .87); border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; backdrop-filter: blur(8px); }
.card-downloads { position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; color: #fff; background: var(--red); border-radius: 6px; font-size: 10px; font-weight: 900; }
.card-body { padding: 15px 3px 0; }
.card-category { display: block; margin-bottom: 7px; overflow: hidden; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .9px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.card-title { display: -webkit-box; min-height: 45px; margin: 0; overflow: hidden; font-size: 15px; line-height: 1.42; letter-spacing: -.25px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-title a:hover { color: var(--red); }
.card-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #92928c; font-size: 11px; font-weight: 700; }

/* Listing */
.page-hero { padding: 52px 0 42px; background: linear-gradient(135deg, #fff 0%, #fafaf7 70%, #f2f2ed 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(40px, 6vw, 78px); line-height: .95; letter-spacing: -3px; }
.page-hero p { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.page-count { display: inline-flex; margin-top: 24px; padding: 8px 12px; color: var(--red); background: #fff; border: 1px solid #f1cccc; border-radius: 999px; font-size: 12px; font-weight: 900; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 48px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 43px; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 900; }
.pagination a:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.pagination .current { color: #fff; background: var(--red); border-color: var(--red); }
.pagination .disabled { color: #bbb; background: var(--soft); }

/* Search */
.search-panel { display: flex; gap: 10px; max-width: 850px; margin-top: 28px; }
.search-panel input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; background: #fff; border: 1px solid #d9d9d3; border-radius: 12px; outline: 0; }
.search-panel input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,9,20,.08); }
.search-panel button { min-width: 130px; color: #fff; background: var(--red); border: 0; border-radius: 12px; font-weight: 900; cursor: pointer; }

/* Post */
.post-page { background: #fafaf7; }
.post-shell { padding: 48px 0 80px; }
.post-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 54px; align-items: start; }
.post-poster { position: sticky; top: 160px; overflow: hidden; background: #eee; border-radius: 20px; box-shadow: var(--shadow); }
.post-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.post-main { min-width: 0; padding-top: 8px; }
.post-category { display: inline-flex; padding: 7px 10px; color: #fff; background: var(--red); border-radius: 6px; font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.post-title { margin: 18px 0; font-size: clamp(39px, 5vw, 68px); line-height: 1; letter-spacing: -2.6px; text-wrap: balance; }
.post-lead { max-width: 850px; color: var(--muted); font-size: 18px; }
.post-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 36px; }
.post-fact { padding: 8px 11px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: #575752; font-size: 12px; font-weight: 800; }
.post-fact.imdb { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: inset 3px 0 0 var(--red); }
.content-box, .downloads-box { margin-top: 22px; padding: clamp(25px, 4vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.content-box h2, .downloads-box h2 { margin: 0 0 20px; font-size: 25px; letter-spacing: -.7px; }
.topic-content { color: #40403c; overflow-wrap: anywhere; }
.topic-content p { margin: 0 0 18px; }
.topic-content a { color: var(--red); text-decoration: none; }
.topic-external-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; max-width: 100%; margin: 3px 2px; padding: 8px 11px; color: #fff !important; background: #171716; border: 1px solid #2c2c28; border-left: 3px solid var(--red); border-radius: 8px; font-size: 12px; font-weight: 900; overflow-wrap: anywhere; transition: .2s ease; }
.topic-external-link:hover { background: #292926; transform: translateY(-1px); }
.topic-heading { margin: 30px 0 12px; color: var(--ink); font-size: 21px; letter-spacing: -.35px; }
.topic-video { position: relative; width: 100%; margin: 18px 0 28px; padding-top: 56.25%; overflow: hidden; background: #070707; border: 1px solid #242421; border-radius: 16px; box-shadow: 0 18px 44px rgba(17,17,15,.18); }
.topic-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.downloads-intro { margin: -10px 0 22px; color: var(--muted); }
.download-list { display: grid; gap: 10px; }
.download-code-card { overflow: hidden; background: #10100f; border: 1px solid #242421; border-radius: 13px; box-shadow: 0 10px 28px rgba(17,17,15,.1); }
.download-code-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 9px 13px; color: #fff; background: #181817; border-bottom: 1px solid #2a2a27; }
.download-code-head strong { font-size: 13px; letter-spacing: .25px; }
.download-code-head span { padding: 4px 8px; color: #fff; background: var(--red); border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .55px; text-transform: uppercase; }
.download-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 11px; }
.download-link-summary { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 9px 12px; color: #f1f1ed; background: #090909; border: 1px solid #292925; border-radius: 8px; }
.download-link-summary > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.download-link-summary strong { font-size: 13px; }
.download-link-summary small { margin-top: 2px; color: #8e8e88; font-size: 10px; }
.download-lock { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; color: #fff; background: rgba(229,9,20,.16); border: 1px solid rgba(229,9,20,.42); border-radius: 9px; font-size: 15px; }
.copy-link-button, .open-link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 13px; border-radius: 8px; font-size: 12px; font-weight: 900; cursor: pointer; transition: .2s ease; white-space: nowrap; }
.copy-link-button { color: #fff; background: var(--red); border: 1px solid var(--red); }
.copy-link-button:hover, .copy-link-button.is-copied { background: var(--red-dark); border-color: var(--red-dark); }
.open-link-button { color: #fff; background: #242421; border: 1px solid #33332f; }
.open-link-button:hover { background: #343430; border-color: #4a4a44; }
.download-warning { margin-top: 18px; color: #777771; font-size: 12px; }

/* About / admin */
.prose { max-width: 900px; padding: 62px 0 90px; }
.prose h1 { margin: 0 0 24px; font-size: clamp(42px, 6vw, 78px); line-height: .96; letter-spacing: -3px; }
.prose h2 { margin: 45px 0 14px; font-size: 28px; }
.prose p, .prose li { color: #555550; font-size: 17px; }
.admin-result { padding: 30px; margin: 50px auto; max-width: 900px; white-space: pre-wrap; background: #111; color: #eee; border-radius: 18px; font: 14px/1.65 Consolas, monospace; }

/* Footer */
.site-footer { color: #d2d2cd; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding: 66px 0 48px; }
.footer-brand { color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.footer-grid p { max-width: 470px; color: #8f8f89; }
.footer-grid h2 { margin: 0 0 16px; color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.footer-grid div:not(:first-child) a { display: block; margin: 9px 0; color: #9e9e98; font-size: 14px; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; color: #767670; border-top: 1px solid #292925; font-size: 12px; }

@media (max-width: 1180px) {
    .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero-layout { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); }
    .hero-content { padding: 42px; }
}

@media (max-width: 900px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-main { min-height: 72px; gap: 14px; }
    .brand { min-width: 0; margin-right: auto; }
    .brand-mark { width: 41px; height: 41px; }
    .brand-copy small { display: none; }
    .brand-copy strong { font-size: 21px; }
    .header-search { order: 3; display: none; width: 100%; }
    .menu-toggle { display: grid; gap: 4px; width: 42px; height: 42px; padding: 11px; background: var(--soft); border: 0; border-radius: 10px; }
    .menu-toggle span:not(.sr-only) { height: 2px; background: var(--ink); border-radius: 2px; }
    .primary-nav { display: none; }
    .primary-nav.is-open { display: block; }
    .nav-scroll { align-items: stretch; flex-direction: column; max-height: calc(100vh - 72px); padding: 12px 14px 20px; overflow-y: auto; }
    .nav-scroll > a, .nav-group-toggle { width: 100%; padding: 11px 6px; border-bottom: 1px solid var(--line); text-align: left; }
    .nav-scroll > a::after, .nav-group-toggle::after { display: none; }
    .nav-group { width: 100%; }
    .nav-group-menu { position: static; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-height: none; margin: 5px 0 10px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-group.is-open .nav-group-menu { display: grid; }
    .nav-group-menu a { min-height: 40px; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .hero-stats { min-height: 100%; }
    .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
    .post-title { font-size: 46px; }
}

@media (max-width: 680px) {
    .section { padding: 48px 0; }
    .section-head { align-items: start; flex-direction: column; margin-bottom: 24px; }
    .home-hero { padding-top: 14px; }
    .hero-feature, .hero-content { min-height: 490px; }
    .hero-feature { border-radius: 20px; }
    .hero-content { padding: 27px; }
    .hero-title { font-size: 41px; }
    .hero-side { grid-template-columns: 1fr; }
    .hero-intro, .hero-stats { border-radius: 20px; }
    .hero-intro { padding: 27px; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
    .category-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-chip { min-height: 120px; padding: 19px; }
    .page-hero { padding: 39px 0 34px; }
    .page-hero h1 { font-size: 44px; letter-spacing: -2px; }
    .search-panel { flex-direction: column; }
    .search-panel button { min-height: 52px; }
    .post-shell { padding-top: 28px; }
    .post-layout { grid-template-columns: 1fr; gap: 28px; }
    .post-poster { position: static; width: min(72vw, 320px); margin-inline: auto; }
    .post-title { font-size: 40px; letter-spacing: -1.7px; }
    .post-lead { font-size: 16px; }
    .content-box, .downloads-box { padding: 23px; border-radius: 15px; }
    .topic-video { margin-inline: -7px; width: calc(100% + 14px); border-radius: 12px; }
    .download-code-row { grid-template-columns: 1fr 1fr; }
    .download-link-summary { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 24px; padding-top: 50px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { align-items: start; flex-direction: column; }
}

@media (max-width: 380px) {
    .post-grid { grid-template-columns: 1fr 1fr; }
    .card-title { font-size: 14px; }
    .category-strip { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
