/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #667eea;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.user-actions {
    display: flex;
    gap: 10px;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.login-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #667eea;
}

.login-btn:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

.register-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1.1rem;
    padding: 12px 30px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    font-size: 1.1rem;
    padding: 10px 30px;
}

.secondary-btn:hover {
    background-color: #667eea;
    color: #fff;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-content {
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1;
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IiM2NjdlZWEiIHN0cm9rZS13aWR0aD0iMSIgb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiAvPjwvc3ZnPg==');
    animation: animate 20s linear infinite;
}

@keyframes animate {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-40px) translateY(-40px);
    }
}

/* 热门作品展示样式 */
.featured-works {
    padding: 100px 0;
    background-color: #fff;
}

.featured-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.work-info p {
    color: #666;
    margin-bottom: 15px;
}

.work-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

.work-stats i {
    margin-right: 5px;
    color: #667eea;
}

/* 学习资源推荐样式 */
.learning-resources {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.learning-resources h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotate(5deg);
}

.resource-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.resource-card p {
    color: #666;
    margin-bottom: 20px;
}

.resource-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.resource-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.resource-link:hover::after {
    width: 100%;
}

/* 统计数据样式 */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* 页脚样式 */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section p {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-section ul li {
    margin-bottom: 0;
    color: #e0e0e0;
}

.footer-section ul li i {
    margin-right: 10px;
    color: #667eea;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #667eea;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-links {
        margin: 15px 0;
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-works h2,
    .learning-resources h2 {
        font-size: 2rem;
    }
    
    .works-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.3rem;
    color: #e0e0e0;
}

/* 教程分类样式 */
.tutorial-categories {
    background-color: #fff;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 900;
}

.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background-color: #f5f7fa;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #e0e0e0;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

/* 教程内容样式 */
.tutorial-content {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.tutorial-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tutorial-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.tutorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tutorial-card:hover .tutorial-image img {
    transform: scale(1.1);
}

.tutorial-duration {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tutorial-info {
    padding: 25px;
}

.tutorial-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.tutorial-info p {
    color: #666;
    margin-bottom: 15px;
}

.tutorial-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 20px;
}

.tutorial-meta i {
    margin-right: 5px;
    color: #667eea;
}

.tutorial-btn {
    width: 100%;
}

/* 学习路径样式 */
.learning-path {
    padding: 100px 0;
    background-color: #fff;
}

.learning-path h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.path-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.path-step {
    background-color: #f5f7fa;
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.path-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}

.path-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.path-step p {
    color: #666;
    margin-bottom: 20px;
}

.path-step ul {
    list-style: none;
}

.path-step ul li {
    margin-bottom: 10px;
    color: #333;
    position: relative;
    padding-left: 20px;
}

.path-step ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 标签面板样式 */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 社区功能区样式 */
.community-features {
    background-color: #fff;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.create-btn,
.discuss-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 作品展示区样式 */
.community-works {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.filter-buttons,
.sort-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn,
.sort-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    background-color: #f5f7fa;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.sort-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active,
.sort-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-info {
    padding: 20px;
}

.work-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #1a1a2e;
}

.work-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.work-info p {
    color: #666;
    margin-bottom: 15px;
}

.work-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

.work-stats i {
    margin-right: 5px;
    color: #667eea;
}

/* 讨论区样式 */
.community-discussions {
    padding: 80px 0;
    background-color: #fff;
}

.discussions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.discussion-item {
    background-color: #f5f7fa;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.discussion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.discussion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.discussion-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.post-time {
    font-size: 0.8rem;
    color: #999;
}

.discussion-category {
    padding: 5px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.discussion-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.discussion-content {
    color: #666;
    margin-bottom: 15px;
}

.discussion-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

.discussion-stats i {
    margin-right: 5px;
    color: #667eea;
}

/* 资源搜索和筛选样式 */
.resource-search {
    background-color: #fff;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 300px;
    padding: 12px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 资源列表样式 */
.resource-list {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.resource-info p {
    color: #666;
    margin-bottom: 15px;
}

.resource-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 20px;
}

.resource-meta i {
    margin-right: 5px;
    color: #667eea;
}

.resource-size {
    background-color: #f0f0f0;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.download-btn {
    width: 100%;
}

/* 热门资源样式 */
.popular-resources {
    padding: 80px 0;
    background-color: #fff;
}

.popular-resources h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.popular-card {
    background-color: #f5f7fa;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.popular-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.popular-rank {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.popular-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.popular-info p {
    color: #666;
    margin-bottom: 15px;
}

.popular-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

.popular-stats i {
    margin-right: 5px;
    color: #667eea;
}

/* 个人信息样式 */
.profile-info {
    padding: 60px 0;
    background-color: #fff;
}

.profile-header {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f5f7fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details {
    flex: 1;
    min-width: 300px;
}

.profile-details h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.profile-bio {
    color: #666;
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.profile-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.profile-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 学习进度样式 */
.learning-progress {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.learning-progress h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.progress-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.progress-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

.progress-percentage,
.progress-count,
.progress-level {
    font-weight: 700;
    color: #667eea;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
    transition: width 1s ease;
}

.recent-courses h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.course-info {
    flex: 1;
    min-width: 200px;
}

.course-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.course-info p {
    color: #666;
    font-size: 0.9rem;
}

.course-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.progress-bar.small {
    width: 150px;
    height: 6px;
}

.progress-text {
    font-weight: 600;
    color: #667eea;
    min-width: 50px;
}

/* 我的作品样式 */
.my-works {
    padding: 80px 0;
    background-color: #fff;
}

.my-works .section-header {
    margin-bottom: 40px;
}

.my-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background-color: #f5f7fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.work-info p {
    color: #666;
    margin-bottom: 15px;
}

.work-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.work-stats i {
    margin-right: 5px;
    color: #667eea;
}

.work-actions {
    display: flex;
    gap: 10px;
}

.btn.small {
    padding: 6px 15px;
    font-size: 0.9rem;
}

/* 我的收藏样式 */
.my-collections {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.my-collections h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.collection-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    padding: 20px;
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.collection-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-info {
    flex: 1;
}

.collection-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.collection-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* 经验分享板块样式 */
.experience-sharing {
    padding: 100px 0;
    background-color: #fff;
}

.experience-sharing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.experience-card {
    background-color: #f5f7fa;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.experience-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.experience-content p {
    color: #666;
    margin-bottom: 15px;
}

.experience-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #999;
    flex-wrap: wrap;
}

.experience-meta i {
    margin-right: 5px;
    color: #667eea;
}

/* 前沿技术板块样式 */
.technology-news {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.technology-news h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tech-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tech-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tech-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.tech-card p {
    color: #666;
    margin-bottom: 20px;
}

.tech-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #999;
}

.tech-tag {
    background-color: #f0f0f0;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* 变现途径板块样式 */
.monetization {
    padding: 100px 0;
    background-color: #fff;
}

.monetization h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.monetization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.monetization-card {
    background-color: #f5f7fa;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.monetization-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.monetization-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 2rem;
}

.monetization-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.monetization-card p {
    color: #666;
    margin-bottom: 20px;
}

.monetization-stats {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.income {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 板块头部样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 10px;
}

/* 作品作者信息样式 */
.work-author {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.author-name {
    color: #667eea;
    font-weight: 600;
}

.post-time {
    color: #999;
}

/* 变现详情样式 */
.monetization-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: left;
}

.monetization-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.monetization-details ul {
    list-style: none;
    padding: 0;
}

.monetization-details ul li {
    margin-bottom: 5px;
    color: #666;
    padding-left: 15px;
    position: relative;
}

.monetization-details ul li::before {
    content: '•';
    color: #667eea;
    position: absolute;
    left: 0;
}

/* 成功案例样式 */
.success-stories {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.success-stories h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a2e;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 2.5rem;
}

.story-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.story-card p {
    color: #666;
    margin-bottom: 20px;
}

.story-stats {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.story-stats span {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 作品筛选样式 */
.works-filter {
    background-color: #fff;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background-color: transparent;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
}

.works-list {
    padding: 80px 0;
    background-color: #f5f7fa;
}