/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4);
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ff69b4;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff69b4;
}

.user-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff69b4;
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ff69b4;
    color: #ff69b4;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

/* 主要内容区域 */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 首页横幅 */
.hero {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.hero h1 {
    font-size: 3rem;
    color: #ff69b4;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* 漫画网格布局 */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comic-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    transition: transform 0.3s;
}

.comic-card:hover {
    transform: translateY(-5px);
}

.comic-image {
    width: 100%;
    height: 300px;
    background: #ffb6c1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff69b4;
    font-size: 3rem;
}

.comic-info {
    padding: 1rem;
}

.comic-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.comic-author {
    color: #666;
    font-size: 0.9rem;
}

/* 表单样式 */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 400px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ffb6c1;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #ff69b4;
}

/* 用户页面样式 */
.user-profile {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffb6c1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff69b4;
    font-size: 2rem;
}

/* 详情页样式 */
.comic-detail {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.detail-image {
    width: 100%;
    max-width: 400px;
    height: 500px;
    background: #ffb6c1;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff69b4;
    font-size: 4rem;
    border-radius: 10px;
}

/* 页脚样式 */
.footer {
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 2px solid #ffb6c1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .comic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .comic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .comic-image {
        height: 200px;
        font-size: 2rem;
    }
    
    .comic-info {
        padding: 0.5rem;
    }
    
    .comic-title {
        font-size: 1rem;
    }
}
.pagelist{ text-align:center; padding-top:20px; margin-right:20px;}
.pagelist li{display:inline-block;border:solid 1px #ccc;margin-right:2px;}
.pagelist li{*display:inline;}
.pagelist a{display:inline-block;padding:4px 12px;color:#666;background:#eee;text-decoration:none;}
.pagelist li a:hover{background:#ccc}
.pagelist li.on a{background:#ccc}