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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Header Styles */
.manga-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.manga-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.manga-logo h1 a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

.manga-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.manga-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.manga-menu a:hover {
    opacity: 0.8;
}

/* Hero Section */
.manga-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.manga-hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.manga-hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Container */
.manga-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Styles */
.manga-section {
    margin-bottom: 60px;
}

.manga-section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

/* Grid Layouts */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.manga-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.manga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.manga-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.manga-card-content {
    padding: 20px;
}

.manga-card-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.manga-card-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.manga-card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

/* Category Badges */
.manga-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
}

/* Footer */
.manga-footer {
    background: #2d3748;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.manga-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.manga-footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
}

.manga-footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.manga-footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .manga-nav {
        flex-direction: column;
        gap: 20px;
    }

    .manga-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .manga-hero-content h2 {
        font-size: 32px;
    }

    .manga-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}
