/*
Theme Name: AI数字人创作平台主题
Description: 专为AI数字人创作平台设计的现代化WordPress主题，完全按照目标截图设计
Author: 您的名字
Version: 5.0.0
Text Domain: custom-theme
*/

/* 导入现代字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700;800&display=swap');

/* CSS 变量定义 */
:root {
    /* 主色调 */
    --primary-blue: #4285f4;
    --primary-orange: #ff6b35;
    --gradient-start: #1e3c72;
    --gradient-end: #ff6b35;
    
    /* 功能色 */
    --orange: #ff6b35;
    --pink: #ff69b4;
    --yellow: #ffc107;
    --purple: #9c27b0;
    --green: #4caf50;
    --red: #f44336;
    --red-dark: #d32f2f;
    --purple-dark: #7b1fa2;
    --orange-light: #ffab91;
    --orange-red: #ff5722;
    --purple-light: #ce93d8;
    --orange-alt: #ff9800;
    
    /* 中性色 */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #9aa0a6;
    --gray-500: #5f6368;
    --gray-600: #3c4043;
    --gray-700: #202124;
    --gray-800: #1a1a1a;
    --gray-900: #000000;
    
    /* 文字颜色 */
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-muted: #9aa0a6;
    --text-white: #ffffff;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-sidebar: #faf7f7;
    
    /* 阴影系统 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    
    /* 玻璃质感 */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-backdrop: blur(20px) saturate(180%);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    /* 字体 */
    --font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 字体大小 */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 32px;
    
    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 链接样式 */
a {
    color: inherit;
    text-decoration: none;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 头部样式保持不变 */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* 品牌Logo */
.site-branding .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-blue);
    font-weight: 500;
    font-size: var(--text-lg);
}

.brand-icon {
    font-size: var(--text-xl);
}

.brand-text {
    font-weight: 600;
}

/* 主导航 */
.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.main-navigation .nav-item a {
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.main-navigation .nav-item.active a,
.main-navigation .nav-item a:hover {
    background: var(--bg-secondary);
    color: var(--primary-blue);
}

/* 头部操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

/* 搜索框 */
.search-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-300);
    min-width: 200px;
}

.search-icon {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* 搜索结果样式 */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: var(--space-1);
    border: 1px solid var(--gray-200);
}

.search-result-item {
    padding: var(--space-3);
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.search-result-item:hover {
    background-color: var(--gray-50);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: white;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
    font-size: var(--text-sm);
}

.search-result-description {
    font-size: var(--text-xs);
    color: var(--gray-600);
    line-height: 1.4;
}

.search-result-type {
    display: inline-block;
    background: var(--orange);
    color: white;
    font-size: var(--text-xs);
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    margin-top: var(--space-1);
}

.search-loading {
    padding: var(--space-4);
    text-align: center;
    color: var(--gray-600);
}

.search-no-results {
    padding: var(--space-4);
    text-align: center;
    color: var(--gray-600);
}

.search-error {
    padding: var(--space-4);
    text-align: center;
    color: var(--red-600);
    background-color: var(--red-50);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-4);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--blue);
    font-size: var(--text-sm);
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-error {
    border-left-color: var(--red);
    background-color: var(--red-50);
}

.notification-success {
    border-left-color: var(--green);
    background-color: var(--green-50);
}

.notification-warning {
    border-left-color: var(--orange);
    background-color: var(--orange-50);
}

.notification i {
    margin-right: var(--space-2);
}

/* 其他头部元素 */
.api-platform,
.power-indicator,
.language-switcher {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.power-indicator i {
    color: var(--orange);
}

/* 登录按钮 */
.login-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: #ff5722;
}

/* 平台主容器 */
.platform-container {
    display: flex;
    min-height: calc(100vh - 64px);
    background: var(--bg-secondary);
}

/* 左侧导航栏 */
.left-navigation {
    width: 240px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--gray-200);
    padding: var(--space-4);
    overflow-y: auto;
    flex-shrink: 0;
}

/* 创建视频按钮 */
.create-video-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--orange), #ff5722);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    transition: all 0.3s ease;
    font-size: var(--text-base);
}

.create-video-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 侧边导航 */
.side-nav {
    font-size: var(--text-sm);
}

.nav-list,
.nav-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.nav-item:hover {
    background: rgba(255, 107, 53, 0.1);
}

.nav-item.active {
    background: rgba(255, 107, 53, 0.15);
    color: var(--orange);
}

.nav-item i {
    width: 16px;
    text-align: center;
    font-size: var(--text-sm);
}

.nav-group {
    margin: var(--space-6) 0;
}

.nav-group-title {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: var(--space-3);
    padding-left: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 主内容区域 */
.main-content-area {
    flex: 1;
    padding: var(--space-6);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow-y: auto;
    position: relative;
}

.main-content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(34, 197, 94, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.main-content-area > * {
    position: relative;
    z-index: 1;
}

/* 顶部横幅 */
.top-banner {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    position: relative;
    z-index: 1;
    min-height: 200px;
}

.banner-left {
    flex: 2;
    max-width: 60%;
}

.banner-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
    opacity: 0.9;
}

.banner-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.banner-right {
    flex: 1;
    width: 33.333%;
    min-width: 300px;
}

.qr-code {
    text-align: center;
    margin-top: var(--space-4);
}

.qr-code img {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-2);
}

.qr-code p {
    font-size: var(--text-xs);
    margin-top: var(--space-2);
    opacity: 0.8;
}

/* 横幅中的选题广场 */
.topics-section-banner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    height: auto;
    min-height: 240px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}





.topics-section-banner .topic-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
    margin-top: 0;
}

.topics-section-banner .tab {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.15);
    border: none;
}

.topics-section-banner .tab.active,
.topics-section-banner .tab:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.topics-section-banner .trending-topics {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}

.topics-section-banner .topic-item {
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
    padding: var(--space-1) 0;
}

.topics-section-banner .topic-number {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 600;
    flex-shrink: 0;
}

.topics-section-banner .topic-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 400;
}

.topics-section-banner .topic-text:hover {
    color: var(--white);
}

/* AIGC工具集 */
.aigc-tools {
    margin-bottom: var(--space-8);
}

.aigc-tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

/* 大型工具卡片（第一行） */
.aigc-tool-card.large {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    grid-column: span 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 200px;
    position: relative;
    box-sizing: border-box;
}

.aigc-tool-card.large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: var(--radius-xl);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.aigc-tool-card.large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.3);
}

.aigc-tool-card.large:hover::before {
    opacity: 1;
}

.aigc-tool-card.large .tool-content {
    height: 95px;
    display: flex;
    flex-direction: column;
}

.aigc-tool-card.large .tool-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    line-height: 1.3;
}

.aigc-tool-card.large .tool-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.4;
    min-height: 40px;
}

.try-btn {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0.12) 100%);
    color: var(--orange);
    border: none;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
    flex-shrink: 0;
    margin-left: var(--space-2);
}

.try-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.2) 100%);
    color: #ff5722;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.aigc-tool-card .tool-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 87px;
    position: relative;
}

.aigc-tool-card .tool-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aigc-tool-card .tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) saturate(1.1);
}

.aigc-tool-card:hover .tool-image img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1) saturate(1.2);
}

.aigc-tool-card:hover .tool-image::before {
    opacity: 1;
}

.aigc-tool-card .tool-icon-display {
    height: 87px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.aigc-tool-card .tool-icon-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.aigc-tool-card:hover .tool-icon-display::before {
    opacity: 1;
}

.aigc-tool-card .tool-icon-display img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
}

/* 中型工具卡片 */
.aigc-tool-card.medium {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    grid-column: span 1;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    height: 160px;
    position: relative;
    box-sizing: border-box;
}

.aigc-tool-card.medium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.aigc-tool-card.medium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.1);
}

.aigc-tool-card.medium:hover::after {
    transform: scaleX(1);
}

.aigc-tool-card.medium .tool-content {
    height: 70px;
    display: flex;
    flex-direction: column;
}

.aigc-tool-card.medium .tool-content h3 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.aigc-tool-card.medium .tool-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    flex: 1;
}

.aigc-tool-card.medium .tool-image {
    height: 70px;
}

.aigc-tool-card.medium .tool-icon-display {
    height: 70px;
}

/* 更多功能特殊样式 */
.aigc-tool-card.more-features {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(248, 250, 252, 0.5) 100%);
    border: 2px dashed rgba(156, 163, 175, 0.4);
    position: relative;
    overflow: hidden;
}

.aigc-tool-card.more-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(156, 163, 175, 0.05) 10px,
        rgba(156, 163, 175, 0.05) 20px
    );
    pointer-events: none;
}

.aigc-tool-card.more-features .tool-content h3 {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.aigc-tool-card.more-features .tool-content p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.aigc-tool-card.more-features:hover {
    border-color: rgba(156, 163, 175, 0.6);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
}

/* 网格布局调整 */
.aigc-tools-grid .aigc-tool-card:nth-child(1),
.aigc-tools-grid .aigc-tool-card:nth-child(2),
.aigc-tools-grid .aigc-tool-card:nth-child(3),
.aigc-tools-grid .aigc-tool-card:nth-child(4) {
    grid-column: span 1;
}

/* 通知栏 */
.notification-strip {
    background: rgba(255, 243, 205, 0.8);
    border: 1px solid #ffd54f;
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
}

.notification-strip i {
    color: var(--orange);
    flex-shrink: 0;
}

.notification-strip span {
    flex: 1;
    color: var(--text-secondary);
}

.help-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

/* 四个主功能卡片 */
.main-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    border-radius: var(--radius-xl);
    transition: opacity 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.orange::before {
    background: linear-gradient(135deg, var(--orange), #ff5722);
}

.feature-card.pink::before {
    background: linear-gradient(135deg, var(--pink), #e91e63);
}

.feature-card.orange-light::before {
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
}

.feature-card.purple::before {
    background: linear-gradient(135deg, var(--purple), #673ab7);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 107, 53, 0.1);
}

.feature-card:hover::before {
    opacity: 0.15;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
        border-radius: var(--radius-lg);
        display: flex;
    align-items: center;
        justify-content: center;
    color: var(--white);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.feature-card.orange .feature-icon {
    background: linear-gradient(135deg, var(--orange), #ff5722);
}

.feature-card.pink .feature-icon {
    background: linear-gradient(135deg, var(--pink), #e91e63);
}

.feature-card.orange-light .feature-icon {
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
}

.feature-card.purple .feature-icon {
    background: linear-gradient(135deg, var(--purple), #673ab7);
}

.feature-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.feature-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* 快捷导航 */
.quick-navigation {
    margin-bottom: var(--space-8);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange) 0%, #ff6b35 100%);
    border-radius: var(--radius-sm);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.tool-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.08);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-lg);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.tool-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: var(--radius-xl);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 工具卡片颜色 */
.tool-card.orange .tool-icon {
    background: linear-gradient(135deg, var(--orange), #ff5722);
}

.tool-card.red .tool-icon {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.tool-card.yellow .tool-icon {
    background: linear-gradient(135deg, var(--yellow), #ffa000);
}

.tool-card.purple .tool-icon {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.tool-card.green .tool-icon {
    background: linear-gradient(135deg, var(--green), #388e3c);
}

.tool-card.pink .tool-icon {
    background: linear-gradient(135deg, var(--pink), #e91e63);
}

.tool-card.red-dark .tool-icon {
    background: linear-gradient(135deg, var(--red-dark), #b71c1c);
}

.tool-card.purple-dark .tool-icon {
    background: linear-gradient(135deg, var(--purple-dark), #4a148c);
}

.tool-card.orange-light .tool-icon {
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
}

.tool-card.orange-red .tool-icon {
    background: linear-gradient(135deg, var(--orange-red), #d84315);
}

.tool-card.purple-light .tool-icon {
    background: linear-gradient(135deg, var(--purple-light), var(--purple));
}

.tool-card.orange-alt .tool-icon {
    background: linear-gradient(135deg, var(--orange-alt), #f57c00);
}

.tool-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.tool-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}



/* 响应式设计 */
@media (max-width: 1200px) {
    .platform-container {
        flex-direction: column;
    }
    
    .left-navigation {
        width: 100%;
        order: 2;
        border-right: none;
        border-top: 1px solid var(--gray-200);
    }
    
    .main-content-area {
        order: 1;
    }
    
    .banner-content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .main-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .aigc-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-actions {
        gap: var(--space-3);
    }
    
    .search-wrapper {
        min-width: 150px;
    }
    
    .api-platform,
    .power-indicator,
    .language-switcher {
        display: none;
    }
    
    .banner-title {
        font-size: var(--text-3xl);
    }
    
    .main-features-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aigc-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card,
    .tool-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
}

@media (max-width: 480px) {
    .platform-container {
        padding: 0;
    }
    
    .main-content-area {
        padding: var(--space-4);
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .aigc-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        padding: var(--space-4);
    }
    
    .banner-title {
        font-size: var(--text-2xl);
    }
}

/* 文章页面样式 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-8);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.article-main {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.article-content {
    padding: var(--space-8);
}

/* 面包屑导航 */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.breadcrumb-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--orange);
}

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* 文章标题 */
.article-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--orange);
}

.topic-badge {
    background: linear-gradient(135deg, var(--orange) 0%, #ff6b35 100%);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
}

.topic-badge.topic-hot {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.topic-badge.topic-knowledge {
    background: linear-gradient(135deg, #3c40c6 0%, #2f3542 100%);
}

.topic-badge.topic-character {
    background: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
}

/* 文章内容 */
.article-body {
    margin-bottom: var(--space-8);
}

.article-featured-image {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    line-height: 1.8;
    font-size: var(--text-base);
    color: var(--text-primary);
}

.article-text h2,
.article-text h3,
.article-text h4,
.article-text h5,
.article-text h6 {
    margin: var(--space-6) 0 var(--space-4) 0;
    color: var(--text-primary);
    font-weight: 600;
}

.article-text h2 {
    font-size: var(--text-2xl);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--orange);
}

.article-text h3 {
    font-size: var(--text-xl);
}

.article-text h4 {
    font-size: var(--text-lg);
}

.article-text p {
    margin-bottom: var(--space-4);
}

.article-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

.article-text blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--orange);
    padding: var(--space-4);
    margin: var(--space-4) 0;
    border-radius: var(--radius-md);
    font-style: italic;
}

.article-text ul,
.article-text ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.article-text li {
    margin-bottom: var(--space-2);
}

.article-text code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

.article-text pre {
    background: var(--bg-secondary);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: var(--space-4) 0;
}

/* 分页链接 */
.page-links {
    margin: var(--space-6) 0;
    text-align: center;
}

.page-number {
    display: inline-block;
    padding: var(--space-2) var(--space-3);
    margin: 0 var(--space-1);
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.page-number:hover {
    background: #ff5722;
}

/* 文章标签 */
.article-tags {
    margin-bottom: var(--space-8);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.tags-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-primary);
}

.tags-title i {
    color: var(--orange);
}

.tags-list a {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    margin: 0 var(--space-1) var(--space-2) 0;
    background: var(--white);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all 0.2s ease;
    border: 1px solid var(--gray-200);
}

.tags-list a:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

/* 文章导航 */
.article-navigation {
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.nav-link {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

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

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

.nav-label {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-title {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-title:hover {
    color: var(--orange);
}

/* 相关文章 */
.related-articles {
    margin-bottom: var(--space-8);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.related-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-image {
    height: 120px;
    overflow: hidden;
}

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

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: var(--space-4);
}

.related-title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    line-height: 1.4;
}

.related-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.related-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* 侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--orange);
}

.widget-title i {
    color: var(--orange);
}

/* 目录导航 */
.toc-list {
    list-style: none;
    padding: 0;
}

.toc-item {
    margin-bottom: var(--space-1);
}

.toc-level-1 {
    margin-left: 0;
}

.toc-level-2 {
    margin-left: var(--space-4);
}

.toc-level-3 {
    margin-left: var(--space-6);
}

.toc-level-4 {
    margin-left: var(--space-8);
}

.toc-link {
    display: block;
    padding: var(--space-1) var(--space-2);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    transition: all 0.2s ease;
}

.toc-link:hover {
    background: var(--orange);
    color: var(--white);
}

.no-toc {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* 热门文章 */
.popular-list,
.recent-list {
    list-style: none;
    padding: 0;
}

.popular-item,
.recent-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
    margin-bottom: var(--space-2);
}

.popular-item:hover,
.recent-item:hover {
    background: var(--bg-secondary);
}

.popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--text-xs);
    font-weight: 600;
    flex-shrink: 0;
}

.popular-link,
.recent-link {
    flex: 1;
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-sm);
    line-height: 1.4;
}

.popular-link:hover,
.recent-link:hover {
    color: var(--orange);
}

.popular-views {
    font-size: var(--text-xs);
    color: var(--text-muted);
    flex-shrink: 0;
}

.recent-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    flex-shrink: 0;
}

/* 评论区域 */
.comments-section {
    background: var(--bg-secondary);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-top: var(--space-6);
}

.comments-area {
    margin-top: var(--space-6);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--orange);
}

.comments-title i {
    color: var(--orange);
}

/* 评论列表 */
.comment-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-8);
}

.comment-list .comment {
    margin-bottom: var(--space-6);
}

.comment-body {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.comment-body:hover {
    box-shadow: var(--shadow-md);
}

.comment-meta {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.comment-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-metadata {
    flex: 1;
}

.comment-metadata .fn {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.comment-metadata .fn:hover {
    color: var(--orange);
}

.comment-time {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

.comment-time i {
    color: var(--orange);
}

.comment-awaiting-moderation {
    background: #fff3cd;
    color: #856404;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

.comment-content {
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.comment-content p {
    margin-bottom: var(--space-3);
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--gray-200);
}

.comment-actions a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.comment-actions a:hover {
    color: var(--orange);
}

.comment-actions i {
    font-size: 12px;
}

/* 子评论 */
.comment-list .children {
    list-style: none;
    margin-left: var(--space-8);
    margin-top: var(--space-4);
    padding-left: var(--space-4);
    border-left: 3px solid var(--gray-200);
}

/* 评论导航 */
.comment-navigation {
    margin: var(--space-6) 0;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-navigation a {
    color: var(--primary-blue);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.comment-navigation a:hover {
    background: var(--orange);
    color: var(--white);
}

/* 评论表单 */
.comment-respond {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.comment-reply-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.comment-reply-title i {
    color: var(--orange);
}

.comment-form {
    display: grid;
    gap: var(--space-4);
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.comment-form .required {
    color: var(--orange);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--white);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-submit {
    margin-top: var(--space-4);
}

.submit-btn {
    background: linear-gradient(135deg, var(--orange) 0%, #ff6b35 100%);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff4500 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.no-comments {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: var(--space-8);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

/* 页面模板样式 */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-8);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.page-main {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.page-content {
    padding: var(--space-8);
}

.page-header {
    margin-bottom: var(--space-8);
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.page-body {
    margin-bottom: var(--space-6);
}

.page-featured-image {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-text {
    line-height: 1.8;
    font-size: var(--text-base);
    color: var(--text-primary);
}

.page-text h2,
.page-text h3,
.page-text h4,
.page-text h5,
.page-text h6 {
    margin: var(--space-6) 0 var(--space-4) 0;
    color: var(--text-primary);
    font-weight: 600;
}

.page-text h2 {
    font-size: var(--text-2xl);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--orange);
}

.page-text p {
    margin-bottom: var(--space-4);
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.pages-list {
    list-style: none;
    padding: 0;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
    margin-bottom: var(--space-2);
}

.page-item:hover {
    background: var(--bg-secondary);
}

.page-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-sm);
    line-height: 1.4;
}

.page-link:hover {
    color: var(--orange);
}

.page-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--orange);
    width: 16px;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--orange);
}

.page-navigation {
    margin-top: var(--space-3);
}

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

.page-nav-list li {
    margin-bottom: var(--space-1);
}

.page-nav-list a {
    display: block;
    padding: var(--space-2);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.page-nav-list a:hover {
    background: var(--orange);
    color: var(--white);
}

/* 404错误页面样式 */
.error-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-8);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.error-main {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-8);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-header {
    margin-bottom: var(--space-8);
}

.error-icon {
    font-size: 4rem;
    color: var(--orange);
    margin-bottom: var(--space-4);
}

.error-title {
    font-size: 6rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1;
    background: linear-gradient(135deg, var(--orange) 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-subtitle {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.error-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

.error-search {
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.search-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.search-title i {
    color: var(--orange);
}

.search-form {
    max-width: 400px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-field {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: none;
    font-size: var(--text-base);
    background: transparent;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    background: linear-gradient(135deg, var(--orange) 0%, #ff6b35 100%);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.search-submit:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff4500 100%);
}

.error-navigation {
    margin-bottom: var(--space-6);
}

.nav-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.nav-title i {
    color: var(--orange);
}

.nav-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--white);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: var(--shadow-md);
}

.nav-btn.home-btn:hover {
    background: var(--orange);
    color: var(--white);
}

.nav-btn i {
    font-size: var(--text-sm);
}

.error-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.tool-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange);
    padding: var(--space-3);
    transition: all 0.2s ease;
}

.tool-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.tool-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tool-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.tool-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* 404和无内容页面 */
.no-content {
    text-align: center;
    padding: var(--space-8);
}

.btn-home {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    transition: background 0.2s ease;
}

.btn-home:hover {
    background: #ff5722;
}

/* 文章页面响应式 */
@media (max-width: 1200px) {
    .article-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: var(--space-4);
    }
    
    .article-sidebar {
        order: -1;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: var(--space-6);
    }
    
    .article-title {
        font-size: var(--text-3xl);
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .breadcrumb-nav {
        flex-wrap: wrap;
    }
    
    /* 页面模板响应式 */
    .page-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: var(--space-4);
    }
    
    .page-content {
        padding: var(--space-6);
    }
    
    .page-title {
        font-size: var(--text-3xl);
    }
    
    .page-sidebar {
        order: -1;
    }
    
    /* 404页面响应式 */
    .error-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: var(--space-4);
    }
    
    .error-main {
        padding: var(--space-6);
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: var(--text-xl);
    }
    
    .nav-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .error-sidebar {
        order: -1;
    }
}

/* 页脚样式 */
.site-footer {
    background: var(--gray-700);
    color: var(--text-white);
    padding: var(--space-8) 0 var(--space-4) 0;
    margin-top: var(--space-16);
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.footer-info {
    text-align: center;
        font-size: var(--text-sm);
    color: var(--gray-400);
}

.footer-info a {
    color: var(--primary-blue);
}

.footer-info a:hover {
    text-decoration: underline;
} 