/* 51漫画阅读页面样式 - 13285168675.com */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --anime-purple: #9c88ff;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --text-muted: #95a5a6;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--anime-purple));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.anime-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

/* 头部样式 */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-area h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-link {
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.register-btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
}

/* 主内容 */
.main-content {
    margin-top: 80px;
}

.manga-hero {
    background: var(--gradient-secondary);
    color: var(--text-dark);
    padding: 3rem 0;
    text-align: center;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.manga-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* 精选漫画 */
.featured-manga {
    background: white;
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.featured-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.manga-spotlight {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
}

.spotlight-cover {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.spotlight-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.manga-author {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.manga-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--warning-color);
}

.score {
    font-weight: 600;
    color: var(--text-dark);
}

.readers {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.manga-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.2rem 0.8rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.manga-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.chapter-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.current-chapter {
    color: var(--primary-color);
    font-weight: 600;
}

.update-time {
    color: var(--text-muted);
}

.manga-actions {
    display: flex;
    gap: 1rem;
}

.read-now-btn, .bookmark-btn, .latest-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-now-btn {
    background: var(--gradient-primary);
    color: white;
}

.bookmark-btn {
    background: var(--gradient-secondary);
    color: white;
}

.latest-btn {
    background: var(--border-color);
    color: var(--text-dark);
}

.read-now-btn:hover, .bookmark-btn:hover, .latest-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.trending-manga {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trending-item {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    display: grid;
    grid-template-columns: 80px 1fr;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trending-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.trending-cover {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.trending-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trending-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.trending-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.chapter {
    color: var(--primary-color);
    font-weight: 600;
}

.rating {
    color: var(--warning-color);
}

.trending-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 漫画分类 */
.manga-categories {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-tab {
    padding: 0.8rem 2rem;
    border: none;
    background: white;
    color: var(--text-dark);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.category-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.category-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.manga-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.manga-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.manga-cover {
    position: relative;
}

.cover-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.chapter-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.read-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manga-card:hover .read-overlay {
    opacity: 1;
}

.read-button {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-button:hover {
    transform: scale(1.1);
}

.manga-details {
    padding: 1.5rem;
}

.manga-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.manga-author {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.manga-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.rating {
    color: var(--warning-color);
    font-weight: 600;
}

.chapters {
    color: var(--primary-color);
    font-weight: 600;
}

.status {
    color: var(--text-muted);
}

.manga-summary {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reader-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 阅读指南 */
.reading-guide {
    background: white;
    padding: 3rem 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.guide-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guide-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 读者评价 */
.reader-reviews {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

.reviews-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.review-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.reader-profile {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reader-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.reader-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.reader-level {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-rating {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.review-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    padding: 0.2rem 0.6rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 底部样式 */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #bdc3c7;
}

.copyright {
    color: #95a5a6;
    font-size: 0.8rem;
}

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

.footer-menu li {
    margin-bottom: 0.6rem;
}

.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent-color);
}

.contact-list p {
    margin-bottom: 0.6rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .manga-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .featured-showcase {
        grid-template-columns: 1fr;
    }
    
    .manga-spotlight {
        grid-template-columns: 1fr;
    }
    
    .manga-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}