/*
 * TaketheBlog 样式
 * 设计语言参考 Appica UI（黑白配色 + 角色化 token + 高斯模糊 + 克制动效）
 */

:root {
  color-scheme: light;

  /* 角色化颜色 token（类似 Appica） */
  --bg: #ffffff;
  --bg-muted: #f5f5f5;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-input: #ffffff;
  --text: #0a0a0a;
  --text-muted: #6b6b6b;
  --text-intense: #000000;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.22);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-muted: #141414;
    --bg-card: rgba(20, 20, 20, 0.72);
    --bg-input: #1a1a1a;
    --text: #f0f0f0;
    --text-muted: #9a9a9a;
    --text-intense: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.24);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

/* ============ 顶部导航（高斯模糊毛玻璃） ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.logo-text { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }

.main-nav { display: flex; gap: 22px; }
.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s ease;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text-intense); font-weight: 600; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--text-intense);
  border-radius: 1px;
  animation: nav-underline .3s ease;
}
@keyframes nav-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.header-right { display: flex; align-items: center; gap: 14px; }
.login-btn {
  font-size: 14px;
  padding: 7px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  transition: all .2s ease;
}
.login-btn:hover { background: var(--text); color: var(--bg); }

.user-chip { position: relative; display: flex; align-items: center; }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); cursor: pointer; }
.user-menu { position: relative; }
.user-name { display: none; }
.user-dropdown {
  position: absolute;
  top: 38px; right: 0;
  min-width: 130px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.user-chip:hover .user-dropdown { display: flex; }
.user-dropdown a {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background .2s;
}
.user-dropdown a:hover { background: var(--bg-muted); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 1px; }

.mobile-nav { display: none; }

/* ============ Hero（白底 + 局部彩色光晕，参考 cbuad.net 克制彩色风格） ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 80px;
  background: var(--bg);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 480px;
  z-index: 0;
  border-radius: 24px;
  filter: blur(90px);
  opacity: 0.55;
  background:
    conic-gradient(from 180deg, rgba(255,107,107,.7), rgba(254,202,87,.7), rgba(72,219,251,.7), rgba(255,159,243,.7), rgba(123,237,159,.7), rgba(255,107,107,.7));
  animation: glow-drift 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  33% { transform: translateX(-50%) translateY(-18px) rotate(8deg); }
  66% { transform: translateX(-50%) translateY(10px) rotate(-6deg); }
}

.hero-glow-ring {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.18;
  background: radial-gradient(circle, rgba(120,140,255,.9), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text);
  max-width: 720px;
  animation: hero-in 1s cubic-bezier(.16,1,.3,1) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-avatar-wrap { margin-bottom: 28px; display: inline-block; }
.hero-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  backdrop-filter: blur(10px);
  animation: avatar-float 4s ease-in-out infinite;
}
@keyframes avatar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-intense);
}
.hero-title-line { display: block; }
.hero-title-accent { font-weight: 300; opacity: .7; }
.hero-title .grad-text {
  /* 渐变由内联 style 的 background-image 控制（后台可配置） */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  opacity: .8;
  color: var(--text-muted);
}

.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: all .25s ease; }
.hero-btn-primary { background: var(--text); color: var(--bg); }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.hero-btn-ghost { border: 1px solid var(--border-strong); color: var(--text); }
.hero-btn-ghost:hover { background: var(--bg-muted); transform: translateY(-2px); }

.hero-scroll { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll-text { font-size: 13px; opacity: .6; letter-spacing: .1em; color: var(--text-muted); }
.hero-scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--border-strong), transparent);
  animation: scroll-line 1.6s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ 区块通用 ============ */
section { padding: 80px 0; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.section-title .accent { opacity: .5; font-weight: 300; }
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 16px; }
.section-more { display: inline-block; margin-top: 12px; color: var(--text-muted); font-size: 14px; transition: color .2s; }
.section-more:hover { color: var(--text); }

/* 毛玻璃卡片 */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* ============ 关于区 ============ */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card { padding: 32px 26px; }
.about-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.about-card-icon { font-size: 32px; margin-bottom: 16px; }
.about-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.about-card p { color: var(--text-muted); font-size: 14px; }

/* ============ 文章卡片 ============ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { overflow: hidden; }
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.post-card-link { display: block; height: 100%; }
.post-card-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-muted); }
.post-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-cover img { transform: scale(1.05); }
.post-card-body { padding: 22px; }
.post-cat { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 8px; background: var(--bg-muted); border: 1px solid var(--border); color: var(--text-muted); margin-bottom: 12px; }
.post-card-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.post-card-excerpt { color: var(--text-muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { display: flex; gap: 14px; margin-top: 16px; font-size: 12px; color: var(--text-muted); }

/* ============ 联系区 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 28px; text-align: center; }
.contact-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.contact-icon { margin-bottom: 14px; display: flex; justify-content: center; color: var(--text); }
.contact-icon svg { stroke: currentColor; }
.contact-card:hover .contact-icon { color: var(--text-intense); }
.contact-name { font-weight: 700; font-size: 16px; }
.contact-value { color: var(--text-muted); font-size: 13px; margin-top: 6px; word-break: break-all; }

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-muted); margin-top: 40px; }

.footer-links { max-width: 1080px; margin: 0 auto; padding: 40px 20px 20px; }
.footer-links-title { font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 16px; letter-spacing: .05em; }
.footer-links-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-link-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all .25s ease;
}
.footer-link-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.fl-logo {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted); font-weight: 700; font-size: 14px; overflow: hidden;
}
.fl-logo img { width: 100%; height: 100%; object-fit: cover; }
.fl-meta { display: flex; flex-direction: column; line-height: 1.3; }
.fl-name { font-size: 13px; font-weight: 600; }
.fl-desc { font-size: 11px; color: var(--text-muted); }

.footer-main {
  max-width: 1080px; margin: 0 auto; padding: 30px 20px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.footer-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.footer-desc { color: var(--text-muted); font-size: 13.5px; margin-top: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; letter-spacing: .05em; }
.footer-link { color: var(--text-muted); font-size: 13.5px; transition: color .2s; }
.footer-link-icon { display: inline-flex; align-items: center; gap: 7px; }
.footer-link-icon svg { stroke: currentColor; flex-shrink: 0; }
.footer-link:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1080px; margin: 0 auto; padding: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-muted);
}
.footer-dev strong { color: var(--text); font-weight: 600; }

.back-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--text); color: var(--bg); }

/* ============ 文章详情 ============ */
.page-title-bar { padding: 120px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.page-title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.page-sub { color: var(--text-muted); margin-top: 8px; }

.post-detail { padding: 120px 0 80px; }
.post-detail-header { margin-bottom: 36px; }
.post-detail-title { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 16px 0; }
.post-detail-meta { display: flex; gap: 18px; color: var(--text-muted); font-size: 13px; flex-wrap: wrap; }
.post-tags { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.post-tag { font-size: 13px; color: var(--text-muted); padding: 4px 12px; border: 1px solid var(--border); border-radius: 8px; transition: all .2s; }
.post-tag:hover { border-color: var(--border-strong); color: var(--text); }

/* Markdown 正文 */
.tb-markdown { font-size: 16px; line-height: 1.85; }
.tb-markdown h1, .tb-markdown h2, .tb-markdown h3, .tb-markdown h4 { margin: 1.6em 0 .6em; font-weight: 700; line-height: 1.35; }
.tb-markdown h1 { font-size: 28px; }
.tb-markdown h2 { font-size: 24px; }
.tb-markdown h3 { font-size: 20px; }
.tb-markdown p { margin: .8em 0; }
.tb-markdown a { color: var(--text-intense); text-decoration: underline; text-underline-offset: 3px; }
.tb-markdown ul, .tb-markdown ol { margin: .8em 0; padding-left: 1.6em; }
.tb-markdown li { margin: .3em 0; }
.tb-markdown blockquote { border-left: 3px solid var(--border-strong); padding: 4px 16px; margin: 1em 0; color: var(--text-muted); }
.tb-markdown code { font-family: var(--font-mono); font-size: .88em; background: var(--bg-muted); padding: 2px 6px; border-radius: 4px; }
.tb-markdown pre.tb-code { background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; overflow-x: auto; margin: 1em 0; }
.tb-markdown pre.tb-code code { background: none; padding: 0; font-size: .85em; line-height: 1.6; }
.tb-markdown hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.tb-markdown img { border-radius: var(--radius-md); margin: 1em 0; }
.tb-markdown .tb-figure { margin: 1.2em 0; }
.tb-markdown .tb-figure figcaption { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.tb-markdown table.tb-table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.tb-markdown table.tb-table th, .tb-markdown table.tb-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.tb-markdown table.tb-table th { background: var(--bg-muted); font-weight: 600; }

/* ============ 文章列表 ============ */
.post-list { display: flex; flex-direction: column; gap: 18px; }
.post-list-item { overflow: hidden; }
.post-list-item:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.post-list-link { display: flex; gap: 20px; align-items: center; }
.post-list-cover { width: 200px; aspect-ratio: 16/9; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.post-list-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-list-body { padding: 24px; }
.post-list-top { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.post-list-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.post-list-excerpt { color: var(--text-muted); font-size: 14px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 40px 0; }
.page-btn { padding: 8px 18px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; transition: all .2s; }
.page-btn:hover { border-color: var(--border-strong); }
.page-current { color: var(--text-muted); font-size: 14px; }

/* ============ 友情链接页 ============ */
.links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.link-card { display: flex; align-items: center; gap: 16px; padding: 22px; }
.link-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.link-card-logo {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted); font-weight: 700; font-size: 22px; overflow: hidden;
}
.link-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.link-card-body { display: flex; flex-direction: column; gap: 4px; }
.link-card-name { font-weight: 700; font-size: 16px; }
.link-card-desc { color: var(--text-muted); font-size: 13px; }

/* ============ 评论系统 ============ */
.comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.comments-count { color: var(--text-muted); font-weight: 400; }

.comment-form { padding: 22px; margin-bottom: 28px; }
.comment-form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.comment-username { font-weight: 600; font-size: 14px; }
.comment-form textarea {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px; color: var(--text); font-size: 14px;
  resize: vertical; font-family: var(--font-sans); line-height: 1.6;
}
.comment-form textarea:focus { outline: none; border-color: var(--border-strong); }
.comment-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 12px; flex-wrap: wrap; }
.comment-hint { font-size: 12px; color: var(--text-muted); }

.comment-login { padding: 28px; text-align: center; margin-bottom: 28px; }
.comment-login p { margin-bottom: 16px; color: var(--text-muted); }

.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-item { display: flex; gap: 12px; }
.comment-item .comment-avatar { width: 40px; height: 40px; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.comment-username { font-weight: 600; font-size: 14px; }
.comment-time { font-size: 12px; color: var(--text-muted); }
.comment-content { font-size: 14.5px; line-height: 1.7; }
.comment-content p { margin: .3em 0; }
.comment-actions { margin-top: 8px; }
.reply-btn { background: none; border: none; color: var(--text-muted); font-size: 12px; cursor: pointer; padding: 0; }
.reply-btn:hover { color: var(--text); }
.comment-replies { margin-top: 16px; padding-left: 20px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; }

.empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* ============ 404 ============ */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px; }
.notfound-code { font-size: 100px; font-weight: 800; background: linear-gradient(135deg, #ff6b6b, #48dbfb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound h1 { font-size: 28px; margin: 16px 0; }
.notfound p { color: var(--text-muted); margin-bottom: 28px; }

/* ============ 滚动入场动画 ============ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* 无刷新页面切换：内容区淡出/淡入 */
#page { transition: opacity .18s ease; }
#page.page-leaving { opacity: 0; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .about-grid, .post-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.active { display: flex; flex-direction: column; padding: 12px 20px 20px; background: var(--bg-card); backdrop-filter: blur(20px); border-top: 1px solid var(--border); }
  .mobile-nav .nav-link { padding: 12px 0; font-size: 16px; }
  .post-list-link { flex-direction: column; }
  .post-list-cover { width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .footer-main { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .about-grid, .post-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  section { padding: 50px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
