/* ============================================================
   UltimateMine — style.css
   Premium dark theme with Minecraft-inspired green accents
   ============================================================ */

:root {
  --bg: #0a0f0d;
  --bg-elev: #0f1614;
  --surface: #131d19;
  --surface-2: #182520;
  --border: #22322b;
  --border-2: #2e463a;
  --text: #e8f0ea;
  --muted: #93a89a;
  --green: #4ade80;
  --green-2: #22c55e;
  --green-deep: #15803d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.accent { color: var(--green); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: #04140a; padding: 10px 16px;
  border-radius: 8px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 14px; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--green), var(--green-2));
  color: #04140a;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(34, 197, 94, 0.4); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  color: var(--text); border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--green); border-color: var(--border); }

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 100;
  background: rgba(10, 15, 13, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 14px;
  padding: 0 18px; max-width: 1400px; margin: 0 auto;
}
.menu-toggle { display: none; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em;
}
.logo-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green-2), var(--green-deep));
  color: #04140a;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.logo-text { color: var(--text); }
.logo-text .accent { color: var(--green); }

.header-nav {
  display: flex; gap: 4px; margin-left: 18px;
}
.header-nav a {
  padding: 8px 12px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.header-nav a:hover, .header-nav a[aria-current="page"] {
  color: var(--text); background: var(--surface-2);
}
.header-nav a[aria-current="page"] { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { display: inline-flex; }

/* ============ Search overlay ============ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 8, 6, 0.75);
  backdrop-filter: blur(6px);
  display: grid; place-items: start center;
  padding: 90px 16px 24px;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: 100%; max-width: 680px;
  background: var(--bg-elev);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.search-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.search-bar input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--text); font-size: 1.05rem; padding: 6px 0;
}
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-hint { color: var(--muted); padding: 18px; text-align: center; margin: 0; font-size: .9rem; }

.search-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  transition: background .15s;
}
.search-result:hover { background: var(--surface-2); }
.search-result-icon {
  width: 40px; height: 40px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--green); flex-shrink: 0;
}
.search-result-icon svg { width: 22px; height: 22px; }
.search-result-body { display: flex; flex-direction: column; min-width: 0; }
.search-result-title { font-weight: 600; }
.search-result-meta { font-size: .8rem; color: var(--muted); }

/* ============ Sidebar ============ */
.sidebar {
  position: fixed; top: 64px; left: 0; bottom: 0; width: 250px;
  background: var(--bg-elev);
  border-right: 1px solid var(--border);
  overflow-y: auto; z-index: 90;
  transition: transform .3s ease;
}
.sidebar-inner { padding: 20px 14px 32px; display: flex; flex-direction: column; gap: 20px; min-height: 100%; }
.sidebar-title {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding: 6px 10px 2px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-link {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--muted); font-size: .92rem; font-weight: 500;
  transition: color .15s, background .15s;
}
.sidebar-link:hover { color: var(--text); background: var(--surface-2); }
.sidebar-link.active { color: var(--green); background: rgba(74, 222, 128, 0.08); font-weight: 600; }

.sidebar-card {
  margin-top: auto;
  padding: 16px; border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
}
.sidebar-card-title { margin: 0 0 4px; font-weight: 700; }
.sidebar-card-text { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }

.sidebar-backdrop {
  position: fixed; inset: 64px 0 0 0; z-index: 85;
  background: rgba(0, 0, 0, 0.55);
}
.sidebar-backdrop[hidden] { display: none; }

/* ============ Page wrapper ============ */
.page-wrap {
  margin-left: 250px; margin-top: 64px;
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(34, 197, 94, 0.18), transparent 70%),
    radial-gradient(560px 320px at 90% 25%, rgba(14, 165, 233, 0.12), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}
.hero-content { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.035em;
}
.hero-sub { margin: 0 0 28px; color: var(--muted); font-size: 1.08rem; max-width: 620px; }

.hero-search {
  display: flex; gap: 8px; margin-bottom: 22px;
  max-width: 560px; padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.hero-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15); }
.hero-search input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--text); padding: 10px 14px; font-size: 1rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head p { margin: 6px 0 0; color: var(--muted); }

/* ============ Cards ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--green-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.18);
}
.card-icon {
  height: 140px; display: grid; place-items: center;
  background: var(--icon-bg, linear-gradient(135deg, #22c55e, #0ea5e9));
  color: #fff; position: relative; overflow: hidden;
}
.card-icon::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 60%);
}
.card-icon svg { width: 54px; height: 54px; position: relative; z-index: 1; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-category {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
}
.card-title { margin: 0; font-size: 1.12rem; }
.card-desc { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  font-size: .72rem; font-weight: 600; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 999px;
}
.tag-more { color: var(--green); border-color: rgba(74, 222, 128, 0.3); }

.fade-up { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============ Filters ============ */
.filters {
  display: grid; gap: 12px; margin-bottom: 20px;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
}
.filter-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 0 14px; color: var(--muted);
}
.filter-search input {
  flex: 1; background: none; border: 0; outline: none;
  color: var(--text); padding: 12px 0; min-width: 0;
}
.filters select {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-2); border-radius: 10px;
  padding: 12px 14px; outline: none;
}
.filters select:focus { border-color: var(--green); }

.result-count { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.no-results {
  text-align: center; color: var(--muted);
  padding: 40px 16px; border: 1px dashed var(--border-2);
  border-radius: var(--radius); margin: 16px 0;
}
.no-results[hidden] { display: none; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.load-more-wrap .btn[hidden] { display: none; }

/* ============ Breadcrumbs ============ */
.breadcrumbs { padding: 22px 0 4px; font-size: .85rem; }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 6px; padding: 0; margin: 0; color: var(--muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ============ Detail page ============ */
.detail-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px; padding: 20px 0 64px;
}
.detail-hero {
  display: flex; align-items: center; gap: 18px;
  padding: 22px; margin-bottom: 26px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius);
}
.detail-icon {
  width: 84px; height: 84px; border-radius: 16px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--icon-bg, linear-gradient(135deg, #22c55e, #0ea5e9));
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.detail-icon svg { width: 40px; height: 40px; }
.detail-hero h1 { margin: 0 0 4px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.detail-category { margin: 0; color: var(--green); font-weight: 600; font-size: .9rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.detail-section { margin-bottom: 38px; }
.detail-section h2 {
  margin: 0 0 14px; font-size: 1.3rem;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.detail-section p { color: var(--muted); margin: 0 0 12px; }
.detail-section ul, .detail-section ol { color: var(--muted); padding-left: 20px; margin: 0 0 12px; }
.detail-section li { margin-bottom: 6px; }
.detail-section li strong { color: var(--text); }

.screenshots { display: grid; gap: 16px; }
.screenshots figure { margin: 0; }
.screenshots img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.screenshots figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: center; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 10px 0 10px 44px; border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(74, 222, 128, 0.12); color: var(--green);
  font-weight: 700; font-size: .82rem;
}

.detail-side { display: flex; flex-direction: column; gap: 18px; }
.side-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.side-card h2, .side-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.side-card p { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }

.download-unavailable {
  padding: 14px; border-radius: 10px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px dashed rgba(74, 222, 128, 0.35);
}
.download-unavailable p { margin: 0 0 8px; font-size: .88rem; }
.download-unavailable p:last-child { margin: 0; }
.download-unavailable a { color: var(--green); text-decoration: underline; }

.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.info-list span:first-child { color: var(--muted); }
.info-list span:last-child { font-weight: 600; text-align: right; }

.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.related-item:hover { border-color: var(--green-2); background: var(--surface-2); }
.related-item .ri-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
}
.related-item .ri-icon svg { width: 20px; height: 20px; }
.related-item .ri-title { font-weight: 600; font-size: .9rem; }
.related-item .ri-meta { font-size: .75rem; color: var(--muted); }

/* ============ About section ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.about-grid p { color: var(--muted); margin: 0 0 20px; }
.about-features { display: grid; gap: 14px; }
.feature {
  padding: 18px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
}
.feature h3 { margin: 0 0 4px; font-size: 1rem; color: var(--green); }
.feature p { margin: 0; font-size: .88rem; }

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: auto;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  margin-bottom: 36px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-about { color: var(--muted); font-size: .9rem; margin: 0; max-width: 340px; }
.footer-heading {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text); margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-note { opacity: .8; }

/* ============ Prose (legal pages) ============ */
.prose { max-width: 820px; padding: 30px 0 64px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.prose .lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 28px; }
.prose h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.prose h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--green); text-decoration: underline; }
.prose .updated { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }

/* ============ Contact form ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 20px 0 64px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field textarea {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .8rem; color: var(--muted); }

.contact-card {
  padding: 20px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 16px;
}
.contact-card h3 { margin: 0 0 6px; font-size: 1rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ============ 404 ============ */
.error-page {
  text-align: center; padding: 100px 24px 120px;
}
.error-page .code {
  font-size: clamp(4rem, 14vw, 8rem); font-weight: 800;
  line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page h1 { margin: 0 0 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.error-page p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ Responsive ============ */
@media (max-width: 1023px) {
  .menu-toggle { display: inline-grid; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .sidebar { transform: translateX(-100%); width: 280px; }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .page-wrap { margin-left: 0; }
  .detail-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .filters select { width: 100%; }
  .filters .btn { grid-column: 1 / -1; }
  .hero { padding: 60px 0 56px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-hero { flex-direction: column; text-align: center; }
  .detail-tags { justify-content: center; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 12px; gap: 8px; }
  .container { padding: 0 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
}

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