/* 海角网全局样式 */
.oceanlife-explorer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section 动画效果 */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.1)" d="M0 50 Q 25 30, 50 50 T 100 50 L 100 100 L 0 100 Z"/></svg>') bottom center no-repeat;
    background-size: cover;
}

/* 卡片悬停效果 */
.category-card, .article-card {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.category-card:hover, .article-card:hover {
    transform: translateY(-5px);
}

/* 搜索框动画 */
.search-bar input:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

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

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    
    .category-card, .article-card {
        animation: fadeInUp 0.6s ease-out;
    }
}

/* SEO优化类名 */
.seo-optimized {
    position: relative;
}

.seo-content {
    line-height: 1.8;
}

.seo-image {
    object-fit: cover;
}

.seo-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}