/* ── NEXT Theme ── */
:root {
  --bg: #050a12;
  --bg-elevated: #0c1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(0, 229, 255, 0.12);
  --glass-border-hover: rgba(0, 229, 255, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #00e5ff;
  --accent-dim: #0891b2;
  --accent-glow: rgba(0, 229, 255, 0.25);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.2);
  --tag-bg: rgba(0, 229, 255, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.08);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Noto Sans KR", sans-serif;
  --mono: "SF Mono", "Fira Code", Consolas, monospace;
  --max-width: 1100px;
  --header-h: 68px;
  --border: var(--glass-border);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s; }
a:hover { color: #67e8f9; }

/* ── Background glow ── */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-tr {
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}
.bg-glow-bl {
  bottom: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.site-main { flex: 1; padding: 0 0 80px; position: relative; z-index: 1; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--accent); color: var(--bg);
  padding: 8px 16px; border-radius: 0 0 8px 8px; z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 10, 18, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

.site-logo {
  display: flex; flex-direction: column; line-height: 1.1;
  color: inherit;
}
.site-logo:hover { color: inherit; }
.logo-brand {
  font-size: 1.15rem; font-weight: 800; letter-spacing: 0.12em; color: #fff;
}
.logo-sub {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.28em;
  color: var(--accent); margin-top: 2px;
}

.site-nav { display: flex; gap: 28px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  padding: 7px 28px 7px 12px;
  font-size: 0.8rem;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background-color: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.2s, color 0.2s;
}
.lang-select option {
  color: #0f172a;
  background-color: #ffffff;
}
.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  color: var(--text);
}

.nav-link {
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.02em; position: relative; padding: 4px 0;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
  box-shadow: 0 0 8px var(--accent-glow);
}

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 32px 0; position: relative; z-index: 1;
}
.footer-inner { text-align: center; }
.footer-brand {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 6px;
}
.footer-brand .accent { color: var(--accent); }
.footer-contact {
  font-size: 0.82rem; margin-bottom: 8px;
}
.footer-contact a {
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* ── Footer subscribe ── */
.footer-subscribe {
  max-width: 420px; margin: 24px auto 20px; text-align: left;
}
.subscribe-title {
  font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.subscribe-desc, .subscribe-privacy {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px;
}
.subscribe-privacy { margin-bottom: 0; margin-top: 10px; }
.subscribe-form { margin-top: 12px; }
.subscribe-input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--glass-border); background: var(--surface);
  color: var(--text); font-size: 0.9rem; margin-bottom: 10px;
}
.subscribe-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.15);
}
.subscribe-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
}
.subscribe-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-unsub-btn {
  font-size: 0.82rem; color: var(--text-muted); border-color: var(--glass-border);
}
.subscribe-msg {
  font-size: 0.82rem; margin-top: 12px; padding: 10px 12px; border-radius: 8px;
}
.subscribe-msg.is-ok {
  color: var(--accent); background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.subscribe-msg.is-err {
  color: #fca5a5; background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.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;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 0 56px;
  min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.35em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: 0.06em; line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 .white { color: #fff; }
.hero h1 .cyan { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.hero-tagline {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.25em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 36px;
}
.hero p {
  color: var(--text-muted); font-size: 1.05rem; max-width: 520px;
  margin: 0 auto 40px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0 64px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pillar-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}
.pillar-icon { font-size: 1.6rem; margin-bottom: 14px; }
.pillar-card h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--accent);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.pillar-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-size: 0.88rem; font-weight: 600;
  border-radius: 10px; border: 1px solid var(--glass-border);
  background: var(--surface); color: var(--text);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em;
}
.btn:hover {
  border-color: var(--glass-border-hover);
  background: var(--surface-hover); color: #fff;
}
.btn-primary {
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(139,92,246,0.1));
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,229,255,0.25), rgba(139,92,246,0.15));
  color: #fff; border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.download-btn {
  padding: 10px 20px; font-size: 0.82rem;
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--accent); white-space: nowrap;
}
.download-btn:hover {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
}

/* ── Page header ── */
.page-header { margin-bottom: 36px; padding-top: 48px; }
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800; letter-spacing: 0.04em; margin-bottom: 10px;
}
.page-header h1 .accent { color: var(--accent); }
.page-header p { color: var(--text-muted); font-size: 0.95rem; }

.section-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--accent); margin-bottom: 20px;
}
.recent-section { margin-top: 56px; }

/* ── Cards ── */
.post-list, .resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-size: 0.78rem; color: var(--text-dim);
}
.tag {
  display: inline-block; padding: 3px 12px;
  background: var(--tag-bg); border: 1px solid rgba(0,229,255,0.15);
  border-radius: 20px; font-size: 0.72rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.04em;
}
.card h2 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.01em;
  margin-bottom: 8px; color: #fff;
}
.card p.summary {
  color: var(--text-muted); font-size: 0.88rem; line-height: 1.65;
}

/* Resource card */
.resource-card .file-info {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--glass-border);
}
.file-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(139,92,246,0.08));
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: var(--accent);
  flex-shrink: 0; letter-spacing: 0.02em;
}
.file-details { flex: 1; min-width: 0; }
.file-details .filename {
  font-size: 0.82rem; font-family: var(--mono);
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-details .filesize { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }

/* ── Stats bar ── */
.stats-bar {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  padding: 24px; margin-bottom: 40px;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.8rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.02em; line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-dim); margin-top: 6px; letter-spacing: 0.08em; }

/* ── Filter & Search ── */
.search-box { margin-bottom: 20px; }
.search-box input {
  width: 100%; padding: 12px 18px; font-size: 0.9rem; font-family: var(--font);
  border: 1px solid var(--glass-border); border-radius: 10px;
  background: var(--surface); color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-box input::placeholder { color: var(--text-dim); }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 7px 16px; font-size: 0.8rem; font-weight: 500;
  border: 1px solid var(--glass-border); border-radius: 20px;
  background: transparent; color: var(--text-muted); cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--glass-border-hover); color: var(--text); }
.filter-btn.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--accent); color: var(--accent);
}

/* ── Article ── */
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.85rem; color: var(--text-muted); margin: 48px 0 24px;
}
.back-link:hover { color: var(--accent); }

.article-header {
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}
.article-header h1 {
  font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 800;
  letter-spacing: 0.02em; margin-bottom: 14px; line-height: 1.3;
}
.article-meta { display: flex; gap: 12px; font-size: 0.85rem; color: var(--text-dim); }

.article-content { font-size: 1rem; line-height: 1.85; color: var(--text-muted); }
.article-content h2 {
  font-size: 1.3rem; font-weight: 700; color: #fff;
  margin: 36px 0 14px; letter-spacing: 0.02em;
}
.article-content h3 { font-size: 1.1rem; font-weight: 600; color: #e2e8f0; margin: 28px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 4px; }
.article-content blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 16px;
  margin: 16px 0; color: var(--text-dim);
}
.article-content code {
  font-family: var(--mono); font-size: 0.88em;
  background: rgba(0,229,255,0.08); padding: 2px 7px; border-radius: 4px;
  color: var(--accent);
}
.article-content pre {
  background: var(--bg-elevated); color: #e2e8f0;
  padding: 18px; border-radius: 10px; border: 1px solid var(--glass-border);
  overflow-x: auto; margin: 16px 0; font-size: 0.85rem;
}
.article-content pre code { background: none; padding: 0; color: inherit; }
.article-content img {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: var(--radius); margin: 0 0 28px;
  border: 1px solid var(--glass-border);
}
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-content hr { border: none; border-top: 1px solid var(--glass-border); margin: 32px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.article-content th, .article-content td {
  border: 1px solid var(--glass-border); padding: 10px 14px; text-align: left;
}
.article-content th { background: var(--surface); color: var(--accent); }

/* ── Empty / Error ── */
.empty-state, .error-state {
  text-align: center; padding: 64px 24px;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.empty-state h2, .error-state h2 {
  font-size: 1.1rem; margin-bottom: 8px; color: #fff;
}
.empty-state p, .error-state p { color: var(--text-muted); }

/* ── Language switch (no-JS dropdown via <details>) ── */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer;
  padding: 7px 14px; font-size: 0.8rem; font-weight: 500;
  color: var(--text); background-color: var(--bg-elevated);
  border: 1px solid var(--glass-border); border-radius: 8px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--accent); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 120;
  display: flex; flex-direction: column; min-width: 140px;
  background: rgba(5, 10, 18, 0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: 10px;
  padding: 6px; box-shadow: var(--shadow);
}
.lang-menu a {
  padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; color: var(--text-muted);
}
.lang-menu a:hover { background: var(--surface-hover); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--accent); }

/* ── Section head (list + view all) ── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.more-link { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.more-link:hover { color: var(--accent); }

/* ── Card thumbnail / footer ── */
.card-thumb {
  margin: -24px -24px 16px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-elevated);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--glass-border);
}
.file-meta { font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.card[hidden], .resource-card[hidden] { display: none !important; }

/* ── List toolbar ── */
.list-toolbar { margin-bottom: 28px; }
.no-results { text-align: center; color: var(--text-muted); padding: 48px 0; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.8rem; color: var(--text-dim); margin: 32px 0 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ── Article extras ── */
.article-hero {
  width: 100%; max-height: 440px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--glass-border); margin: 0 0 28px;
}
.toc {
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 18px 22px; margin: 0 0 32px;
}
.toc-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--accent); margin-bottom: 10px; }
.toc ul { list-style: none; }
.toc li { margin: 4px 0; }
.toc li.toc-l3 { margin-left: 16px; font-size: 0.9rem; }
.toc a { color: var(--text-muted); font-size: 0.92rem; }
.toc a:hover { color: var(--accent); }

/* ── Prev / Next ── */
.prev-next {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 0;
}
.pn-link {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius); color: var(--text);
}
.pn-link:hover { border-color: var(--glass-border-hover); color: var(--text); }
.pn-next { text-align: right; }
.pn-label { font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.pn-title { font-size: 0.92rem; font-weight: 600; }

/* ── Related ── */
.related { margin-top: 64px; }

/* ── Download box (resource detail) ── */
.dl-heading { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 36px 0 16px; }
.download-box {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 24px;
}
.download-info { min-width: 0; }
.download-info .file-name { font-family: var(--mono); font-size: 0.95rem; color: var(--text); word-break: break-all; }
.download-info .file-size { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }
.download-count {
  font-size: 0.88rem; font-weight: 600; color: var(--accent); margin-top: 10px;
}
.download-count.dl-count-sm {
  font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-top: 0;
}
.card-foot .dl-count-sm { flex: 1; text-align: center; }
.btn-download { font-size: 0.95rem; padding: 14px 28px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .post-list, .resource-list { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; min-height: auto; }
  .header-right { position: relative; }
  .site-nav {
    display: none; position: absolute; top: calc(var(--header-h) - 8px); right: 0;
    background: rgba(5, 10, 18, 0.97); backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); border-radius: 12px;
    flex-direction: column; padding: 16px 20px; gap: 14px;
    min-width: 160px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .lang-select { font-size: 0.75rem; padding: 6px 24px 6px 10px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .file-info { flex-wrap: wrap; }
  .stats-bar { gap: 20px; }
  .prev-next { grid-template-columns: 1fr; }
  .download-box { flex-direction: column; align-items: stretch; }
  .btn-download { justify-content: center; }
}
