#comic-detail {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comic-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comic-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.comic-info img {
    width: 220px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.comic-info img:hover {
    transform: scale(1.05);
}

.comic-meta h1 {
    margin: 0 0 15px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #e63946;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.comic-meta p {
    margin: 8px 0;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.chapter-list {
    list-style: none;
    padding: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.chapter-list.expanded {
    max-height: none;
}

.chapter-list li {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.2s ease;
}

.chapter-list li:last-child {
    border-bottom: none;
}

.chapter-list li a {
    color: #2b2b2b;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.chapter-list li a:hover {
    color: #e63946;
    transform: translateX(3px);
}

.chapter-list li a::before {
    content: '📖';
    font-size: 1rem;
    opacity: 0.7;
}

.toggle-chapters {
    display: block;
    margin: 15px auto;
    padding: 10px 20px;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.toggle-chapters:hover {
    background: #d32f3a;
}

@media (max-width: 768px) {
    .comic-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .comic-info img {
        width: 180px;
    }

    .comic-meta h1 {
        font-size: 1.8rem;
    }

    .chapter-list {
        grid-template-columns: 1fr;
        max-height: 150px;
    }

    .chapter-list li {
        padding: 8px 12px;
    }
}