/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hero-top-offset: 112px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    animation: pageFadeIn 0.7s ease;
}

body.splash-lock {
    overflow: hidden;
}

.startup-splash {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(220, 238, 255, 0.8) 0%, rgba(245, 250, 255, 0.95) 34%, #ffffff 72%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    opacity: 1;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.startup-splash.hide {
    opacity: 0;
    pointer-events: none;
}

.startup-text {
    font-size: clamp(2.3rem, 8vw, 5.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
    animation: startupFloatIn 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.startup-hint {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    color: #64748b;
    animation: hintBreath 1.6s ease-in-out infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 全站滚动显现 */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* 导航栏 */
.navbar {
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

.logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo h2 {
    color: var(--primary-color);
    text-shadow: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-color);
    text-shadow: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    border-bottom-color: var(--white);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding-top: var(--hero-top-offset);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line-1 {
    font-size: 0.6em;
    font-weight: 500;
    opacity: 0.95;
    animation: slideInLeft 1s ease;
}

.title-line-2 {
    font-size: 1.2em;
    background: linear-gradient(135deg, #ffffff, #a8dadc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 1s ease;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    animation: fadeInUp 1.4s ease;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: fadeIn 1.2s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1.6s ease;
    margin-bottom: 4rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
    animation: fadeIn 2s ease, float 3s ease-in-out infinite;
    margin-top: 2rem;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

/* 按钮 */
.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 特色区域 */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* 关于页面 */
.about-section {
    padding: 120px 0 60px 0;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(147, 197, 253, 0.38) 0%, transparent 42%),
        radial-gradient(circle at 85% 18%, rgba(196, 181, 253, 0.32) 0%, transparent 40%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #f7faff 100%);
}

.about-section::before,
.about-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    z-index: 0;
    pointer-events: none;
}

.about-section::before {
    width: 240px;
    height: 240px;
    background: rgba(59, 130, 246, 0.22);
    top: 90px;
    left: -70px;
}

.about-section::after {
    width: 260px;
    height: 260px;
    background: rgba(99, 102, 241, 0.2);
    right: -80px;
    bottom: 40px;
}

.about-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #667085;
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    animation: softRiseIn 0.75s ease;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-placeholder {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

.about-text h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-text h3 {
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.interests {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.interests li {
    color: var(--text-light);
    padding: 0.5rem 0;
}

.contact-info p {
    color: var(--text-light);
    margin: 0.5rem 0;
}

/* 博客页面 */
.blog-section {
    padding: 120px 0 60px 0;
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(167, 243, 208, 0.3) 0%, transparent 38%),
        radial-gradient(circle at 90% 12%, rgba(191, 219, 254, 0.34) 0%, transparent 40%),
        linear-gradient(180deg, #f6f9ff 0%, #eef3ff 52%, #f9fbff 100%);
}

.blog-section::before,
.blog-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(54px);
    z-index: 0;
    pointer-events: none;
}

.blog-section::before {
    width: 280px;
    height: 280px;
    background: rgba(14, 165, 233, 0.16);
    top: 120px;
    left: -90px;
}

.blog-section::after {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.16);
    right: -110px;
    bottom: 60px;
}

.blog-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.tieba-feed {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 920px;
    margin: 0 auto;
}

.post-item {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.post-time {
    background: rgba(248, 250, 252, 0.78);
    color: #64748b;
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.post-main {
    padding: 1rem;
}

.post-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.post-avatar-image {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.post-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.post-body {
    flex: 1;
}

.post-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.45rem;
}

.post-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.post-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.comment-panel {
    margin-top: 0.85rem;
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
}

.comment-item {
    font-size: 0.9rem;
    color: #334155;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.9);
}

.comment-item small {
    color: #64748b;
    margin-left: 0.4rem;
}

.comment-editor {
    display: flex;
    gap: 0.6rem;
    align-items: flex-end;
}

.comment-input {
    flex: 1;
    resize: vertical;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
}

.comment-submit {
    border: 1px solid rgba(79, 70, 229, 0.35);
    background: rgba(224, 231, 255, 0.85);
    color: #3730a3;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    cursor: pointer;
}

.comment-submit:hover {
    background: rgba(199, 210, 254, 0.9);
}

.share-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    z-index: 2500;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.share-toast.show {
    opacity: 1;
}

.post-action-btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #334155;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-action-btn:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(239, 246, 255, 0.92);
    color: #1d4ed8;
    transform: translateY(-1px);
}

.post-action-btn.is-active {
    border-color: rgba(79, 70, 229, 0.45);
    background: rgba(224, 231, 255, 0.9);
    color: #3730a3;
}

.action-icon {
    font-size: 0.95rem;
    width: 1.1em;
    text-align: center;
    line-height: 1;
}

.action-label {
    display: inline-block;
    min-width: 2em;
    text-align: left;
    font-weight: 500;
    line-height: 1;
}

.action-count {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.action-count.is-pop {
    animation: countPop 0.28s ease;
}

@keyframes countPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.28);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes startupFloatIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hintBreath {
    0%, 100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.95;
    }
}

@keyframes softRiseIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.995);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-empty {
    grid-column: 1 / -1;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
    text-align: center;
}

.blog-empty h3 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.blog-empty p {
    color: var(--text-light);
}

.blog-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    font-size: 4rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: var(--text-light);
}

.blog-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.blog-title {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* 页脚 */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.footer-copy {
    margin: 0;
}

.beian-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    white-space: nowrap;
}

.icp-link,
.psb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.icp-link:hover,
.psb-link:hover {
    color: #ffffff;
}

.icp-icon,
.psb-icon {
    flex-shrink: 0;
}

.psb-icon {
    width: 16px;
    height: 16px;
    display: block;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    :root {
        --hero-top-offset: 88px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .title-line-2 {
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .icp-link,
    .psb-link {
        font-size: clamp(0.72rem, 2.3vw, 0.88rem);
        gap: 0.3rem;
    }

    .beian-row {
        gap: 0.55rem;
    }

    .psb-icon {
        width: 14px;
        height: 14px;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .nav-menu {
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-section::before,
    .about-section::after,
    .blog-section::before,
    .blog-section::after {
        width: 180px;
        height: 180px;
        filter: blur(36px);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-main {
        padding: 0.9rem;
    }

    .post-avatar-image {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .post-author {
        font-size: 0.9rem;
    }

    .post-title {
        font-size: 1.05rem;
    }

    .post-text {
        font-size: 0.95rem;
    }

    .post-actions {
        flex-wrap: wrap;
    }

    .comment-editor {
        flex-direction: column;
        align-items: stretch;
    }

    .interests {
        grid-template-columns: 1fr;
    }
}
