/**
 * Sections CSS
 * 
 * 首页各 Section 的样式，包括 Hero、文章、项目、统计
 * 
 * 文件结构：
 * 1. Front Page Layout - 首页整体布局
 * 2. Hero Section - Hero 组件及变形动画
 * 3. Hero Actions - 搜索、主题切换等按钮
 * 4. Hero Mobile Menu - 移动端菜单
 * 5. Background Blobs - 背景动画效果
 * 6. Content Sections - 文章、项目、统计等
 * 7. Single Post - 文章详情页
 * 8. Archive Pages - 归档页面
 * 9. Responsive Styles - 响应式样式（集中管理）
 */

/* ========================================
   1. Front Page Layout
   ======================================== */

/* 首页主容器 */
.lc-front-page {
    position: relative;
    min-height: 100vh;
}

/* 第一个 section 的顶部间距 */
.lc-front-page .lc-section:first-of-type {
    padding-top: 2rem;
}

/* ========================================
   2. Hero Section
   ======================================== */

/* Hero 基础样式 - 首页普通内容区域 */
/* 
 * 首页 Hero 作为普通内容展示，不固定，不收缩
 * 滚动时自然滚出视口
 */
.lc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--lc-space);
    background: var(--lc-surface);
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero 内部容器 */
.lc-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--lc-max);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    /* 添加平滑过渡 - 只过渡可以动画的属性 */
    transition: gap 0.3s ease;
}

/* Profile 区域 */
.lc-hero__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    /* 平滑过渡 - 只过渡可以动画的属性 */
    transition: gap 0.3s ease;
    text-decoration: none;
}

/* 头像 */
.lc-hero__avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lc-glass);
    box-shadow: var(--lc-shadow);
    transition: all 0.3s ease;
}

.lc-hero__avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--lc-shadow-lg);
}

.lc-hero__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-hero__avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lc-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lc-primary);
    background: var(--lc-glass);
    transition: font-size 0.3s ease;
}

/* 站点名称 */
.lc-hero__name {
    font-family: var(--lc-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
    transition: font-size 0.3s ease, margin 0.3s ease;
}

/* 站点描述 */
.lc-hero__tagline {
    font-family: var(--lc-font-body);
    font-size: 1rem;
    color: var(--lc-neutral);
    margin: 0;
    max-width: 400px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 社交链接 */
.lc-hero__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lc-hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lc-glass);
    color: var(--lc-neutral);
    transition: all 0.2s ease;
}

.lc-hero__social-link:hover {
    background: var(--lc-primary);
    color: white;
    transform: translateY(-2px);
}

/* 社交链接 SVG 图标约束 */
.lc-hero__social-link svg {
    width: 55%;
    height: 55%;
    flex-shrink: 0;
}

/* ========================================
   Enhanced Hero Section Styles
   ======================================== */

/* Grid Background */
.lc-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 108, 244, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 108, 244, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

/* Floating Particles */
.lc-hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lc-hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--lc-primary);
    border-radius: 50%;
    opacity: 0.3;
    left: calc(50% + var(--x));
    top: calc(50% + var(--y));
    animation: particle-float 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.6;
    }
}

/* Status Badge */
.lc-hero__status-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #3abf7d;
    border-radius: 50%;
    border: 3px solid var(--lc-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-hero__status-pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Typing Effect */
.lc-hero__typing {
    font-family: var(--lc-font-mono);
    font-size: 1rem;
    color: var(--lc-neutral);
    margin: 0.5rem 0;
}

.lc-hero__typing-prefix {
    color: var(--lc-meta);
}

.lc-hero__typing-text {
    color: var(--lc-primary);
    font-weight: 500;
}

.lc-hero__typing-cursor {
    color: var(--lc-primary);
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Stats Section */
.lc-hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--lc-glass);
    border-radius: 2rem;
    border: 1px solid var(--lc-border-divider);
}

.lc-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.lc-hero__stat-value {
    font-family: var(--lc-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    line-height: 1;
}

.lc-hero__stat-label {
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-hero__stat--active .lc-hero__stat-value {
    color: #3abf7d;
}

.lc-hero__stat-divider {
    width: 1px;
    height: 24px;
    background: var(--lc-border-divider);
}

/* Scroll Indicator */
.lc-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--lc-neutral);
    animation: scroll-bounce 2s ease-in-out infinite;
}

.lc-hero__scroll-text {
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lc-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--lc-primary), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scroll-line {
    0%, 100% {
        opacity: 1;
        height: 40px;
    }

    50% {
        opacity: 0.5;
        height: 20px;
    }
}

/* 导航菜单 */
.lc-hero__nav {
    margin-top: 1rem;
    transition: margin-top 0.3s ease;
}

.lc-hero__menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: gap 0.3s ease;
}

.lc-hero__menu a {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lc-on-surface);
    text-decoration: none;
    padding: 0.4rem 0.875rem;
    border-radius: 2rem;
    transition: all 0.2s ease, font-size 0.3s ease, padding 0.3s ease;
}

.lc-hero__menu a:hover {
    background: var(--lc-glass);
    color: var(--lc-primary);
}

.lc-hero__menu .current-menu-item a,
.lc-hero__menu .current_page_item a {
    background: var(--lc-primary);
    color: white;
}

/* ========================================
   2.1 Hero Transform (变形为导航栏)
   ======================================== */

/* 
 * 2.1 Hero Transform (变形为导航栏)
 * ======================================== */

/* 收缩状态已移到 .lc-hero 主类中定义，使用 is-collapsed 类触发 */

/* 非首页导航栏（直接作为固定导航栏使用） */
.lc-hero--navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: var(--lc-hero-min-height);
    background: var(--lc-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--lc-shadow-sm);
    z-index: 1000;
    padding: var(--lc-navbar-padding);
    margin-top: 0;
}

.lc-hero--navbar .lc-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.lc-hero--navbar .lc-hero__profile {
    flex-direction: row;
    gap: 0.75rem;
    text-align: left;
}

.lc-hero--navbar .lc-hero__avatar {
    width: 40px;
    height: 40px;
}

.lc-hero--navbar .lc-hero__avatar-initial {
    font-size: 1rem;
}

.lc-hero--navbar .lc-hero__name {
    font-size: 1.25rem;
    margin: 0;
}

.lc-hero__name, .lc-about-hero__name, .lc-footer-tech__site-name {
    mix-blend-mode: normal;
    background-clip: text;
    -webkit-background-clip: text !important;
    color: transparent !important;
    background: linear-gradient(45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab, #6a82fb, #fc5c7d);
}

.lc-hero--navbar .lc-hero__tagline,
.lc-hero--navbar .lc-hero__social {
    display: none;
}

.lc-hero--navbar .lc-hero__nav {
    margin-top: 0;
}

.lc-hero--navbar .lc-hero__menu {
    gap: 1rem;
}

.lc-hero--navbar .lc-hero__menu a {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* ========================================
   3. Hero Actions (按钮组)
   ======================================== */

/* 按钮容器 */
.lc-hero__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* 搜索按钮 */
.lc-hero__search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lc-glass);
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-hero__search-toggle:hover {
    background: var(--lc-primary);
    color: white;
}

/* 主题切换按钮 */
.lc-hero__theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lc-glass);
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.lc-hero__theme-toggle:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-hero__theme-icon {
    display: block;
}

/* 主题图标显示逻辑 */
html[data-lc-color-scheme="light"] .lc-hero__theme-icon--moon,
html[data-lc-color-scheme="dark"] .lc-hero__theme-icon--sun {
    display: none;
}

/* 汉堡菜单按钮 */
.lc-hero__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.lc-hero__menu-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--lc-on-surface);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.lc-hero__menu-toggle.is-active .lc-hero__menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.lc-hero__menu-toggle.is-active .lc-hero__menu-bar:nth-child(2) {
    opacity: 0;
}

.lc-hero__menu-toggle.is-active .lc-hero__menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 变形状态下显示汉堡菜单 */


.lc-hero--navbar .lc-hero__menu-toggle {
    display: flex;
}

/* ========================================
   3.1 Inline Search
   ======================================== */

.lc-search-inline {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.lc-search-inline.is-open {
    width: 280px;
    opacity: 1;
    visibility: visible;
}

.lc-search-inline__container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lc-glass);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    height: 100%;
    border: 1px solid var(--lc-border-divider);
}

.lc-search-inline__icon {
    color: var(--lc-neutral);
    flex-shrink: 0;
}

.lc-search-inline__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-on-surface);
    padding: 0;
    min-width: 0;
}

.lc-search-inline__input::placeholder {
    color: var(--lc-neutral);
}

.lc-search-inline__clear,
.lc-search-inline__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lc-search-inline__clear:hover,
.lc-search-inline__close:hover {
    background: var(--lc-glass);
    color: var(--lc-on-surface);
}

.lc-search-inline__clear {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lc-search-inline__input:not(:placeholder-shown)~.lc-search-inline__clear {
    opacity: 1;
}

/* 搜索框展开时隐藏其他按钮 */
.lc-hero__actions.is-search-open .lc-hero__search-toggle,
.lc-hero__actions.is-search-open .lc-hero__theme-toggle,
.lc-hero__actions.is-search-open .lc-hero__menu-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* ========================================
   4. Mobile Navigation
   ======================================== */

.lc-mobile-nav {
    position: fixed;
    top: var(--lc-hero-min-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.lc-mobile-nav.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.lc-mobile-nav__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lc-mobile-nav__content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--lc-surface);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Search */
.lc-mobile-nav__search {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lc-border-divider);
    background: var(--lc-surface);
}

.lc-mobile-nav__search-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--lc-surface-low);
    border-radius: var(--lc-radius);
    border: 1px solid var(--lc-border-divider);
}

.lc-mobile-nav__search-icon {
    flex-shrink: 0;
    color: var(--lc-neutral);
}

.lc-mobile-nav__search-input {
    flex: 1;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    font-family: var(--lc-font-body);
    font-size: 1rem;
    color: var(--lc-on-surface);
    outline: none;
}

.lc-mobile-nav__search-input::placeholder {
    color: var(--lc-neutral);
}

/* Mobile Menu */
.lc-mobile-nav__menu {
    padding: 0.5rem 0 2rem;
}

.lc-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-mobile-nav__list>li {
    margin: 0;
    border-bottom: 1px solid var(--lc-border-divider);
}

.lc-mobile-nav__list>li:last-child {
    border-bottom: none;
}

.lc-mobile-nav__list li.menu-item-has-children {
    position: relative;
}

.lc-mobile-nav__list li.menu-item-has-children>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 3.5rem;
}

.lc-mobile-nav__list a {
    display: block;
    padding: 1.125rem 1.25rem;
    font-family: var(--lc-font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--lc-on-surface);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.lc-mobile-nav__list a:hover,
.lc-mobile-nav__list a:active,
.lc-mobile-nav__list .current-menu-item>a,
.lc-mobile-nav__list .current_page_item>a {
    background-color: var(--lc-surface-low);
    color: var(--lc-primary);
}

/* Submenu */
.lc-mobile-menu__toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-mobile-menu__toggle:active {
    color: var(--lc-on-surface);
}

.lc-mobile-menu__toggle svg {
    transition: transform 0.25s ease;
}

.lc-mobile-menu__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.lc-mobile-menu__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--lc-surface-low);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.lc-mobile-menu__submenu.is-open {
    max-height: 600px;
}

.lc-mobile-menu__submenu>li {
    margin: 0;
}

.lc-mobile-menu__submenu>li:first-child {
    border-top: 1px solid var(--lc-border-divider);
}

.lc-mobile-menu__submenu a {
    display: block;
    padding: 1rem 1.25rem 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--lc-neutral);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lc-mobile-menu__submenu a:hover,
.lc-mobile-menu__submenu a:active,
.lc-mobile-menu__submenu .current-menu-item a {
    background-color: var(--lc-glass);
    color: var(--lc-primary);
}

/* ========================================
   5. Background Blobs
   ======================================== */

.lc-hero__blobs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.lc-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    will-change: transform;
}

.lc-hero__blob--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -80px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.3));
    animation: blob-float-1 20s ease-in-out infinite;
}

.lc-hero__blob--2 {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -60px;
    background: linear-gradient(225deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.25));
    animation: blob-float-2 18s ease-in-out infinite;
}

.lc-hero__blob--3 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -40px;
    background: linear-gradient(45deg, rgba(244, 114, 182, 0.35), rgba(251, 146, 60, 0.25));
    animation: blob-float-3 22s ease-in-out infinite;
}

.lc-hero__blob--4 {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: -40px;
    background: linear-gradient(315deg, rgba(250, 204, 21, 0.3), rgba(251, 146, 60, 0.2));
    animation: blob-float-4 16s ease-in-out infinite;
}

/* 变形时隐藏 blobs */

.lc-hero--navbar .lc-hero__blobs {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes blob-float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, 40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 60px) scale(0.95);
    }

    75% {
        transform: translate(40px, 20px) scale(1.02);
    }
}

@keyframes blob-float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 50px) scale(1.08);
    }

    66% {
        transform: translate(20px, 30px) scale(0.92);
    }
}

@keyframes blob-float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    20% {
        transform: translate(50px, -30px) scale(1.03);
    }

    40% {
        transform: translate(20px, -60px) scale(0.97);
    }

    60% {
        transform: translate(-30px, -40px) scale(1.05);
    }

    80% {
        transform: translate(40px, -20px) scale(0.98);
    }
}

@keyframes blob-float-4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, -40px) scale(1.06);
    }
}

/* Dark Mode Blobs */
[data-lc-color-scheme="dark"] .lc-hero__blob--1 {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(79, 70, 229, 0.2));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--2 {
    background: linear-gradient(225deg, rgba(147, 51, 234, 0.22), rgba(219, 39, 119, 0.15));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--3 {
    background: linear-gradient(45deg, rgba(219, 39, 119, 0.2), rgba(234, 88, 12, 0.15));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--4 {
    background: linear-gradient(315deg, rgba(202, 138, 4, 0.18), rgba(234, 88, 12, 0.12));
}

[data-lc-color-scheme="dark"] .lc-hero__blob {
    opacity: 0.4;
}

/* Dark mode for post card type badges */
html[data-lc-color-scheme="dark"] .lc-post-card__type--project {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

html[data-lc-color-scheme="dark"] .lc-post-card__type--page {
    background: rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

html[data-lc-color-scheme="dark"] .lc-post-card__type--post {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

/* Dark mode for project status in search results */
html[data-lc-color-scheme="dark"] .lc-post-card__status--running {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.4);
}

html[data-lc-color-scheme="dark"] .lc-post-card__status--developing {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.4);
}

html[data-lc-color-scheme="dark"] .lc-post-card__status--paused {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.4);
}

/* ========================================
   6. Content Sections
   ======================================== */

.lc-section {
    padding: 4rem 0;
    max-width: var(--lc-max);
    margin: 0 auto;
}

.lc-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.lc-section__title {
    font-family: var(--lc-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
}

.lc-section__title--center {
    text-align: center;
}

.lc-section__more {
    font-family: var(--lc-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lc-section__more:hover {
    opacity: 0.8;
}

.lc-section__footer {
    text-align: center;
    margin-top: 3rem;
}

/* Section Animations */
.lc-section.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lc-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   6.1 Posts Section
   ======================================== */

.lc-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lc-post-card {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border: 1px solid var(--lc-border-divider);
}

.lc-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow);
}

.lc-post-card--has-cover {
    flex-direction: row;
}

.lc-post-card:not(.lc-post-card--has-cover) {
    flex-direction: column;
}

.lc-post-card__cover {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.lc-post-card__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-post-card:hover .lc-post-card__cover-img {
    transform: scale(1.05);
}

.lc-post-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lc-post-card__title {
    font-family: var(--lc-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.lc-post-card__title a {
    color: var(--lc-on-surface);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lc-post-card__title a:hover {
    color: var(--lc-primary);
}

.lc-post-card__excerpt {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-meta);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-post-card__excerpt p {
    margin: 0;
}

.lc-post-card__date {
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    margin-top: auto;
    padding-top: 0.5rem;
}

.lc-post-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lc-post-card__content a {
    position: relative;
    z-index: 2;
}

.lc-post-card .lc-kicker {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* margin-bottom: 0.25rem; */
}

/* Post card meta (type + status/category) */
.lc-post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.25rem;
}

.lc-post-card__type {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}

.lc-post-card__type--project {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.lc-post-card__type--page {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.lc-post-card__type--post {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.lc-post-card__status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: var(--lc-chip-bg);
    color: var(--lc-neutral);
    border: 1px solid var(--lc-border);
}

/* Project status colors in search results */
.lc-post-card__status--running {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.lc-post-card__status--developing {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
    border-color: rgba(249, 115, 22, 0.3);
}

.lc-post-card__status--paused {
    background: rgba(148, 163, 184, 0.12);
    color: #64748b;
    border-color: rgba(148, 163, 184, 0.3);
}

/* ========================================
   6.2 Projects Section
   ======================================== */

.lc-section--projects {
    padding: 5rem 0;
}

.lc-projects-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Project card styles moved to project.css (.lc-project-item) */

/* ========================================
   6.3 Stats Section
   ======================================== */

.lc-section--stats {
    padding: 5rem var(--lc-space);
    background: linear-gradient(180deg, var(--lc-surface) 0%, var(--lc-surface-low) 100%);
    border-radius: var(--lc-radius-xl);
}

.lc-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.lc-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    transition: all 0.3s ease;
    border: 1px solid var(--lc-border-divider);
}

.lc-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow);
}

.lc-stat-card__icon {
    color: var(--lc-primary);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.lc-stat-card__value {
    font-family: var(--lc-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lc-primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.lc-stat-card__label {
    font-family: var(--lc-font-body);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    line-height: 1.3;
}

/* ========================================
   6.4 Tech Stack Section
   ======================================== */

.lc-section--tech-stack {
    padding: 4rem 0;
}

.lc-tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.lc-tech-stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    transition: all 0.3s ease;
    border: 1px solid var(--lc-border-divider);
}

.lc-tech-stack-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow);
    border-color: var(--lc-primary);
}

.lc-tech-stack-item__icon {
    width: 40px;
    height: 40px;
    color: var(--lc-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-tech-stack-item__icon svg {
    width: 100%;
    height: 100%;
}

.lc-tech-stack-item__name {
    font-family: var(--lc-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-on-surface);
}

/* ========================================
   Tech Stack Heatmap
   ======================================== */

.lc-tech-heatmap {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--lc-surface);
    border-radius: var(--lc-radius-xl);
    border: 1px solid var(--lc-border-divider);
}

.lc-tech-heatmap__title {
    font-family: var(--lc-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    margin: 0 0 1.5rem;
    text-align: center;
}

.lc-tech-heatmap__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.lc-tech-heatmap__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-lg);
    border: 1px solid var(--lc-border-divider);
    transition: all 0.3s ease;
}

.lc-tech-heatmap__item:hover {
    background: var(--lc-elevated);
    transform: translateX(4px);
}

.lc-tech-heatmap__icon {
    width: 28px;
    height: 28px;
    color: var(--lc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lc-tech-heatmap__icon svg {
    width: 100%;
    height: 100%;
}

.lc-tech-heatmap__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.lc-tech-heatmap__name {
    font-family: var(--lc-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-tech-heatmap__count {
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    color: var(--lc-neutral);
}

.lc-tech-heatmap__bar {
    grid-column: 2;
    height: 4px;
    background: var(--lc-surface-low);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.lc-tech-heatmap__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--lc-primary), var(--lc-primary-soft));
    border-radius: 2px;
    transition: width 1s ease-out;
}

.lc-tech-heatmap__percentage {
    grid-column: 3;
    grid-row: 1 / 3;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lc-primary);
}

/* Heatmap intensity variations */
.lc-tech-heatmap__item[data-intensity="1"] .lc-tech-heatmap__progress {
    background: linear-gradient(90deg, #3abf7d, #2ecc71);
}

.lc-tech-heatmap__item[data-intensity="0.75"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.8"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.9"] .lc-tech-heatmap__progress {
    background: linear-gradient(90deg, var(--lc-primary), var(--lc-primary-soft));
}

.lc-tech-heatmap__item[data-intensity="0.5"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.6"] .lc-tech-heatmap__progress {
    background: linear-gradient(90deg, #f5a623, #f7b731);
}

.lc-tech-heatmap__item[data-intensity="0.25"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.3"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.4"] .lc-tech-heatmap__progress {
    background: linear-gradient(90deg, #5bc0de, #6ec7e2);
}

.lc-tech-heatmap__item[data-intensity="0"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.1"] .lc-tech-heatmap__progress,
.lc-tech-heatmap__item[data-intensity="0.2"] .lc-tech-heatmap__progress {
    background: linear-gradient(90deg, #95a5a6, #bdc3c7);
}

/* Tech Stack Chips (for project page) */
.lc-chip--tech {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.lc-chip__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lc-chip__icon svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   7. Single Post / Article Page
   ======================================== */

.lc-single-post {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: var(--lc-space) 0;
}

.lc-article {
    background: var(--lc-surface);
    border-radius: var(--lc-radius-xl);
}

.lc-article__cover {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--lc-radius-xl) var(--lc-radius-xl) 0 0;
}

.lc-article__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-article__header {
    padding: 2.5rem 3rem 1.5rem;
}

.lc-article__category {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-decoration: none;
}

.lc-article__category:hover {
    opacity: 0.8;
}

.lc-article__title {
    font-family: var(--lc-font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0 0 1.5rem;
    line-height: 1.3;
}

.lc-article__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--lc-neutral);
    font-size: 0.875rem;
}

.lc-article__date {
    font-family: var(--lc-font-mono);
}

.lc-article__views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.lc-article__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lc-article__author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.lc-article__content {
    padding: 0 3rem 2.5rem;
    font-family: var(--lc-font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--lc-on-surface);
    overflow: hidden;
}

.lc-article__content h2,
.lc-article__content h3,
.lc-article__content h4 {
    font-family: var(--lc-font-display);
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--lc-on-surface);
}

.lc-article__content h2 {
    font-size: 1.75rem;
}

.lc-article__content h3 {
    font-size: 1.375rem;
}

.lc-article__content p {
    margin-bottom: 1.25rem;
}

.lc-article__content a {
    color: var(--lc-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lc-article__content a:hover {
    opacity: 0.8;
}

.lc-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lc-radius);
    margin: 1.5rem 0;
}

.lc-article__content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--lc-primary);
    background: var(--lc-glass);
    border-radius: 0 var(--lc-radius) var(--lc-radius) 0;
    font-style: italic;
}

.lc-article__content ul,
.lc-article__content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.lc-article__content li {
    margin-bottom: 0.5rem;
}

.lc-article__content code {
    font-family: var(--lc-font-mono);
    font-size: 0.875em;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

/* Article Footer */
.lc-article__footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--lc-border-divider);
}

.lc-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.lc-tag {
    padding: 0.375rem 0.75rem;
    background: var(--lc-glass);
    border-radius: 2rem;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-tag:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-article__share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lc-article__share-label {
    font-size: 0.875rem;
    color: var(--lc-neutral);
}

.lc-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lc-glass);
    color: var(--lc-neutral);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-share-btn:hover {
    background: var(--lc-primary);
    color: white;
}

/* Post Navigation */
.lc-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 3rem;
    border-top: 1px solid var(--lc-border-divider);
}

.lc-post-navigation__prev,
.lc-post-navigation__next {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 45%;
    text-decoration: none;
    color: inherit;
}

.lc-post-navigation__next {
    text-align: right;
    margin-left: auto;
}

.lc-post-navigation__label {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-post-navigation__title {
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    transition: color 0.2s ease;
}

.lc-post-navigation__prev:hover .lc-post-navigation__title,
.lc-post-navigation__next:hover .lc-post-navigation__title {
    color: var(--lc-primary);
}

/* Related Posts */
.lc-related-posts {
    padding: 2.5rem 3rem;
    border-top: 1px solid var(--lc-border-divider);
}

.lc-related-posts__title {
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--lc-on-surface);
}

.lc-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lc-related-post {
    background: var(--lc-glass);
    border-radius: var(--lc-radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lc-related-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow);
}

.lc-related-post__cover {
    height: 140px;
    overflow: hidden;
}

.lc-related-post__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-related-post:hover .lc-related-post__cover-img {
    transform: scale(1.05);
}

.lc-related-post__title {
    font-family: var(--lc-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 1rem;
    line-height: 1.4;
}

.lc-related-post__title a {
    color: var(--lc-on-surface);
    text-decoration: none;
}

.lc-related-post__title a:hover {
    color: var(--lc-primary);
}

.lc-related-post__date {
    display: block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    margin: 0 1rem 1rem;
}

/* ========================================
   8. Archive Pages
   ======================================== */

.lc-articles-archive {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: calc(var(--lc-hero-min-height) + 20px) 0;
}

.lc-articles-archive__header {
    margin-bottom: 48px;
    text-align: center;
}

.lc-articles-archive__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lc-articles-archive__title {
    font-family: var(--lc-font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    letter-spacing: -0.02em;
    margin: 0;
}

.lc-articles-archive__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    padding: 0 10px;
    background: var(--lc-glass);
    border-radius: 14px;
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-neutral);
}

.lc-articles-archive__subtitle {
    font-size: 1rem;
    color: var(--lc-neutral);
    margin: 0;
}

.lc-page-header {
    padding: var(--lc-space) 2rem;
    text-align: center;
    max-width: var(--lc-max);
    margin: 0 auto;
}

.lc-page-header__title {
    font-family: var(--lc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0 0 1rem;
}

.lc-page-header__description {
    font-family: var(--lc-font-body);
    font-size: 1.125rem;
    color: var(--lc-neutral);
    max-width: 600px;
    margin: 0 auto;
}

.lc-page-header__description p {
    margin: 0;
}

/* Pagination */
.lc-pagination {
    display: flex;
    justify-content: center;
    padding: 3rem var(--lc-space);
}

.lc-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lc-pagination a,
.lc-pagination span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-pagination a {
    background: var(--lc-glass);
    color: var(--lc-on-surface);
}

.lc-pagination a:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-pagination .current {
    background: var(--lc-primary);
    color: white;
}

.lc-pagination .dots {
    background: transparent;
    color: var(--lc-neutral);
}

/* ========================================
   9. Comments & Guestbook
   ======================================== */

.lc-default-content {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: 0 var(--lc-space) 4rem;
}

.lc-comments-area {
    margin-top: 3rem;
}

.lc-comments-title {
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin-bottom: 2rem;
}

.lc-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-comment {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    margin-bottom: 1rem;
    box-shadow: var(--lc-shadow);
}

.lc-comment__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.lc-comment__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-comment__body {
    flex: 1;
}

.lc-comment__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.lc-comment__author {
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-comment__time {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
}

.lc-comment__content {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-meta);
    line-height: 1.6;
}

.lc-comment__content p {
    margin: 0 0 0.75rem;
}

.lc-comment__content p:last-child {
    margin-bottom: 0;
}

.lc-comment .children {
    list-style: none;
    margin: 1rem 0 0;
    padding-left: 3rem;
    border-left: 2px solid var(--lc-border-divider);
}

/* ========================================
   9.4 Post Content Lightbox
   ======================================== */

.lc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lc-lightbox--active {
    opacity: 1;
    visibility: visible;
}

.lc-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lc-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.lc-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lc-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.lc-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lc-lightbox__nav--prev {
    left: 24px;
}

.lc-lightbox__nav--next {
    right: 24px;
}

.lc-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--lc-font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .lc-lightbox__nav--prev {
        left: 12px;
    }

    .lc-lightbox__nav--next {
        right: 12px;
    }

    .lc-lightbox__close {
        top: 12px;
        right: 12px;
    }

    .lc-lightbox__counter {
        bottom: 12px;
    }
}

/* ========================================
   10. About Page
   ======================================== */

.lc-about-page {
    max-width: var(--lc-max);
    margin: 0 auto;
}

.lc-about-hero {
    text-align: center;
    padding: 4rem 0;
}

.lc-about-hero__avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--lc-shadow);
}

.lc-about-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-about-hero__name {
    font-family: var(--lc-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0 0 0.5rem;
}

.lc-about-hero__tagline {
    font-family: var(--lc-font-body);
    font-size: 1.125rem;
    color: var(--lc-neutral);
    margin: 0;
}

.lc-about-section {
    margin-bottom: 3rem;
}

.lc-about-section__title {
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin-bottom: 1.5rem;
}

.lc-card--content {
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    padding: 2rem;
    box-shadow: var(--lc-shadow);
}

.lc-skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lc-skill-tag {
    padding: 0.5rem 1rem;
    background: var(--lc-chip-bg);
    border-radius: 2rem;
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    color: var(--lc-neutral);
    transition: all 0.2s ease;
}

.lc-skill-tag:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-timeline {
    position: relative;
    padding-left: 2rem;
}

.lc-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--lc-border-divider);
}

.lc-timeline__item {
    position: relative;
    padding-bottom: 2rem;
}

.lc-timeline__item:last-child {
    padding-bottom: 0;
}

.lc-timeline__item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lc-primary);
    margin-left: -5px;
}

.lc-timeline__period {
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    color: var(--lc-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.lc-timeline__title {
    font-family: var(--lc-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    margin: 0 0 0.5rem;
}

.lc-timeline__description {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-neutral);
    margin: 0;
}

/* ========================================
   11. Empty State
   ======================================== */

.lc-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--lc-neutral);
}

.lc-empty-state p {
    font-family: var(--lc-font-body);
    font-size: 1.125rem;
    margin: 0;
}

.lc-page-links {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius);
}

/* ========================================
   12. Responsive Styles
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {

    /* Hero */
    .lc-hero__name {
        font-size: 2rem;
    }

    .lc-hero__tagline {
        font-size: 1rem;
    }

    .lc-hero__menu {
        gap: 1rem;
    }

    .lc-hero__menu a {
        font-size: 0.9375rem;
        padding: 0.375rem 0.75rem;
    }

    /* Sections */
    .lc-section {
        padding: 3rem 0;
    }

    .lc-section--stats {
        padding: 3rem 1rem;
    }

    /* Posts */
    .lc-post-card {
        padding: 1.25rem;
    }

    .lc-post-card__cover {
        width: 100px;
        height: 75px;
    }

    /* Projects */
    .lc-projects-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .lc-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lc-stat-card__value {
        font-size: 2.5rem;
    }

    /* Tech Stack */
    .lc-tech-stack-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 1rem;
    }

    .lc-tech-stack-item {
        padding: 1rem 0.75rem;
    }

    .lc-tech-stack-item__icon {
        width: 32px;
        height: 32px;
    }

    .lc-tech-stack-item__name {
        font-size: 0.75rem;
    }

    /* Tech Stack Heatmap */
    .lc-tech-heatmap {
        margin-top: 2rem;
        padding: 1.25rem;
    }

    .lc-tech-heatmap__title {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }

    .lc-tech-heatmap__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .lc-tech-heatmap__item {
        padding: 0.625rem 0.875rem;
        gap: 0.5rem;
    }

    .lc-tech-heatmap__icon {
        width: 24px;
        height: 24px;
    }

    .lc-tech-heatmap__name {
        font-size: 0.8125rem;
    }

    .lc-tech-heatmap__count {
        font-size: 0.625rem;
    }

    .lc-tech-heatmap__percentage {
        font-size: 0.6875rem;
    }

    /* Page Header */
    .lc-page-header {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .lc-page-header__title {
        font-size: 2rem;
    }

    /* Single Post */
    .lc-article__header,
    .lc-article__content,
    .lc-article__footer,
    .lc-post-navigation,
    .lc-related-posts {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lc-article__title {
        font-size: 1.875rem;
    }

    .lc-related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {

    /* Hero - 移动端适配
     * 首页 Hero 作为普通内容，使用 relative
     * 导航栏 .lc-hero--navbar 保持 fixed
     */
    .lc-hero:not(.lc-hero--navbar) {
        height: auto;
        /* min-height: auto; */
        padding: 6rem 1.5rem 3rem;
        position: relative;
    }

    /* 导航栏在移动端保持 fixed */
    .lc-hero--navbar {
        position: fixed !important;
    }

    .lc-hero__avatar {
        width: 80px;
        height: 80px;
    }

    .lc-hero__avatar-initial {
        font-size: 2rem;
    }

    .lc-hero__name {
        font-size: 1.75rem;
    }

    .lc-hero__tagline {
        font-size: 0.9375rem;
    }

    .lc-hero__social {
        gap: 0.75rem;
    }

    .lc-hero__social-link {
        width: 36px;
        height: 36px;
    }

    .lc-hero__menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .lc-hero__menu a {
        font-size: 0.875rem;
        padding: 0.375rem 0.625rem;
    }

    /* 变形后的 Hero（移动端导航栏） */

    .lc-hero--navbar {
        min-height: 56px;
        padding: var(--lc-navbar-padding);
    }


    .lc-hero--navbar .lc-hero__inner {
        flex-direction: row;
        justify-content: space-between;
    }


    .lc-hero--navbar .lc-hero__profile {
        flex-direction: row;
        gap: 0.5rem;
    }


    .lc-hero--navbar .lc-hero__avatar {
        width: 32px;
        height: 32px;
    }


    .lc-hero--navbar .lc-hero__name {
        font-size: 1rem;
    }


    .lc-hero--navbar .lc-hero__nav {
        display: none;
    }

    /* Enhanced Hero Responsive */
    .lc-hero__typing {
        font-size: 0.875rem;
    }

    .lc-hero__stats {
        gap: 1rem;
        padding: 0.625rem 1.25rem;
    }

    .lc-hero__stat-value {
        font-size: 1.125rem;
    }

    .lc-hero__stat-label {
        font-size: 0.625rem;
    }

    /* .lc-hero__scroll {
        display: none;
    } */

    .lc-hero__grid-bg {
        background-size: 30px 30px;
    }

    .lc-hero__particle {
        width: 3px;
        height: 3px;
    }

    /* Sections */
    .lc-section {
        padding: 2.5rem 0;
    }

    .lc-section--stats {
        padding: 2.5rem 1rem;
    }

    .lc-section__title {
        font-size: 1.5rem;
    }

    .lc-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    /* Posts */
    .lc-post-card {
        flex-direction: column;
        padding: 1rem;
    }

    .lc-post-card--has-cover {
        flex-direction: column;
    }

    .lc-post-card__cover {
        width: 100%;
        height: 160px;
    }

    .lc-post-card__title {
        font-size: 1.125rem;
    }

    /* Projects */
    .lc-projects-list {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .lc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .lc-stat-card {
        padding: 1.5rem;
    }

    .lc-stat-card__value {
        font-size: 2rem;
    }

    /* Page Header */
    .lc-page-header {
        padding: 4rem 1.25rem 1.5rem;
    }

    .lc-page-header__title {
        font-size: 1.75rem;
    }

    /* Single Post */
    .lc-single-post {
        padding: 1rem 0 3rem;
    }

    .lc-article {
        border-radius: 0;
    }

    .lc-article__cover {
        height: 240px;
        border-radius: 0;
    }

    .lc-article__header,
    .lc-article__content,
    .lc-article__footer,
    .lc-post-navigation,
    .lc-related-posts {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .lc-article__title {
        font-size: 1.5rem;
    }

    .lc-article__meta {
        gap: 1rem;
        font-size: 0.8125rem;
    }

    .lc-article__content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .lc-post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }

    .lc-post-navigation__prev,
    .lc-post-navigation__next {
        max-width: 100%;
    }

    .lc-post-navigation__next {
        text-align: left;
        margin-left: 0;
    }

    .lc-related-posts__grid {
        grid-template-columns: 1fr;
    }

    /* Comments */
    .lc-comment .children {
        padding-left: 1.5rem;
    }

    .lc-comment-form__grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .lc-about-hero__avatar {
        width: 100px;
        height: 100px;
    }

    .lc-about-hero__name {
        font-size: 1.75rem;
    }

    /* Archive */
    .lc-articles-archive {
        padding: calc(var(--lc-hero-min-height) + 10px) 0;
    }

    .lc-articles-archive__header {
        margin-bottom: 32px;
    }

    .lc-articles-archive__title-wrap {
        gap: 8px;
    }

    .lc-articles-archive__title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .lc-articles-archive__count {
        min-width: 36px;
        height: 24px;
        padding: 0 8px;
        font-size: 0.8125rem;
    }

    /* Mobile nav 隐藏桌面端 */
    .lc-mobile-nav {
        /* display: none !important; */
    }
}

/* Small Mobile (< 375px) */
@media (max-width: 374px) {
    .lc-hero__name {
        font-size: 1.5rem;
    }

    .lc-stats-grid {
        gap: 1rem;
    }

    .lc-stat-card {
        padding: 1.25rem;
    }

    .lc-tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .lc-tech-stack-item {
        padding: 0.875rem 0.5rem;
    }

    .lc-tech-stack-item__icon {
        width: 28px;
        height: 28px;
    }
}

/* Desktop (>= 768px) */
@media (min-width: 768px) {
    /* 桌面端隐藏汉堡菜单 */


    .lc-hero--navbar .lc-hero__menu-toggle {
        display: none;
    }

    /* 桌面端显示导航 */

    .lc-hero--navbar .lc-hero__nav {
        display: block;
    }
}

/* ========================================
   13. Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    /* 禁用动画 */
    .lc-hero,
    .lc-hero__inner,
    .lc-hero__profile,
    .lc-hero__avatar,
    .lc-hero__name,
    .lc-hero__tagline,
    .lc-hero__social,
    .lc-hero__nav {
        transition: none !important;
    }

    .lc-hero__avatar:hover,
    .lc-hero__social-link:hover {
        transform: none !important;
    }

    .lc-hero__blob {
        animation: none !important;
    }

    .lc-mobile-nav,
    .lc-mobile-menu__toggle svg,
    .lc-mobile-menu__submenu {
        transition: none !important;
    }

    .lc-section.will-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hidden state for animation */
.lc-hero__tagline.is-hidden,
.lc-hero__social.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   Redesigned About Page Styles
   ======================================== */

/* About Page Container */
.lc-about-page {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: calc(var(--lc-hero-min-height) + 40px) var(--lc-space) var(--lc-space);
}

/* About Hero Section */
.lc-about-hero {
    padding: 4rem 0;
    text-align: center;
}

.lc-about-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lc-about-hero__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lc-glass);
    box-shadow: var(--lc-shadow-lg);
    border: 3px solid var(--lc-primary);
}

.lc-about-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-about-hero__avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lc-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--lc-primary);
    background: var(--lc-glass);
}

.lc-about-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.lc-about-hero__name {
    font-family: var(--lc-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
}

.lc-about-hero__tagline {
    font-size: 1.125rem;
    color: var(--lc-neutral);
    margin: 0;
}

.lc-about-hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.lc-about-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.lc-about-hero__stat-value {
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-primary);
}

.lc-about-hero__stat-label {
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-about-hero__stat-divider {
    width: 1px;
    height: 32px;
    background: var(--lc-border-divider);
}

.lc-about-hero__social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.lc-about-hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lc-glass);
    color: var(--lc-neutral);
    transition: all 0.2s ease;
    border: 1px solid var(--lc-border-divider);
}

.lc-about-hero__social-link:hover {
    background: var(--lc-primary);
    color: white;
    border-color: var(--lc-primary);
    transform: translateY(-2px);
}

/* About 页面社交链接 SVG 图标约束 */
.lc-about-hero__social-link svg {
    width: 55%;
    height: 55%;
    flex-shrink: 0;
}

/* About Sections */
.lc-about-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--lc-border-divider);
}

.lc-about-section:last-child {
    border-bottom: none;
}

.lc-about-section__container {
    max-width: 800px;
    margin: 0 auto;
}

.lc-about-section__title {
    font-family: var(--lc-font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    margin: 0 0 1.5rem;
    text-align: center;
}

.lc-about-section__subtitle {
    font-size: 0.9375rem;
    color: var(--lc-neutral);
    text-align: center;
    margin: -1rem 0 1.5rem;
}

.lc-about-section__footer {
    text-align: center;
    margin-top: 2rem;
}

/* Bio Section */
.lc-about-bio {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lc-about-bio__code {
    background: #1a1a2e;
    border-radius: var(--lc-radius-lg);
    padding: 1.5rem;
    overflow-x: auto;
}

.lc-about-bio__code pre {
    margin: 0;
}

.lc-about-bio__code code {
    font-family: var(--lc-font-mono);
    font-size: 0.9375rem;
    color: #a8d8ea;
    line-height: 1.6;
}

.lc-about-bio__content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lc-on-surface);
}

.lc-about-bio__content p {
    margin: 0 0 1rem;
}

/* GitHub Section */
.lc-about-github {
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--lc-shadow);
}

.lc-about-github__link {
    display: block;
    text-decoration: none;
}

.lc-about-github__chart {
    width: 100%;
    height: auto;
    border-radius: var(--lc-radius-lg);
}

/* Skills Cloud */
.lc-skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.lc-skill-tag {
    display: inline-flex;
    padding: 0.625rem 1.25rem;
    background: var(--lc-glass);
    border-radius: 2rem;
    font-family: var(--lc-font-mono);
    color: var(--lc-on-surface);
    border: 1px solid var(--lc-border-divider);
    transition: all 0.2s ease;
}

.lc-skill-tag--sm {
    font-size: 0.8125rem;
}

.lc-skill-tag--md {
    font-size: 0.9375rem;
    background: var(--lc-chip-bg);
}

.lc-skill-tag--lg {
    font-size: 1.0625rem;
    background: linear-gradient(120deg, var(--lc-primary), var(--lc-primary-soft));
    color: white;
    border-color: transparent;
}

.lc-skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--lc-shadow);
}

/* Projects Grid */
.lc-about-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.lc-about-project {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-lg);
    border: 1px solid var(--lc-border-divider);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    overflow: auto;
}

.lc-about-project:hover {
    background: var(--lc-elevated);
    border-color: var(--lc-primary);
    transform: translateY(-2px);
    box-shadow: var(--lc-shadow);
}

.lc-about-project__logo {
    width: 56px;
    height: 56px;
    border-radius: var(--lc-radius-lg);
    overflow: hidden;
    background: var(--lc-surface);
    flex-shrink: 0;
}

.lc-about-project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-about-project__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lc-primary);
    background: linear-gradient(135deg, var(--lc-surface-low), var(--lc-surface));
}

.lc-about-project__info {
    min-width: 0;
    flex: 1;
}

.lc-about-project__name {
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-about-project__desc {
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact Section */
.lc-about-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.lc-about-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--lc-glass);
    border-radius: 2rem;
    border: 1px solid var(--lc-border-divider);
    text-decoration: none;
    color: var(--lc-on-surface);
    font-family: var(--lc-font-mono);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.lc-about-contact__link:hover {
    background: var(--lc-primary);
    color: white;
    border-color: var(--lc-primary);
    transform: translateY(-2px);
}

.lc-about-contact__link svg {
    width: 20px;
    height: 20px;
}

/* About Page Responsive */
@media (max-width: 767px) {
    .lc-about-page {
        padding-top: calc(var(--lc-hero-min-height) + 20px);
    }

    .lc-about-hero {
        padding: 2.5rem 0;
    }

    .lc-about-hero__avatar {
        width: 100px;
        height: 100px;
    }

    .lc-about-hero__name {
        font-size: 1.75rem;
    }

    .lc-about-hero__stats {
        gap: 1rem;
    }

    .lc-about-hero__stat-value {
        font-size: 1.25rem;
    }

    .lc-about-section {
        padding: 2rem 0;
    }

    .lc-about-section__title {
        font-size: 1.5rem;
    }

    .lc-about-projects {
        grid-template-columns: 1fr;
    }

    .lc-about-contact {
        flex-direction: column;
        align-items: stretch;
    }

    .lc-about-contact__link {
        justify-content: center;
    }

    .lc-skills-cloud {
        gap: 0.5rem;
    }

    .lc-skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

/* ========================================
   Post Content Video Device Mockup
   ======================================== */

.lc-post-video-mockup {
    margin: 2rem auto;
    max-width: 100%;
}

/* Phone mockup */
.lc-post-video-mockup--phone {
    width: 280px;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__frame {
    position: relative;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.lc-post-video-mockup--phone .lc-post-video-mockup__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__screen {
    position: relative;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 10;
}

/* Tablet mockup */
.lc-post-video-mockup--tablet {
    width: 500px;
}

.lc-post-video-mockup--tablet .lc-post-video-mockup__frame {
    position: relative;
    background: linear-gradient(145deg, #3a3a4a, #2a2a3a);
    border-radius: 20px;
    padding: 15px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.lc-post-video-mockup--tablet .lc-post-video-mockup__screen {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

/* Laptop mockup */
.lc-post-video-mockup--laptop {
    width: 100%;
    max-width: 700px;
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__frame {
    position: relative;
    background: linear-gradient(145deg, #3a3a4a, #2a2a3a);
    border-radius: 12px 12px 0 0;
    padding: 8px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__camera {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__screen {
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__screen iframe,
.lc-post-video-mockup--laptop .lc-post-video-mockup__screen video {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .lc-post-video-mockup--phone {
        width: 220px;
    }

    .lc-post-video-mockup--phone .lc-post-video-mockup__frame {
        border-radius: 30px;
        padding: 8px;
    }

    .lc-post-video-mockup--phone .lc-post-video-mockup__screen {
        border-radius: 24px;
    }

    .lc-post-video-mockup--phone .lc-post-video-mockup__notch {
        width: 80px;
        height: 20px;
        border-radius: 0 0 12px 12px;
    }

    .lc-post-video-mockup--tablet {
        width: 100%;
    }
}

/* ============================================================================
   16. Table of Contents (TOC)
   ============================================================================ */

/* TOC Sidebar Layout */
.lc-article__content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .lc-article__content-wrapper {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    /* When no TOC, content takes full width */
    .lc-article__content-wrapper--no-toc {
        grid-template-columns: 1fr;
    }

    .lc-article__toc-sidebar {
        order: 2;
    }

    .lc-article__content {
        order: 1;
    }
}

/* TOC Container */
.lc-toc {
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky;
    top: calc(var(--lc-navbar-height, 64px) + 1rem);
    max-height: calc(100vh - var(--lc-navbar-height, 64px) - 2rem);
    overflow-y: auto;
    box-shadow: var(--lc-shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lc-toc::-webkit-scrollbar {
    width: 5px;
}

.lc-toc::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

.lc-toc::-webkit-scrollbar-thumb {
    background: var(--lc-border);
    border-radius: 3px;
}

.lc-toc::-webkit-scrollbar-thumb:hover {
    background: var(--lc-neutral);
}

/* TOC Header */
.lc-toc__header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid var(--lc-border);
}

.lc-toc__icon {
    color: var(--lc-primary);
    flex-shrink: 0;
    opacity: 0.9;
}

.lc-toc__title {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--lc-text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* TOC List */
.lc-toc__list,
.lc-toc__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-toc__sublist {
    padding-left: 0.75rem;
    margin-top: 0.25rem;
}

.lc-toc__item {
    margin: 0;
}

.lc-toc__item--level-2+.lc-toc__item--level-2,
.lc-toc__item--level-3+.lc-toc__item--level-3 {
    margin-top: 0.25rem;
}

.lc-toc__link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lc-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    margin-left: 0;
}

.lc-toc__link:hover {
    color: var(--lc-text-primary);
    background: var(--lc-surface-2);
    border-left-color: var(--lc-border);
    padding-left: 0.875rem;
}

.lc-toc__link--active {
    color: var(--lc-text-primary);
    background: var(--lc-surface-2);
    border-left-color: var(--lc-primary);
    font-weight: 600;
    padding-left: 0.875rem;
}

.lc-toc__link--active:hover {
    background: var(--lc-surface);
    border-left-color: var(--lc-primary);
}

/* Level 3 specific */
.lc-toc__item--level-3 .lc-toc__link {
    font-size: 0.75rem;
    padding-left: 1rem;
}

.lc-toc__item--level-3 .lc-toc__link:hover {
    padding-left: 1.125rem;
}

.lc-toc__item--level-3 .lc-toc__link--active {
    padding-left: 1.125rem;
}

/* TOC Mobile Toggle */
.lc-toc__toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-text-primary);
}

.lc-toc__toggle-icon {
    transition: transform 0.2s ease;
}

.lc-toc__toggle[aria-expanded="true"] .lc-toc__toggle-icon {
    transform: rotate(180deg);
}

/* Mobile TOC */
@media (max-width: 1023px) {
    .lc-article__content-wrapper {
        grid-template-columns: 1fr;
    }

    .lc-article__toc-sidebar {
        order: -1;
        margin-bottom: 1rem;
    }

    .lc-toc {
        position: static;
        max-height: none;
        padding: 0;
        border: none;
        background: transparent;
    }

    .lc-toc__header {
        display: none;
    }

    .lc-toc__toggle {
        display: flex;
    }

    .lc-toc__list {
        display: none;
        margin-top: 0.5rem;
        padding: 0.75rem;
        background: var(--lc-surface);
        border: 1px solid var(--lc-border);
        border-radius: 8px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .lc-toc__list.is-open {
        display: block;
    }
}

/* Print: Hide TOC */
@media print {
    .lc-article__toc-sidebar {
        display: none;
    }
}

/* ========================================
   10. 404 Page
   ======================================== */

/* 404 Page Container */
.lc-404-page {
    position: relative;
    min-height: calc(100vh - var(--lc-navbar-height, 64px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--lc-space);
    overflow: hidden;
}

/* 404 Container */
.lc-404-page__container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* Visual Section */
.lc-404-page__visual {
    position: relative;
    margin-bottom: 2rem;
}

.lc-404-page__code {
    font-size: clamp(120px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    color: var(--lc-text);
    font-family: var(--lc-font-mono, monospace);
    letter-spacing: -0.05em;
    text-shadow:
        0 0 20px var(--lc-primary-glow),
        0 0 40px var(--lc-primary-glow),
        0 0 80px var(--lc-primary-glow);
}

/* Glitch Effect */
.lc-404-page__glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: clamp(120px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    font-family: var(--lc-font-mono, monospace);
    letter-spacing: -0.05em;
    color: var(--lc-accent);
    opacity: 0.3;
    animation: lc-glitch 3s infinite;
    pointer-events: none;
}

@keyframes lc-glitch {
    0%, 90%, 100% {
        transform: translate(0);
        opacity: 0.3;
    }

    92% {
        transform: translate(-3px, 2px);
        opacity: 0.5;
    }

    94% {
        transform: translate(3px, -2px);
        opacity: 0.4;
    }

    96% {
        transform: translate(-2px, -1px);
        opacity: 0.5;
    }

    98% {
        transform: translate(2px, 1px);
        opacity: 0.3;
    }
}

/* Status */
.lc-404-page__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 20px;
    margin-top: 1rem;
}

.lc-404-page__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: lc-status-pulse 2s ease-in-out infinite;
}

@keyframes lc-status-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.lc-404-page__status-text {
    font-size: 0.875rem;
    color: var(--lc-text-secondary);
    font-family: var(--lc-font-mono, monospace);
}

/* Content */
.lc-404-page__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lc-text);
    margin-bottom: 0.75rem;
}

.lc-404-page__description {
    font-size: 1rem;
    color: var(--lc-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Search */
.lc-404-page__search {
    margin-bottom: 2rem;
}

.lc-404-page__search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border-divider);
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: var(--lc-shadow);
}

.lc-404-page__search-box:focus-within {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 3px var(--lc-primary-glow);
}

.lc-404-page__search-icon {
    color: var(--lc-text-muted);
    flex-shrink: 0;
}

.lc-404-page__search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--lc-text);
    font-size: 1rem;
    outline: none;
}

.lc-404-page__search-input::placeholder {
    color: var(--lc-text-muted);
}

.lc-404-page__search-btn {
    padding: 0.5rem 1rem;
    background: var(--lc-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-404-page__search-btn:hover {
    background: var(--lc-primary-dark);
}

/* Actions */
.lc-404-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.lc-404-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-404-page__btn svg {
    flex-shrink: 0;
}

.lc-404-page__btn--primary {
    background: var(--lc-primary);
    color: white;
    border: 1px solid var(--lc-primary);
}

.lc-404-page__btn--primary:hover {
    background: var(--lc-primary-dark);
    border-color: var(--lc-primary-dark);
}

.lc-404-page__btn--secondary {
    background: var(--lc-glass);
    color: var(--lc-text);
    border: 1px solid var(--lc-border);
}

.lc-404-page__btn--secondary:hover {
    background: var(--lc-surface);
    border-color: var(--lc-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .lc-comments-tech {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .lc-comments-tech__header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .lc-comment-tech__header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .lc-comment-tech__avatar {
        width: 48px;
        height: 48px;
    }

    .lc-comments-tech__list .children {
        padding-left: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-comments-tech__pulse {
        animation: none;
    }
}

/* ============================================================================
   Empty State - 空状态提示
   ============================================================================ */

.lc-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.lc-empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 24px;
    color: var(--lc-primary);
    box-shadow: var(--lc-shadow);
}

.lc-empty-state__title {
    margin: 0 0 0.75rem;
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
}

.lc-empty-state__description {
    margin: 0 0 2rem;
    font-size: 1rem;
    color: var(--lc-neutral);
    line-height: 1.6;
}

/* Suggestions (for search) */
.lc-empty-state__suggestions {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
}

.lc-empty-state__suggestions-title {
    margin: 0 0 1rem;
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-empty-state__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.lc-empty-state__tag {
    display: inline-flex;
    padding: 0.4rem 0.85rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 999px;
    font-family: var(--lc-font-mono);
    font-size: 0.8rem;
    color: var(--lc-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-empty-state__tag:hover {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: #fff;
}

.lc-empty-state__no-tags {
    font-size: 0.85rem;
    color: var(--lc-neutral);
}

/* Recent posts (for search) */
.lc-empty-state__recent {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
}

.lc-empty-state__recent-title {
    margin: 0 0 1rem;
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-empty-state__posts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lc-empty-state__post {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-empty-state__post:hover {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 1px var(--lc-primary-glow);
}

.lc-empty-state__post-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.lc-empty-state__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-empty-state__post-info {
    text-align: left;
    min-width: 0;
}

.lc-empty-state__post-title {
    margin: 0 0 0.25rem;
    font-family: var(--lc-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-empty-state__post-date {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
}

/* Actions */
.lc-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.lc-empty-state__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-empty-state__btn--primary {
    background: var(--lc-primary);
    color: #fff;
    border: 1px solid var(--lc-primary);
}

.lc-empty-state__btn--primary:hover {
    background: var(--lc-primary-dark);
    border-color: var(--lc-primary-dark);
}

.lc-empty-state__btn--secondary {
    background: var(--lc-glass);
    color: var(--lc-on-surface);
    border: 1px solid var(--lc-border);
}

.lc-empty-state__btn--secondary:hover {
    background: var(--lc-surface);
    border-color: var(--lc-primary);
}

/* ============================================================================
   Search Page Form - 搜索页搜索框
   ============================================================================ */

.lc-search-page-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.lc-search-page-form__box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: var(--lc-shadow);
}

.lc-search-page-form__box:focus-within {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 3px var(--lc-primary-glow);
}

.lc-search-page-form__icon {
    color: var(--lc-neutral);
    flex-shrink: 0;
}

.lc-search-page-form__input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--lc-on-surface);
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.lc-search-page-form__input::placeholder {
    color: var(--lc-placeholder);
}

.lc-search-page-form__btn {
    padding: 0.5rem 1rem;
    background: var(--lc-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lc-search-page-form__btn:hover {
    background: var(--lc-primary-dark);
}

/* Responsive */
@media (max-width: 640px) {
    .lc-empty-state {
        padding: 2rem 1rem;
    }

    .lc-empty-state__icon {
        width: 80px;
        height: 80px;
    }

    .lc-empty-state__title {
        font-size: 1.25rem;
    }

    .lc-empty-state__suggestions,
    .lc-empty-state__recent {
        padding: 1rem;
    }

    .lc-empty-state__actions {
        flex-direction: column;
    }

    .lc-empty-state__btn {
        justify-content: center;
    }

    .lc-search-page-form {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .lc-search-page-form__box {
        padding: 0.625rem 0.75rem;
    }
}

.lc-404-page__code,
.lc-404-page__glitch {
    font-size: 100px;
}

.lc-404-page__title {
    font-size: 1.5rem;
}

.lc-404-page__actions {
    flex-direction: column;
    align-items: stretch;
}

.lc-404-page__btn {
    justify-content: center;
}

.lc-404-page__search-box {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
}

.lc-404-page__search-icon {
    order: 0;
}

.lc-404-page__search-input {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    /* 防止iOS缩放 */
}

.lc-404-page__search-btn {
    flex: 0 0 auto;
    padding: 0.625rem 1.25rem;
    white-space: nowrap;
}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .lc-404-page__glitch {
        animation: none;
    }

    .lc-404-page__status-dot {
        animation: none;
    }
}