/* ========== Global Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #1f2937;
    line-height: 1.6;
}

body.page-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* ========== Main Container ========== */
.main-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    overflow: visible !important;
}

.main-container.main-post {
    padding: 32px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* ========== Navbar ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2.2rem;
    position: sticky;
    top: 24px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0 20px 0 !important;
}

.navbar.scrolled {
    top: 12px;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.1);
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 10;
}

.nav-links > a,
.nav-links .nav-item-cat {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
    padding: 8px 0;
    line-height: 1.4;
}

.nav-links a.active,
.nav-links a:hover {
    color: #6366f1;
}

/* 分类下拉菜单 */
.nav-item-cat {
    position: relative;
}

.sub-category {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    min-width: 140px;
    z-index: 100;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-item-cat.has-children:hover .sub-category {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sub-category li {
    margin: 0;
}

.sub-category li a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.sub-category li a:hover,
.sub-category li a.active {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
}

/* 三级子菜单 */
.sub-category li.has-children {
    position: relative;
}
.sub-category li.has-children > a::after {
    content: ' ▸';
    font-size: 11px;
    margin-left: 6px;
    color: #9ca3af;
}
.sub-sub-category {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    min-width: 140px;
    z-index: 101;
    opacity: 0;
    transform: translateX(5px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.sub-category li.has-children:hover > .sub-sub-category {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
.sub-sub-category li a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.sub-sub-category li a:hover,
.sub-sub-category li a.active {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

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

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 8px 16px;
    width: 220px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #6b7280;
}

.search-bar input::placeholder {
    color: #9ca3af;
}

.search-icon {
    color: #9ca3af;
    margin-left: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
}

/* ========== Simple Hero Section ========== */
.simple-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    position: relative;
    min-height: 500px;
}

.hero-content {
    max-width: 550px;
    z-index: 10;
}

.hero-main-title {
    font-size: 56px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 玻璃立方体效果 */
.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-cube-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 300px;
    height: 300px;
}

.orbit-2 {
    width: 380px;
    height: 380px;
}

.floating-particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    opacity: 0.6;
}

.particle-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.particle-2 {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 5%;
    animation: float 4s ease-in-out infinite 1s;
}

.particle-3 {
    width: 16px;
    height: 16px;
    bottom: 20%;
    right: 20%;
    animation: float 3.5s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.glass-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ========== Stats Grid ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-icon.blue { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.stat-icon.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.stat-icon.violet { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.stat-icon.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.stat-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #1f2937;
}

.stat-info p {
    font-size: 12px;
    color: #6b7280;
}

/* ========== Section Header ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.view-all {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ========== Article Cards Grid ========== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.article-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.article-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.article-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-title a {
    color: #1f2937;
    text-decoration: none;
}

.article-title a:hover {
    color: #3b82f6;
}

.article-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: auto;
}

/* ========== Pagination ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    padding: 20px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.pagination a {
    color: #6b7280;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pagination a:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.pagination span.current {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination span:not(.current) {
    color: #9ca3af;
    background: transparent;
    border: none;
    cursor: default;
}

/* ========== Sidebars ========== */
.left-sidebar,
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 280px;
    max-width: 280px;
}

.author-card,
.nav-menu,
.popular-articles,
.sidebar-section,
.subscribe-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.author-card {
    text-align: center;
    padding: 24px;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    margin: 0 auto 16px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.author-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.social-btn:hover {
    background: rgba(99,102,241,0.2);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
}

.nav-icon {
    width: 18px;
    text-align: center;
}

.popular-title,
.sidebar-section-title,
.subscribe-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.popular-item:last-child {
    margin-bottom: 0;
}

.popular-item:hover {
    background: rgba(99,102,241,0.05);
    margin: 0 -10px;
    padding: 10px;
}

.popular-thumb {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-info {
    flex: 1;
    min-width: 0;
}

.popular-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-views {
    font-size: 12px;
    color: #9ca3af;
}

/* ========== Article Content ========== */
.article-content-area {
    max-width: 100%;
    min-width: 0;
}

.article-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: #6366f1;
}

.article-breadcrumb .current {
    color: #1f2937;
    font-weight: 500;
}

.article-title-section {
    margin-bottom: 32px;
}

.article-title-large {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 14px;
}

.article-author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.author-name-mini {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
}

.views-highlight {
    color: #6366f1;
    font-weight: 500;
}

.article-body-text {
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.article-body-text * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.article-body-text p {
    margin-bottom: 20px;
}

.article-body-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 32px 0 16px;
}

.article-body-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 24px 0 12px;
}

.article-body-text ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body-text li {
    margin-bottom: 10px;
    color: #4b5563;
}

.article-body-text img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.article-body-text table {
    max-width: 100% !important;
    width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.article-body-text th,
.article-body-text td {
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.08);
    text-align: left;
}

.article-body-text pre {
    max-width: 100% !important;
    overflow-x: auto;
    padding: 16px;
    border-radius: 8px;
    background: rgba(0,0,0,0.03);
    margin: 20px 0;
}

.article-body-text code {
    word-wrap: break-word;
    word-break: break-all;
}

.article-body-text a {
    word-wrap: break-word;
    word-break: break-all;
    color: #6366f1;
}

.article-quote {
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid #6366f1;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-style: italic;
    color: #6b7280;
    line-height: 1.7;
    font-size: 14px;
}

/* ========== Article End & Info Card ========== */
.article-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 48px 0;
    color: #9ca3af;
    font-size: 14px;
}

.end-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.end-text {
    white-space: nowrap;
    font-weight: 500;
}

.article-info-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-card-icon {
    font-size: 18px;
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.info-label {
    color: #6b7280;
}

.info-value {
    color: #1f2937;
    text-align: right;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== Post Navigation & Related ========== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-prev, .nav-next {
    flex: 1;
}

.nav-prev a, .nav-next a {
    display: block;
    padding: 14px 18px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.3);
}

.nav-prev a:hover, .nav-next a:hover {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
    border-color: rgba(99,102,241,0.2);
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.related-posts {
    margin-bottom: 40px;
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.related-thumb {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.related-card h4 {
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: #9ca3af;
}

/* ========== Sidebar Elements ========== */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 8px;
}

.toc-item a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    transition: all 0.2s;
}

.toc-item a:hover {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
}

.toc-level-h2 { padding-left: 0; }
.toc-level-h3 { padding-left: 12px; }
.toc-level-h4 { padding-left: 24px; }

.toc-empty {
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99,102,241,0.08);
    border-radius: 20px;
    text-decoration: none;
    color: #6366f1;
    font-size: 13px;
    transition: all 0.2s;
}

.tag-item:hover {
    background: rgba(99,102,241,0.15);
}

.no-tags {
    color: #9ca3af;
    font-size: 14px;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.share-btn:hover {
    background: rgba(99,102,241,0.1);
}

.share-btn svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.share-btn:hover svg {
    color: #6366f1;
}

.subscribe-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.subscribe-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.subscribe-input:focus {
    border-color: #6366f1;
}

.subscribe-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* ========== Friends Grid ========== */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.friend-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.friend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(31, 38, 135, 0.1);
}

.friend-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    flex-shrink: 0;
}

.friend-info {
    flex: 1;
}

.friend-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.friend-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* ========== 404 Page ========== */
.error-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.error-message {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Comments ========== */
.comments-box {
    margin-top: 40px;
    padding: 28px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(99,102,241,0.1);
}

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

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.06);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(99,102,241,0.2);
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.comment-date {
    font-size: 12px;
    color: #9ca3af;
    background: rgba(0,0,0,0.03);
    padding: 2px 8px;
    border-radius: 10px;
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    background: rgba(99,102,241,0.03);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 3px solid rgba(99,102,241,0.3);
}

.comment-reply {
    margin-top: 6px;
    font-size: 12px;
}

.comment-actions a,
.comment-reply a {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99,102,241,0.08);
    color: #6366f1;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.comment-actions a:hover,
.comment-reply a:hover {
    background: rgba(99,102,241,0.15);
    color: #4f46e5;
}

.comment-page-nav {
    margin-top: 30px;
}

.comment-page-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.comment-page-nav li a,
.comment-page-nav li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.comment-page-nav li a:hover {
    background: rgba(99,102,241,0.08);
    color: #6366f1;
}

.comment-page-nav li span.current {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(99,102,241,0.2);
}

.respond {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(99,102,241,0.1);
}

.cancel-reply {
    margin-bottom: 12px;
}

.cancel-reply a {
    color: #6366f1;
    text-decoration: none;
    font-size: 13px;
}

.respond-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-textarea,
.comment-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    font-size: 15px;
    color: #374151;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-textarea:focus,
.comment-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.comment-textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-submit {
    padding: 12px 28px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99,102,241,0.4);
}

.comment-closed {
    text-align: center;
    color: #9ca3af;
    padding: 30px 0;
    font-size: 15px;
}

/* ========== Footer ========== */
.site-footer {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    margin-top: 40px;
    padding: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-links li a:hover {
    color: #6366f1;
    padding-left: 4px;
}

.footer-search-form {
    display: flex;
    gap: 0;
}

.footer-search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.08);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: rgba(255,255,255,0.8);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.footer-search-form input:focus {
    border-color: #6366f1;
}

.footer-search-form button {
    width: 44px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-search-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.footer-search-form button svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.icp-info {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.icp-info a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.icp-info a:hover {
    color: #6366f1;
}

/* ========== Back to Top & Utilities ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #6366f1;
    color: white;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #6366f1;
}

/* ========== 网盘二维码卡片 ========== */
.share-qrcode-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 28px;
    margin: 40px 0;
    border: 1px solid rgba(99,102,241,0.15);
    text-align: center;
    box-shadow: 0 8px 24px rgba(99,102,241,0.08);
}

.qrcode-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.qrcode-card-icon {
    font-size: 22px;
}

.qrcode-card-title {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qrcode-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 4px solid #ffffff;
    background: white;
    padding: 8px;
}

.qrcode-tip {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ========== 分类筛选 & 子分类卡片 ========== */
.search-categories {
    margin: 20px 0;
    overflow-x: auto;
}
.categories-filter {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.categories-filter li {
    display: inline-block;
}
.categories-filter li a {
    display: block;
    padding: 8px 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
}
.categories-filter li.active a {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.categories-filter li a:hover {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
}
.categories-filter li.active a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}
.categories-filter span {
    opacity: 0.8;
    font-size: 12px;
    margin-left: 4px;
}

/* 分类页子分类卡片 */
.subcategories-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    margin-bottom: 28px;
}
.subcategories-card .card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.subcategories-card .categories-filter {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.subcategories-card .categories-filter li a {
    display: block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
}
.subcategories-card .categories-filter li a:hover {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
    border-color: rgba(99,102,241,0.2);
}
.subcategories-card .categories-filter li.active a {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* ========== 移动端适配 ========== */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-container.main-post {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .left-sidebar,
    .right-sidebar {
        display: none;
    }
    .friends-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        margin: 0 !important;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        padding: 6px 10px;
        color: #374151;
        user-select: none;
    }

    .nav-links {
        display: none !important;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 12px;
        max-height: 70vh;
        overflow-y: auto;
        background: rgba(255,255,255,0.7);
        border-radius: 12px;
        padding: 8px 0;
    }

    .navbar.nav-open .nav-links {
        display: flex !important;
    }

    .nav-links > a,
    .nav-item-cat > a {
        display: block;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        color: #374151;
        font-size: 16px;
        text-decoration: none;
    }

    .sub-category,
    .sub-sub-category {
        display: none;
        position: static !important;
        width: 100% !important;
        left: auto !important;
        padding-left: 24px;
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-item-cat.has-children.active > .sub-category,
    .sub-category li.has-children.active > .sub-sub-category {
        display: block;
    }

    .nav-right {
        width: 100%;
        margin-top: 12px;
        display: flex;
        gap: 12px;
        padding: 0 16px 12px;
    }

    .page-container {
        padding: 16px;
        padding-top: 70px;
    }

    .main-container,
    .main-container.main-post {
        padding: 24px;
        margin-top: 0 !important;
        padding-top: 16px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-title {
        font-size: 32px;
    }
    .glass-cube-wrapper {
        width: 200px;
        height: 200px;
    }
    .glass-cube {
        width: 140px;
        height: 140px;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    .article-title-large {
        font-size: 24px;
    }
    .article-meta-row {
        flex-wrap: wrap;
    }
    .error-code {
        font-size: 80px;
    }
    .error-title {
        font-size: 24px;
    }
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    .error-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .site-footer {
        padding: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .comment-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .articles-grid {
        gap: 16px;
    }
    .article-image {
        height: 180px;
    }
}