		#comic-home {
            font-family: 'Poppins', sans-serif;
           
            color: #e0e0e0;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

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

        .comic-card {
            
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .comic-card:hover {
            transform: scale(1.05) rotate(2deg);
            box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
        }

        .comic-card img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-bottom: 2px solid #ff6b6b;
        }

        .comic-info {
            padding: 15px;
            text-align: center;
        }

        .comic-info h3 {
            font-size: 1.2em;
            margin: 0 0 10px;
            color: #ffd700;
        }

        .comic-info p {
            font-size: 0.9em;
            color: #bbb;
            margin: 0;
        }

        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .pagination {
            text-align: center;
            margin-top: 40px;
        }

        .pagination a {
            color: #ff6b6b;
            margin: 0 10px;
            text-decoration: none;
            font-weight: bold;
            cursor: pointer;
        }

        .pagination a:hover {
            text-decoration: underline;
        }

        .pagination .active {
            color: #ffd700;
            font-weight: bold;
        }

        @media (max-width: 768px) {
            .comic-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }
        .chapter-list a.chapter-read {
    color: #888; /* Chữ màu xám */
}
.chapter-list a.chapter-read::after {
    content: '✔️';
    margin-left: 8px;
}

/* --- CSS cho Lịch sử đọc truyện --- */
#reading-history-wrapper {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 2em 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.history-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #343a40;
}

#clear-history-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s;
}

#clear-history-button:hover {
    background-color: #c82333;
}

#reading-history-list .history-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

#reading-history-list .history-item:last-child {
    border-bottom: none;
}

.history-comic-title {
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.history-comic-title:hover {
    text-decoration: underline;
}

.history-chapter-info {
    font-size: 0.9em;
    color: #6c757d;
}

.history-chapter-info a {
    color: #495057;
    font-weight: 500;
}

.history-loading, .history-empty {
    text-align: center;
    color: #6c757d;
    padding: 20px 0;
}