/* 主样式文件 - 商业级设计 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --accent: #10b981;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    font-family: 'KaiTi', '楷体', 'STKaiti', 'SimSun', '宋体', serif;
}

.nav-logo:hover {
    color: white;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.logo-text {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 30%, #c084fc 60%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: white;
    background: rgba(99, 102, 241, 0.2);
    text-decoration: none;
}

.nav-link.active {
    color: white;
    background: rgba(99, 102, 241, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: rgba(255, 255, 255, 0.8);
}

/* 主页内容 */
.main-content {
    margin-top: 72px;
}

/* 个人介绍区域 */
.hero-section {
    background: #0a0f1a;
    color: white;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 72px);
    display: none;
}

/* 动态背景效果 */
.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 12s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -4s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

.bg-orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    top: 60%;
    left: 20%;
    animation-delay: -6s;
}

.bg-orb-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: 20%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(8%, -8%) scale(1.15);
        opacity: 0.7;
    }
    50% {
        transform: translate(-5%, 5%) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(5%, 8%) scale(1.1);
        opacity: 0.6;
    }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-section.active {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

@keyframes particleFloat1 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -150px);
        opacity: 0;
    }
}

@keyframes particleFloat2 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-80px, 120px);
        opacity: 0;
    }
}

@keyframes particleFloat3 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(120px, 80px);
        opacity: 0;
    }
}

.particle {
    will-change: transform, opacity;
}

.particle:nth-child(3n) {
    animation-name: particleFloat1;
}

.particle:nth-child(3n+1) {
    animation-name: particleFloat2;
}

.particle:nth-child(3n+2) {
    animation-name: particleFloat3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 48px;
    font-weight: 700;
    border: 3px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.avatar-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: pulse 2s infinite;
}

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

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.8);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    color: rgba(255,255,255,0.8);
}

.hero-title {
    margin-bottom: 12px;
}

.greeting {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}

.name {
    display: block;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: none;
}

.hero-typing {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    min-height: 28px;
}

.typing-text {
    color: #818cf8;
}

.typing-cursor {
    animation: blink 1s infinite;
    color: #818cf8;
}

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

.hero-description {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-skills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.skill-badge {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.skill-badge:hover {
    background: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.hero-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-link {
    color: rgba(255,255,255,0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-link:hover {
    color: white;
    background: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.5);
}

.link-svg {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: none;
}

/* 数据统计栏 */
.hero-stats-bar {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 50px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 28px;
}

.stat-info {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* 最新文章预览 */
.latest-articles {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
    position: relative;
    z-index: 1;
}

.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.latest-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.latest-more {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.latest-more:hover {
    color: #818cf8;
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.latest-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 22px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
}

.latest-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
    border-color: rgba(99, 102, 241, 0.3);
}

.latest-badge {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.latest-badge.HOT {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.latest-content {
    flex: 1;
    min-width: 0;
}

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

.latest-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.latest-category {
    font-size: 11px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 2px 8px;
    border-radius: 4px;
}

.latest-article-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 4px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-excerpt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-arrow {
    color: rgba(255,255,255,0.3);
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.latest-item:hover .latest-arrow {
    color: #818cf8;
    transform: translateX(4px);
}

.latest-view-all {
    display: none;
}

.hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-link {
    color: white;
    background: rgba(255,255,255,0.08);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
}

.hero-link:hover {
    background: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    text-decoration: none;
    color: white;
    border-color: rgba(99, 102, 241, 0.4);
}

.link-icon {
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* 最新文章预览 */
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px 24px;
}

.latest-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.latest-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.latest-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.latest-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.latest-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.latest-category {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    color: white;
}

.latest-article-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
}

.latest-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-read-more {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
}

.latest-item:hover .latest-read-more {
    color: white;
}

.latest-view-all {
    display: block;
    text-align: center;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.latest-view-all:hover {
    color: white;
    text-decoration: none;
}

/* 通用区域样式 */
.section {
    padding: 80px 0;
    display: none;
    min-height: calc(100vh - 72px);
}

.section.active {
    display: block;
}

.section-dark {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 博客区域 */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.filter-icon {
    font-size: 16px;
}

.blog-stats {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 14px;
}

.stats-text strong {
    color: var(--primary);
    font-weight: 700;
}

.stats-divider {
    margin: 0 12px;
    color: var(--border);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    opacity: 1;
    transform: translateY(0);
}

.blog-card.hidden {
    display: none;
}

.blog-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-light);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(45deg);
    transition: var(--transition);
}

.blog-card:hover .card-image::before {
    transform: rotate(45deg) translate(20%, 20%);
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.card-icon {
    font-size: 64px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: var(--transition);
}

.blog-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 1;
}

.card-content {
    padding: 24px;
}

.card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-date,
.read-time {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-count {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.view-count .count {
    font-weight: 600;
    color: var(--primary);
}

.meta-icon {
    font-size: 14px;
}

.blog-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

.blog-link {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.blog-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.blog-link:hover::after {
    width: 100%;
}

.blog-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
    gap: 12px;
}

.arrow {
    transition: var(--transition);
    display: inline-block;
}

.blog-link:hover .arrow {
    transform: translateX(4px);
}

/* 视频区域 */
.video-search-wrapper {
    max-width: 700px;
    margin: 0 auto 48px;
}

.video-search-box {
    display: flex;
    gap: 12px;
    background: var(--bg);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.video-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.video-search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: var(--text);
}

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

.video-search-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.search-icon {
    font-size: 18px;
}

.video-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.video-cover {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: var(--bg-gray);
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
    line-height: 1.4;
}

.video-meta {
    font-size: 13px;
    color: var(--text-light);
}

.video-player-container {
    margin-top: 40px;
    background: #000;
    border-radius: var(--radius-lg);
    height: 500px;
    min-height: 300px;
    max-height: 70vh;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    transition: height 0.3s ease;
}

.video-detail-container {
    margin-top: 32px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* 关于区域 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    gap: 24px;
    align-items: center;
}

.about-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
}

.about-info {
    flex: 1;
}

.about-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.about-role {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.about-bio {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-section {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.about-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 24px;
}

.about-text {
    color: var(--text-light);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 12px;
}

.about-list {
    margin: 16px 0;
    padding-left: 24px;
}

.about-list li {
    margin-bottom: 8px;
    color: var(--text-light);
}

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

.skill-category h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

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

.skill-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-icon {
    font-size: 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    text-decoration: none;
    transform: translateX(4px);
}

.contact-icon {
    font-size: 20px;
}

.contact-name {
    flex: 1;
    font-weight: 500;
}

.contact-arrow {
    color: var(--text-light);
    transition: var(--transition);
}

.contact-link:hover .contact-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.about-quote {
    font-style: italic;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 16px;
    border-left: 3px solid var(--primary);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

.stat-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.support-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.support-actions {
    display: flex;
    gap: 12px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: white;
    text-decoration: none;
}

/* 底部 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

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

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-link-item:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-link-icon {
    display: flex;
    align-items: center;
}

.footer-link-icon svg {
    width: 14px;
    height: 14px;
}

.github-link {
    color: rgba(255,255,255,0.8);
}

.github-link:hover {
    color: white;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
}

.gitee-link {
    color: rgba(255,255,255,0.8);
}

.gitee-link:hover {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.3);
}

.vpn-link {
    color: #f472b6;
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
}

.vpn-link:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.2);
    border-color: rgba(236, 72, 153, 0.4);
}

.footer-copyright p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 0;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.modal-header .article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.article-toc {
    width: 240px;
    padding: 24px;
    background: var(--bg-gray);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    flex-shrink: 0;
}

.toc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

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

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

.toc-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    text-decoration: none;
}

.toc-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.toc-link.level-3 {
    padding-left: 24px;
    font-size: 13px;
}

.article-main {
    flex: 1;
    padding: 32px 40px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

.reading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: width 0.1s linear;
    z-index: 10;
}

.article-content h2 {
    margin-bottom: 24px;
    color: var(--text);
    font-size: 28px;
    font-weight: 700;
    padding-top: 16px;
}

.article-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    padding-top: 12px;
}

.article-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 16px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text-light);
}

.article-content pre {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    position: relative;
}

.article-content pre::before {
    content: '代码';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 4px;
}

.article-content code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: var(--primary);
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    transition: var(--transition);
}

.article-content a:hover {
    border-bottom-color: transparent;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
    font-style: italic;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article-content th {
    background: var(--bg-gray);
    font-weight: 600;
    color: var(--text);
}

.article-content tr:hover {
    background: rgba(99, 102, 241, 0.02);
}

/* 文章底部操作栏 */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: var(--bg-gray);
    border-top: 1px solid var(--border);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary-light);
    color: var(--primary);
}

.action-btn.liked {
    background: rgba(239, 68, 68, 0.08);
    border-color: #f87171;
    color: #ef4444;
}

.action-icon {
    font-size: 18px;
}

/* 剧集和源选择按钮 */
.episode-list {
    margin-top: 24px;
}

.episode-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.episodes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.episode-btn {
    padding: 10px 18px;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    font-weight: 500;
}

.episode-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-light);
    color: var(--primary);
}

.episode-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.loading-spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

/* 错误状态 */
.error {
    text-align: center;
    padding: 60px;
    color: #ef4444;
}

.retry-btn {
    margin-top: 20px;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.retry-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 空状态 */
.empty {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

/* AI 助手样式 */
.ai-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.ai-chat-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.ai-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.ai-chat-icon {
    font-size: 32px;
}

.ai-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
}

.ai-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 550px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: move;
    user-select: none;
}

.ai-chat-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ai-chat-close:hover {
    background: rgba(255,255,255,0.3);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-message {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.ai-message-user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message-bot {
    align-self: flex-start;
    background: var(--bg-gray);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.ai-message-loading {
    opacity: 0.7;
}

.ai-chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    background: var(--bg);
}

.ai-chat-input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: var(--bg);
}

.ai-chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.ai-chat-send {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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