/* 继承主样式 */
@import url('./main.css');

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航样式 */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section h1 {
    font-size: 24px;
    margin: 0;
}

.logo-link {
    text-decoration: none;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(168, 237, 234, 0.1);
    color: var(--primary);
}

.nav-item.cta-btn {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--dark);
}

/* 主内容 */
.main-content {
    flex: 1;
    padding-top: 20px;
}

/* 页面头部 */
.page-hero {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: var(--dark);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.8;
}

/* 创作者概况 */
.creators-overview {
    padding: 60px 0;
    background: var(--gray);
}

.creators-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-note {
    font-size: 14px;
    color: #666;
}

/* 作者展示 */
.authors-showcase {
    padding: 80px 0;
}

.author-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.author-card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.author-card.featured {
    border: 2px solid #ffd700;
}

.author-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 1;
}

.author-badge.gold {
    background: #ffd700;
    color: var(--dark);
}

.author-badge.fire {
    background: #ff4444;
}

.author-badge.rising {
    background: #4ecdc4;
}

.author-badge.mystery {
    background: #6c757d;
}

.author-avatar {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.author-info {
    padding: 30px;
}

.author-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-specialty {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.author-bio {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.author-achievements {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.achievement {
    background: rgba(168, 237, 234, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.author-works h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.work-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.work-item {
    background: var(--gray);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

/* 扶持计划 */
.creator-support {
    padding: 80px 0;
    background: var(--gray);
}

.support-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.program-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.program-benefits {
    list-style: none;
    text-align: left;
}

.program-benefits li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.program-benefits li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* 页脚 */
.main-footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
    margin-top: auto;
}

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

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-desc {
    line-height: 1.7;
    color: #bbb;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 8px;
    color: #bbb;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .creators-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .author-stats {
        grid-template-columns: 1fr;
    }
    
    .support-programs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* 动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.author-card {
    animation: slideInUp 0.6s ease forwards;
}

.author-card:nth-child(even) {
    animation-delay: 0.1s;
}

.program-card {
    animation: slideInUp 0.6s ease forwards;
}

.program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card:nth-child(3) {
    animation-delay: 0.4s;
}