* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Header */
header {
    background: rgba(0,0,0,0.3);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
}

.update-time {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* Main */
main {
    padding: 40px 0;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.news-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.category-模型发布 { background: #7c3aed; }
.category-产品发布 { background: #059669; }
.category-行业动态 { background: #dc2626; }
.category-论文研究 { background: #2563eb; }
.category-技巧观点 { background: #d97706; }
.category-技巧与观点 { background: #d97706; }
.category-tip { background: #d97706; }
.category-ai-models { background: #7c3aed; }
.category-ai-products { background: #059669; }
.category-industry { background: #dc2626; }
.category-paper { background: #2563eb; }

.news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: #fff;
    text-decoration: none;
}

.news-title a:hover {
    color: #00d4ff;
}

.news-desc {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.news-meta {
    font-size: 0.8rem;
    color: #666;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.music-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.music-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.music-card audio {
    width: 100%;
    margin-top: 10px;
}

.music-card p {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
    font-size: 0.9rem;
}

footer a {
    color: #00d4ff;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    .news-grid, .gallery, .music-grid { grid-template-columns: 1fr; }
}
