/* 羞羞漫画自定义样式 */
.comic-section {
    background-color: #f8f9fa;
}
.comic-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}
.comic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.comic-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 6px;
}
.comic-update-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}
.comic-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}
.category-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.nav-link {
    position: relative;
    padding: 8px 0;
    font-weight: 600;
}
.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B35;
    transition: width 0.3s ease;
}
.nav-link:hover:after {
    width: 100%;
}
.rating-stars {
    color: #FFD700;
}
.footer-link {
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #FF6B35;
}
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    position: relative;
    overflow: hidden;
}
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FF6B35;
}
@media (max-width: 768px) {
    .section-title:after {
left: 50%;
transform: translateX(-50%);
    }
}

/* 排行榜样式（调整为暖色调） */
.rank-section {
    background: linear-gradient(145deg, #f8f0f5, #e9d5e0);
    padding: 16px 0;
}
.rank-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 15px;
}
.rank-title h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8a2c5c;
    position: relative;
    padding-bottom: 10px;
}
.rank-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff6b9c;
}
.rank-title a {
    color: #ff6b9c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.rank-title a:hover {
    color: #ff4a85;
}
.rank-list {
    list-style: none;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.rank-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #f1e0e8;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(255, 107, 156, 0.1);
}
.rank-list li:hover {
    background-color: #fef5f8;
    transform: translateX(5px);
}
.rank-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ff6b9c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}
.rank-1 .rank-number {
    background-color: #ffd700;
    color: #333;
}
.rank-2 .rank-number {
    background-color: #c0c0c0;
}
.rank-3 .rank-number {
    background-color: #cd7f32;
}
.rank-comic {
    flex-grow: 1;
}
.rank-comic a {
    color: #5a1f3d;
    text-decoration: none;
    font-weight: 500;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-comic a:hover {
    color: #ff6b9c;
}
.rank-time {
    color: #999;
    font-size: 0.85rem;
    flex-shrink: 0;
}